Sophie

Sophie

distrib > Mageia > 2 > i586 > media > core-release-src > by-pkgid > 3e71dbc7c5cc3678be5230426a87698c > files > 2

libcacard-0.1.2-1.mga2.src.rpm

%define major 0
%define libname %mklibname cacard %major
%define develname %mklibname -d cacard

Name: libcacard
Version: 0.1.2
Release: %mkrel 1
Summary: Common Access Card (CAC) Emulation
Group: System/Libraries
License: LGPLv2+
URL: http://www.spice-space.org/download
Source0: http://www.spice-space.org/download/libcacard/libcacard-%{version}.tar.bz2
BuildRequires: pkgconfig(nss) >= 3.12.8

%description
Common Access Card (CAC) emulation library.

%package -n %libname
Summary: Common Access Card (CAC) Emulation
Group: System/Libraries
Suggests: %{name}-tools = %{version}-%{release}

%description -n %libname
Common Access Card (CAC) emulation library.

%package tools
Summary: CAC Emulation tools
Group: System/Libraries
Requires: %{libname} = %{version}-%{release}

%description tools
CAC emulation tools.

%package -n %develname
Summary: CAC Emulation devel
Group: Development/C
Requires: %{libname} = %{version}-%{release}
Provides: %{name}-devel = %{version}-%{release}

%description -n %develname
CAC emulation development files.

%prep
%setup -q

%build
%configure2_5x --disable-static
%make

%install
%makeinstall_std
find $RPM_BUILD_ROOT -name '*.la' | xargs rm -f

%files -n %libname
%defattr(-,root,root,-)
%doc COPYING README
%{_libdir}/libcacard.so.%{major}*

%files -n %develname
%defattr(-,root,root,-)
%{_includedir}/cacard
%{_libdir}/pkgconfig/libcacard.pc
%{_libdir}/libcacard.so

%files tools
%defattr(-,root,root,-)
%{_bindir}/vscclient


%changelog
* Wed Jul 20 2011 fwang <fwang> 0.1.2-1.mga2
+ Revision: 126920
- imported package libcacard