%define name libdigidoc %define version 1.93.0 %define release 1mdk %define realname digidoc %define major 1 %define libname %mklibname %{realname} %major %define libnamedev %mklibname %{realname} %major -d Summary: Generic library implementing the XAdES digital signature standard Name: %{name} Version: %{version} Release: %{release} License: GPL Group: System/Libraries URL: http://sourceforge.net/projects/gdigidoc/ Source: http://heanet.dl.sourceforge.net/sourceforge/gdigidoc/%{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-buildroot %description DigiDoc is a generic library implementing the XAdES digital signature standard. It allows to create, sign, verify, and modify digidoc XML containers. Support for doing hardware cryptographic signing operations is provided via PKCS#11 on all platforms and CSP on win32. %package -n %{libname} Summary: Generic library implementing the XAdES digital signature standard Group: Development/Other Provides: lib%{name} = %{version} %description -n %{libname} DigiDoc is a generic library implementing the XAdES digital signature standard. It allows to create, sign, verify, and modify digidoc XML containers. Support for doing hardware cryptographic signing operations is provided via PKCS#11 on all platforms and CSP on win32. %package -n %{libnamedev} Summary: Libdigidoc library headers and development libraries. Group: Development/Other Requires: %{libname} = %{version}-%{release} Provides: lib%{name}-devel = %{version} Provides: libdigidoc-devel %description -n %{libnamedev} DigiDoc is a generic library implementing the XAdES digital signature standard. It allows to create, sign, verify, and modify digidoc XML containers. Support for doing hardware cryptographic signing operations is provided via PKCS#11 on all platforms and CSP on win32. %prep rm -rf $RPM_BUILD_ROOT %setup -q %build %configure make %install %makeinstall_std %post -n %{libname} -p /sbin/ldconfig %postun -n %{libname} -p /sbin/ldconfig %clean rm -rf $RPM_BUILD_ROOT %files -n %{libname} %defattr(-,root,root) %{_libdir}/*.so.* %config(noreplace) %_sysconfdir/*.conf %_datadir/libdigidoc %files -n %{libnamedev} %defattr(-,root,root) %{_libdir}/*.so %{_libdir}/*.a %{_libdir}/*.la %_libdir/pkgconfig/*.pc %{_includedir}/* %{_bindir}/* %changelog * Tue Sep 21 2004 Lenny Cartier <lenny@mandrakesoft.com> 1.93.0-1mdk - from Veiko Sinivee <veiko.sinivee@solo.delfi.ee> : - updated to libdigidoc release 1.93 * Mon Jun 28 2004 Lenny Cartier <lenny@mandrakesoft.com> 1.90.0-1mdk - new