SPECS: libp11.spec (NEW) - new
qboosh
qboosh at pld-linux.org
Thu Oct 6 14:44:42 CEST 2005
Author: qboosh Date: Thu Oct 6 12:44:42 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new
---- Files affected:
SPECS:
libp11.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/libp11.spec
diff -u /dev/null SPECS/libp11.spec:1.1
--- /dev/null Thu Oct 6 14:44:42 2005
+++ SPECS/libp11.spec Thu Oct 6 14:44:36 2005
@@ -0,0 +1,99 @@
+# $Revision$, $Date$
+Summary: Layer on top of PKCS#11 API to make using PKCS#11 implementations easier
+Summary(pl): Warstwa powyżej API PKCS#11 ułatwiająca używanie implementacji PKCS#11
+Name: libp11
+Version: 0.1.3
+Release: 1
+License: LGPL v2.1+
+Group: Libraries
+Source0: http://www.opensc.org/files/%{name}-%{version}.tar.gz
+# Source0-md5: 84ced902a9d1d6467d5806a989671f3a
+URL: http://www.opensc.org/
+BuildRequires: libltdl-devel
+BuildRequires: openssl-devel
+BuildRequires: pkgconfig
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Libp11 is a library implementing a small layer on top of PKCS#11 API
+to make using PKCS#11 implementations easier.
+
+%description -l pl
+Libp11 to biblioteka implementująca niewielką warstwę na wierzchu API
+PKCS#11 mająca ułatwić używanie implementacji PKCS#11.
+
+%package devel
+Summary: Header files for libp11 library
+Summary(pl): Pliki nagłówkowe biblioteki libp11
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: libltdl-devel
+Requires: openssl-devel
+
+%description devel
+Header files for libp11 library.
+
+%description devel -l pl
+Pliki nagłówkowe biblioteki libp11.
+
+%package static
+Summary: Static libp11 library
+Summary(pl): Statyczna biblioteka libp11
+Group: Development/Libraries
+Requires: %{name}-devel = %{version}-%{release}
+
+%description static
+Static libp11 library.
+
+%description static -l pl
+Statyczna biblioteka libp11.
+
+%prep
+%setup -q
+
+%build
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -af examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc doc/{README,*.html,*.css}
+%attr(755,root,root) %{_libdir}/libp11.so.*.*.*
+
+%files devel
+%defattr(644,root,root,755)
+%doc doc/api/*
+%attr(755,root,root) %{_libdir}/libp11.so
+%{_libdir}/libp11.la
+%{_includedir}/libp11.h
+%{_pkgconfigdir}/libp11.pc
+%{_examplesdir}/%{name}-%{version}
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libp11.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 2005/10/06 12:44:36 qboosh
+- new
+
================================================================
More information about the pld-cvs-commit
mailing list