SPECS: pkcs11-helper.spec (NEW) - new

qboosh qboosh at pld-linux.org
Thu Jan 18 12:23:04 CET 2007


Author: qboosh                       Date: Thu Jan 18 11:23:04 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   pkcs11-helper.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/pkcs11-helper.spec
diff -u /dev/null SPECS/pkcs11-helper.spec:1.1
--- /dev/null	Thu Jan 18 12:23:04 2007
+++ SPECS/pkcs11-helper.spec	Thu Jan 18 12:22:59 2007
@@ -0,0 +1,94 @@
+# $Revision$, $Date$
+Summary:	Helper library for the use with smart cards and the PKCS#11 API
+Summary(pl):	Biblioteka pomocnicza do używania z kartami procesorowymi i API PKCS#11
+Name:		pkcs11-helper
+Version:	1.02
+Release:	1
+License:	GPL v2 or BSD
+Group:		Libraries
+Source0:	http://www.opensc-project.org/pkcs11-helper/%{name}-%{version}.tar.bz2
+# Source0-md5:	db8a23bee8fb31f0f3a23666f0a6e057
+URL:		http://www.opensc-project.org/
+BuildRequires:	doxygen
+BuildRequires:	openssl-devel >= 0.9.7a
+Requires:	openssl >= 0.9.7a
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+pkcs11-helper provides a simple API to access PKCS#11 tokens.
+
+%description -l pl
+pkcs11-helper udostępnia proste API do dostępu do tokenów PKCS#11.
+
+%package devel
+Summary:	Header files for pkcs11-helper library
+Summary(pl):	Pliki nagłówkowe biblioteki pkcs11-helper
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description devel
+Header files for pkcs11-helper library.
+
+%description devel -l pl
+Pliki nagłówkowe biblioteki pkcs11-helper.
+
+%package static
+Summary:	Static pkcs11-helper library
+Summary(pl):	Statyczna biblioteka pkcs11-helper
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description static
+Static pkcs11-helper library.
+
+%description static -l pl
+Statyczna biblioteka pkcs11-helper.
+
+%prep
+%setup -q
+
+%build
+%configure \
+	--enable-doc
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS COPYING COPYING.BSD ChangeLog README THANKS
+%attr(755,root,root) %{_libdir}/libpkcs11-helper.so.*.*.*
+%{_mandir}/man8/pkcs11-helper.8*
+
+%files devel
+%defattr(644,root,root,755)
+%doc doc/api/api.out/html/*
+%attr(755,root,root) %{_libdir}/libpkcs11-helper.so
+%{_libdir}/libpkcs11-helper.la
+%{_includedir}/pkcs11-helper-1.0
+%{_pkgconfigdir}/libpkcs11-helper-1.pc
+%{_aclocaldir}/pkcs11-helper-1.m4
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libpkcs11-helper.a
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2007/01/18 11:22:59  qboosh
+- new
================================================================


More information about the pld-cvs-commit mailing list