%define keepstatic 1
Name: xmlsec1
Version: 1.2.19
-Release: 1
+Release: 0
License: MIT
Summary: Library providing support for "XML Signature" and "XML Encryption" standards
Url: http://www.aleksey.com/xmlsec/index.html
Group: System/Libraries
Source0: http://www.aleksey.com/xmlsec/download/xmlsec1-%{version}.tar.gz
-Source1001: xmlsec1.manifest
+Source1001: xmlsec1.manifest
+BuildRequires: fdupes
+BuildRequires: pkgconfig
BuildRequires: pkgconfig(libxml-2.0) >= 2.6.27
BuildRequires: pkgconfig(libxslt)
BuildRequires: pkgconfig(openssl)
%build
-%configure --enable-static \
- --enable-dynamic --disable-crypto-dl --disable-apps-crypto-dl --without-gnutls
+%reconfigure \
+ --enable-static \
+ --enable-dynamic \
+ --disable-crypto-dl \
+ --disable-apps-crypto-dl \
+ --without-gnutls
-make %{?_smp_mflags}
+%__make %{?_smp_mflags}
%install
%make_install
-
%remove_docs
+%fdupes %{buildroot}
+
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%postun gcrypt -p /sbin/ldconfig
-
%post openssl -p /sbin/ldconfig
%postun openssl -p /sbin/ldconfig
-
-
%files
%manifest %{name}.manifest
%license COPYING
%{_libdir}/libxmlsec1.so.*
%{_bindir}/xmlsec1
-
%files gcrypt
%manifest %{name}.manifest
%{_libdir}/libxmlsec1-gcrypt.so.*
%files devel-static
%manifest %{name}.manifest
%{_libdir}/*.a
-