Name: libdigidocpp Version: 3.9.0.1237 Release: 1%{?dist} Summary: Library for creating and validating BDoc and DDoc containers License: LGPLv2+ URL: http://www.ria.ee Source0: https://installer.id.ee/media/sources/%{name}-%{version}.tar.gz BuildRequires: cmake BuildRequires: libdigidoc-devel BuildRequires: openssl-devel BuildRequires: xml-security-c-devel BuildRequires: xsd # Dynamically loaded libraries Requires: opensc%{?_isa} # Obsolete removed subpackages Obsoletes: perl-digidoc < 3.8.0 Obsoletes: php-digidoc < 3.8.0 Obsoletes: python-digidoc < 3.8.0 %description libdigidocpp is a C++ library for reading, validating, and creating BDoc and DDoc containers. These file formats are widespread in Estonia where they are used for storing legally binding digital signatures. %package devel Summary: Development files for %{name} Requires: %{name} = %{version}-%{release} Requires: libdigidoc-devel Requires: openssl-devel Requires: xml-security-c-devel Requires: xsd %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %package doc Summary: Documentation for %{name} Requires: %{name} = %{version}-%{release} %description doc The %{name}-doc package contains documentation provided by upstream. %prep %setup -q -n %{name} %build %{cmake} . \ -DCMAKE_INSTALL_SYSCONFDIR=/etc \ -DSWIG_EXECUTABLE=SWIG_EXECUTABLE-NOTFOUND make %{?_smp_mflags} %install make install DESTDIR=%{buildroot} # Those certs come from another package rm -rf %{buildroot}%{_datadir}/esteid/certs %check %clean rm -rf %{buildroot} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %doc AUTHORS COPYING README RELEASE-NOTES.txt LICENSE.LGPL %{_libdir}/*.so.* %dir %{_sysconfdir}/digidocpp %config(noreplace) %{_sysconfdir}/digidocpp/digidocpp.conf %{_sysconfdir}/digidocpp/37242.p12 %{_sysconfdir}/digidocpp/schema/ %{_bindir}/digidoc-* %{_mandir}/man1/digidoc-tool.1.* %files devel %doc AUTHORS COPYING README RELEASE-NOTES.txt LICENSE.LGPL %{_includedir}/digidocpp/ %{_libdir}/pkgconfig/lib*.pc %{_libdir}/*.so %files doc %doc AUTHORS COPYING README RELEASE-NOTES.txt LICENSE.LGPL doc/* %changelog * Thu Jul 3 2014 Mihkel Vain - 3.9.0.1237-1 - New upstream release - Create a separate sub-package for docs * Sun May 18 2014 Mihkel Vain - 3.8.0.1208-3 - Fix typo: ppython-digidoc -> python-digidoc * Wed Apr 30 2014 Mihkel Vain - 3.8.0.1208-2 - Use cmake macro - Obsolete old subpackages * Thu Apr 24 2014 Mihkel Vain - 3.8.0.1208-1 - First package based on new source code from RIA * Sat Aug 03 2013 Fedora Release Engineering - 0.3.0-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Jul 17 2013 Petr Pisar - 0.3.0-19 - Perl 5.18 rebuild * Fri Mar 22 2013 Remi Collet - 0.3.0-18 - rebuild for http://fedoraproject.org/wiki/Features/Php55 * Thu Feb 14 2013 Fedora Release Engineering - 0.3.0-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Thu Jul 19 2012 Fedora Release Engineering - 0.3.0-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Thu Jun 07 2012 Petr Pisar - 0.3.0-15 - Perl 5.16 rebuild * Tue Feb 28 2012 Fedora Release Engineering - 0.3.0-14 - Rebuilt for c++ ABI breakage * Thu Jan 19 2012 Remi Collet - 0.3.0-13 - build against php 5.4.0 - add %%check for php extension - %%config flag for digidoc.ini * Thu Jan 19 2012 Ralf Corsépius - 0.3.0-12 - Add libdigidocpp-0.3.0-gcc47.patch (Fix mass rebuild FTBFS). * Fri Jan 13 2012 Fedora Release Engineering - 0.3.0-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Fri Jul 22 2011 Petr Pisar - 0.3.0-10 - RPM 4.9 dependency filtering added * Mon Jun 20 2011 Petr Sabata - 0.3.0-9 - Perl mass rebuild - Removing now obsolete Buildroot and defattr * Fri Apr 15 2011 Kalev Lember - 0.3.0-8 - Rebuilt for lib11 0.2.8 soname bump * Wed Mar 16 2011 Antti Andreimann 0.3.0-7 - Rebuilt with xml-security-c 1.6.0 * Thu Mar 10 2011 Kalev Lember - 0.3.0-6 - Cleaned up php conditionals not needed in current Fedora releases * Thu Mar 10 2011 Kalev Lember - 0.3.0-5 - Rebuilt with xerces-c 3.1 * Mon Feb 07 2011 Fedora Release Engineering - 0.3.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed Oct 20 2010 Kalev Lember - 0.3.0-3 - Updated descriptions for bindings subpackages, thanks to Sander Lepik. * Tue Oct 12 2010 Kalev Lember - 0.3.0-2 - Remove bundled minizip in prep * Mon Oct 11 2010 Kalev Lember - 0.3.0-1 - Update to 0.3.0 - Renamed binding subpackages to use -digidoc naming scheme - Filter shared object provides in private directories - Added missing defattr lines - Marked digidocpp.conf as noreplace * Thu Jul 01 2010 Antti Andreimann - 0.2.0-0.7.svn2811 - Added language bindings for Python, Perl and PHP * Mon Mar 29 2010 Kalev Lember - 0.2.0-0.6.svn2681 - Spec file clean up - Updated summary - Removed BR: pkcs11-helper-devel - Removed libdigidoc++ obsoletes/provides - Removed R: pkgconfig which is now automatically picked up by rpm - Added AUTHORS and COPYING docs - Cleaned up nightly build changelog entries * Sat Feb 13 2010 Kalev Lember - 0.2.0-0.4.svn2528 - rebuilt with new xerces-c 3.0 (F13) * Thu Jan 21 2010 Kalev Lember - 0.2.0-0.2.svn2454 - rebuilt with new libp11 * Sun Jun 14 2009 Kalev Lember - 0.0.12-0.1.svn712 - Initial RPM release.