[libdigidocpp] New upstream release

mihkel mihkel at fedoraproject.org
Fri Jul 4 10:50:11 UTC 2014


commit 31f8145a826922f4f382f76c024745cb3703caea
Author: Mihkel Vain <mihkel at fedoraproject.org>
Date:   Fri Jul 4 13:50:21 2014 +0300

    New upstream release
    
    - Create a separate sub-package for docs

 .gitignore        |    1 +
 libdigidocpp.spec |   31 +++++++++++++++++++++++--------
 sources           |    2 +-
 3 files changed, 25 insertions(+), 9 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 37a0007..cb51bf9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 /libdigidocpp-0.3.0.tar.bz2
 /libdigidocpp-3.8.0.1208.tar.gz
+/libdigidocpp-3.9.0.1237.tar.gz
diff --git a/libdigidocpp.spec b/libdigidocpp.spec
index 4f2e44b..c583758 100644
--- a/libdigidocpp.spec
+++ b/libdigidocpp.spec
@@ -1,6 +1,6 @@
 Name:           libdigidocpp
-Version:        3.8.0.1208
-Release:        4%{?dist}
+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
@@ -18,8 +18,8 @@ Requires:       opensc%{?_isa}
 
 # Obsolete removed subpackages
 Obsoletes:        perl-digidoc < 3.8.0
-Obsoletes:        php-digidoc  < 3.8.0
-Obsoletes:        python-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
@@ -39,8 +39,15 @@ Requires:       xsd
 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
+%setup -q -n %{name}
 
 %build
 %{cmake} . \
@@ -52,7 +59,6 @@ make %{?_smp_mflags}
 %install
 make install DESTDIR=%{buildroot}
 
-
 # Those certs come from another package
 rm -rf %{buildroot}%{_datadir}/esteid/certs
 
@@ -66,22 +72,31 @@ rm -rf %{buildroot}
 %postun -p /sbin/ldconfig
 
 %files
-%doc AUTHORS COPYING README RELEASE-NOTES.txt doc/*
+%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 doc/*
+%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 <mihkel at fedoraproject.org> - 3.9.0.1237-1
+- New upstream release
+- Create a separate sub-package for docs
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.8.0.1208-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 
diff --git a/sources b/sources
index 2d9e5bb..2548e09 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-ce0cb19c4afc74ad08f2f578aaed8a73  libdigidocpp-3.8.0.1208.tar.gz
+a6558eb5df8211ac5757104c6c5f24d7  libdigidocpp-3.9.0.1237.tar.gz


More information about the scm-commits mailing list