diff --git a/.gitignore b/.gitignore index e69de29..91ae092 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/p11-kit-0.3.tar.gz diff --git a/p11-kit.spec b/p11-kit.spec new file mode 100644 index 0000000..8819a82 --- /dev/null +++ b/p11-kit.spec @@ -0,0 +1,68 @@ +Name: p11-kit +Version: 0.3 +Release: 1%{?dist} +Summary: Library for loading and sharing PKCS#11 modules + +License: BSD +URL: http://p11-glue.freedesktop.org/p11-kit.html +Source0: http://p11-glue.freedesktop.org/releases/p11-kit-%{version}.tar.gz + +%description +p11-kit provides a way to load and enumerate PKCS#11 modules, as well +as a standard configuration setup for installing PKCS#11 modules in +such a way that they're discoverable. + + +%package devel +Summary: Development files for %{name} +Requires: %{name} = %{version}-%{release} + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + + +%prep +%setup -q + + +%build +%configure --disable-static +make %{?_smp_mflags} V=1 + + +%install +make install DESTDIR=$RPM_BUILD_ROOT +mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/pkcs11/modules + +rm $RPM_BUILD_ROOT%{_libdir}/*.la + + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + + +%files +%doc AUTHORS COPYING NEWS README +%dir %{_sysconfdir}/pkcs11 +%dir %{_sysconfdir}/pkcs11/modules +%{_bindir}/p11-kit +%{_libdir}/libp11-kit.so.* +%{_libdir}/p11-kit-proxy.so + +%files devel +%{_includedir}/p11-kit-1/ +%{_libdir}/libp11-kit.so +%{_libdir}/pkgconfig/p11-kit-1.pc +%doc %{_datadir}/gtk-doc/ + + +%changelog +* Fri Jul 29 2011 Kalev Lember - 0.3-1 +- Update to 0.3 +- Upstream rewrote the ASL 2.0 bits, which makes the whole package + BSD-licensed + +* Tue Jul 12 2011 Kalev Lember - 0.2-1 +- Initial RPM release diff --git a/sources b/sources index e69de29..1633c5d 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +319e04da39139f3bccb2d910590e0d58 p11-kit-0.3.tar.gz