Name: libdigidoc Version: 2.7.0 Release: 1%{?dist} Summary: Library for handling digitally signed documents Group: System Environment/Libraries License: LGPLv2+ URL: http://code.google.com/p/esteid/ Source0: http://esteid.googlecode.com/files/%{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: cmake BuildRequires: libxml2-devel BuildRequires: openssl-devel BuildRequires: zlib-devel Requires: opensc%{?_isa} %description libDigiDoc is a library implementing a subset of the XAdES digital signature standard on top of Estonian specific .ddoc container format. It allows to create, sign, verify, and modify digidoc XML containers. %package devel Summary: Development files for %{name} Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: libxml2-devel Requires: openssl-devel Requires: zlib-devel %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %setup -q %build mkdir -p %{_target_platform} pushd %{_target_platform} %{cmake} .. popd make %{?_smp_mflags} -C %{_target_platform} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform} %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc AUTHORS COPYING ChangeLog NEWS README %config(noreplace) %{_sysconfdir}/digidoc.conf %{_bindir}/cdigidoc %{_libdir}/*.so.* %{_datadir}/libdigidoc/ %files devel %defattr(-,root,root,-) %{_includedir}/libdigidoc/ %{_libdir}/pkgconfig/lib*.pc %{_libdir}/*.so %changelog * Wed Oct 06 2010 Kalev Lember - 2.7.0-1 - Update to 2.7.0 * Mon Mar 29 2010 Kalev Lember - 2.6.0-0.4.svn2670 - Spec file clean up - Removed R: pkgconfig which is now automatically picked up by rpm - Cleaned up nightly build changelog entries * Sun Jun 14 2009 Kalev Lember - 2.6.0-0.1.svn701 - Initial RPM release.