[packages/libdigidoc] - package doxygen docs, updated dependencies, versioned Obsoletes
qboosh
qboosh at pld-linux.org
Thu Feb 16 17:41:26 CET 2023
commit 75c8eaac0955e5d2dc946ab79d268f4089cfa2e5
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Thu Feb 16 17:43:01 2023 +0100
- package doxygen docs, updated dependencies, versioned Obsoletes
libdigidoc.spec | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
---
diff --git a/libdigidoc.spec b/libdigidoc.spec
index bd72000..91e0e1b 100644
--- a/libdigidoc.spec
+++ b/libdigidoc.spec
@@ -10,12 +10,16 @@ Source0: https://github.com/open-eid/libdigidoc/releases/download/v%{version}/%{
# Source0-md5: 41194d61e8922aff76336d59d5ca22ac
Patch0: openssl3.patch
URL: https://github.com/open-eid/libdigidoc
-BuildRequires: cmake >= 2.8
+BuildRequires: cmake >= 3.0
+BuildRequires: doxygen
BuildRequires: libxml2-devel >= 2
+# opensc-pkcs11.so
+BuildRequires: opensc
BuildRequires: openssl-devel
BuildRequires: pkgconfig
BuildRequires: zlib-devel
Requires: ca-certificates
+Requires: opensc
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -37,7 +41,7 @@ Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: openssl-devel
Requires: libxml2-devel >= 2
-Obsoletes: libdigidoc-static
+Obsoletes: libdigidoc-static < 2.7.0
%description devel
Header files for libdigidoc library.
@@ -75,6 +79,10 @@ rm -rf $RPM_BUILD_ROOT
# certs come from ca-certificates package
%{__rm} $RPM_BUILD_ROOT%{_datadir}/%{name}/*.crt
+# packaged as %doc
+%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/libdigidoc/html
+%{__rm} $RPM_BUILD_ROOT%{_docdir}/libdigidoc/{SK-*-GUIDE.*,doxygen-license.txt,mit-license.txt,openssl-license.txt,sample_files_CDD.zip,zlib-license.txt}
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -98,4 +106,4 @@ rm -rf $RPM_BUILD_ROOT
%files apidocs
%defattr(644,root,root,755)
-%doc doc/{SK-CDD-PRG-GUIDE.pdf,SK-COM-PRG-GUIDE.pdf,sample_files_CDD.zip}
+%doc doc/{SK-CDD-PRG-GUIDE.pdf,SK-COM-PRG-GUIDE.pdf,sample_files_CDD.zip} build/doc/html
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libdigidoc.git/commitdiff/75c8eaac0955e5d2dc946ab79d268f4089cfa2e5
More information about the pld-cvs-commit
mailing list