summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-11-13 13:01:30 -0800
committerAnas Nashif <anas.nashif@intel.com>2013-09-23 03:31:24 -0400
commit529f94ccca0e754c47ae8125e8eb29bfb3265003 (patch)
tree716d0320b15df7394024ba0353b57e2863cbae49
parentd463d253f172fb1d8bbe429dc581bc749ebbde73 (diff)
downloadxmlsec1-529f94ccca0e754c47ae8125e8eb29bfb3265003.tar.gz
xmlsec1-529f94ccca0e754c47ae8125e8eb29bfb3265003.tar.bz2
xmlsec1-529f94ccca0e754c47ae8125e8eb29bfb3265003.zip
add packaging
-rw-r--r--packaging/xmlsec1.spec23
1 files changed, 18 insertions, 5 deletions
diff --git a/packaging/xmlsec1.spec b/packaging/xmlsec1.spec
index d4edfe06..1e29def2 100644
--- a/packaging/xmlsec1.spec
+++ b/packaging/xmlsec1.spec
@@ -16,12 +16,19 @@ This C library allows to transform XML files into other XML files
mechanism. To use it you need to have a version of libxml2 >= 2.6.27
installed. The xsltproc command is a command line interface to the XSLT engine
+%package gcrypt
+Summary: Gcrypt crypto plugin for XML Security Library
+Group: System/Libraries
+Requires: %{name} = %{version}
+
+%description gcrypt
+OpenSSL plugin for XML Security Library provides OpenSSL based crypto services
+for the xmlsec library.
+
%package openssl
-Summary: OpenSSL crypto plugin for XML Security Library
+Summary: Gcrypt crypto plugin for XML Security Library
Group: System/Libraries
Requires: %{name} = %{version}
-Requires(post): /sbin/ldconfig
-Requires(postun): /sbin/ldconfig
%description openssl
OpenSSL plugin for XML Security Library provides OpenSSL based crypto services
@@ -56,6 +63,9 @@ make %{?_smp_mflags}
%postun -p /sbin/ldconfig
+%post gcrypt -p /sbin/ldconfig
+
+%postun gcrypt -p /sbin/ldconfig
%post openssl -p /sbin/ldconfig
@@ -63,13 +73,16 @@ make %{?_smp_mflags}
%postun openssl -p /sbin/ldconfig
-
+%docs_package
%files
%doc Copyright
%{_libdir}/libxmlsec1.so.*
-/usr/bin/xmlsec1
+%{_bindir}/xmlsec1
+
+%files gcrypt
+%{_libdir}/libxmlsec1-gcrypt.so.*
%files openssl
%{_libdir}/libxmlsec1-openssl.so.*