]> git.pld-linux.org Git - packages/xmlsec1.git/blobdiff - xmlsec1.spec
add missing ldconfig invocation to -gcrypt
[packages/xmlsec1.git] / xmlsec1.spec
index 456568e4e36431b1803e91a5ed7187bc19001904..72ff5b5efde9a8a579466fbcfa01df40d6b430f1 100644 (file)
@@ -1,28 +1,30 @@
 Summary:       XML Security Library
 Summary(pl.UTF-8):     Biblioteka bezpieczeństwa XML
 Name:          xmlsec1
-Version:       1.2.26
-Release:       3
+Version:       1.2.37
+Release:       1
 License:       MIT
 Group:         Libraries
 Source0:       https://www.aleksey.com/xmlsec/download/%{name}-%{version}.tar.gz
-# Source0-md5: 9c4aaf9ff615a73921b9e3bf4988d878
+# Source0-md5: 98dd3c884e2816c25c038a6e8af138fb
 Patch0:                %{name}-nss.patch
+Patch1:                missing-includes.patch
 URL:           https://www.aleksey.com/xmlsec/
 BuildRequires: autoconf >= 2.53
 BuildRequires: automake >= 1:1.7
 BuildRequires: gnutls-devel >= 2.8.0
 BuildRequires: help2man
 BuildRequires: libgcrypt-devel >= 1.4.0
-BuildRequires: libltdl-devel
+BuildRequires: libltdl-devel >= 2:2.0
 BuildRequires: libtool >= 2:2.0
-BuildRequires: libxml2-devel >= 1:2.7.4
+BuildRequires: libxml2-devel >= 1:2.8.0
 BuildRequires: libxslt-devel >= 1.0.20
 BuildRequires: nspr-devel >= 4.4.1
 BuildRequires: nss-devel >= 3.11.1
-BuildRequires: openssl-devel >= 1.0.0
+BuildRequires: openssl-devel >= 1.1.0
 BuildRequires: pkgconfig >= 1:0.9
-Requires:      libxml2 >= 1:2.7.4
+BuildRequires: rpm-build >= 4.6
+Requires:      libxml2 >= 1:2.8.0
 Requires:      libxslt >= 1.0.20
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -69,7 +71,7 @@ Summary:      Header files for XMLSec library
 Summary(pl.UTF-8):     Pliki nagłówkowe biblioteki XMLSec
 Group:         Development/Libraries
 Requires:      %{name} = %{version}-%{release}
-Requires:      libxml2-devel >= 1:2.7.4
+Requires:      libxml2-devel >= 1:2.8.0
 Requires:      libxslt-devel >= 1.0.20
 
 %description devel
@@ -95,9 +97,7 @@ Summary:      XMLSec library API documentation
 Summary(pl.UTF-8):     Dokumentacja API biblioteki XMLSec
 Group:         Documentation
 Requires:      gtk-doc-common
-%if "%{_rpmversion}" >= "5"
 BuildArch:     noarch
-%endif
 
 %description apidocs
 XMLSec library API documentation.
@@ -238,7 +238,7 @@ Summary:    OpenSSL Crypto library for XML Security Library
 Summary(pl.UTF-8):     Biblioteka kryptograficzna OpenSSL dla biblioteki XMLSec
 Group:         Libraries
 Requires:      %{name} = %{version}-%{release}
-Requires:      openssl >= 1.0.0
+Requires:      openssl >= 1.1.0
 
 %description openssl
 OpenSSL Crypto library for XML Security Library provides OpenSSL based
@@ -254,7 +254,7 @@ Summary(pl.UTF-8):  Pliki nagłówkowe API OpenSSL XMLSec
 Group:         Development/Libraries
 Requires:      %{name}-devel = %{version}-%{release}
 Requires:      %{name}-openssl = %{version}-%{release}
-Requires:      openssl-devel >= 1.0.0
+Requires:      openssl-devel >= 1.1.0
 
 %description openssl-devel
 Header files for developing XML Security applications with OpenSSL.
@@ -278,6 +278,7 @@ Statyczna biblioteka kryptograficzna OpenSSL dla biblioteki XMLSec.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %{__sed} -i -e '/\/lib\/[^ ]*_MARKER/ s,/lib/,/%{_lib}/,' configure.ac
 
@@ -307,6 +308,9 @@ rm -rf $RPM_BUILD_ROOT
 %post  -p /sbin/ldconfig
 %postun        -p /sbin/ldconfig
 
+%post  gcrypt -p /sbin/ldconfig
+%postun        gcrypt -p /sbin/ldconfig
+
 %post  gnutls -p /sbin/ldconfig
 %postun        gnutls -p /sbin/ldconfig
 
@@ -318,7 +322,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog Copyright README TODO
+%doc AUTHORS ChangeLog Copyright README.md TODO
 %attr(755,root,root) %{_bindir}/xmlsec1
 %attr(755,root,root) %{_libdir}/libxmlsec1.so.*.*.*
 %attr(755,root,root) %ghost %{_libdir}/libxmlsec1.so.1
@@ -334,7 +338,6 @@ rm -rf $RPM_BUILD_ROOT
 %dir %{_includedir}/xmlsec1
 %dir %{_includedir}/xmlsec1/xmlsec
 %{_includedir}/xmlsec1/xmlsec/*.h
-%{_includedir}/xmlsec1/xmlsec/private
 %{_pkgconfigdir}/xmlsec1.pc
 %{_aclocaldir}/xmlsec1.m4
 %{_mandir}/man1/xmlsec1-config.1*
This page took 0.182492 seconds and 4 git commands to generate.