summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKévin THIERRY <kevin.thierry@open.eurogiciel.org>2014-09-26 12:14:00 (GMT)
committerKévin THIERRY <kevin.thierry@open.eurogiciel.org>2014-09-26 12:14:00 (GMT)
commitfe8ea3dba5971ab3f47090ba52d7f824c3d23545 (patch)
tree204c7e6ac9e6839a03d13accce64301c20cd06b0
parent839015fd0f40e78c6afc13daebb093a22d9d5d61 (diff)
downloadxmlsec1-tizen_3.0.m14.3_ivi_release.zip
xmlsec1-tizen_3.0.m14.3_ivi_release.tar.gz
xmlsec1-tizen_3.0.m14.3_ivi_release.tar.bz2
Change-Id: I2fe7a87c20d45b23a967049508d089e0f39e1e98 Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
-rw-r--r--packaging/xmlsec1.spec24
1 files changed, 13 insertions, 11 deletions
diff --git a/packaging/xmlsec1.spec b/packaging/xmlsec1.spec
index 877304e..e4a80cf 100644
--- a/packaging/xmlsec1.spec
+++ b/packaging/xmlsec1.spec
@@ -1,13 +1,15 @@
%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)
@@ -66,17 +68,22 @@ cp %{SOURCE1001} .
%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
@@ -85,13 +92,10 @@ make %{?_smp_mflags}
%postun gcrypt -p /sbin/ldconfig
-
%post openssl -p /sbin/ldconfig
%postun openssl -p /sbin/ldconfig
-
-
%files
%manifest %{name}.manifest
%license COPYING
@@ -99,7 +103,6 @@ make %{?_smp_mflags}
%{_libdir}/libxmlsec1.so.*
%{_bindir}/xmlsec1
-
%files gcrypt
%manifest %{name}.manifest
%{_libdir}/libxmlsec1-gcrypt.so.*
@@ -121,4 +124,3 @@ make %{?_smp_mflags}
%files devel-static
%manifest %{name}.manifest
%{_libdir}/*.a
-