add -devel-static package for static library 77/25177/1 accepted/tizen/common/20140812.171555 submit/tizen_common/20140812.153519 submit/tizen_common/20140812.170537 submit/tizen_ivi/20140818.000000 submit/tizen_ivi/20140818.000001 submit/tizen_ivi/20140818.000002 submit/tizen_ivi/20140820.000000 submit/tizen_ivi/20140822.000000 submit/tizen_ivi/20140825.000000
authorStephane Desneux <stephane.desneux@open.eurogiciel.org>
Wed, 30 Jul 2014 16:38:55 +0000 (18:38 +0200)
committerStephane Desneux <stephane.desneux@open.eurogiciel.org>
Wed, 30 Jul 2014 16:38:55 +0000 (18:38 +0200)
Change-Id: Ibf3deeb9867863856be3d89d378de1d8010a4cae
Bug-Tizen: TC-1424
Signed-off-by: Stephane Desneux <stephane.desneux@open.eurogiciel.org>
packaging/xmlsec1.spec

index 5eb762d..877304e 100644 (file)
@@ -1,3 +1,4 @@
+%define keepstatic 1
 Name:           xmlsec1
 Version:        1.2.19
 Release:        1
@@ -46,6 +47,18 @@ 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.
 
+%package devel-static
+Summary:        A library for Perl-compatible regular expressions
+Group:          System/Libraries
+Requires:       %{name}-devel = %{version}
+
+%description devel-static
+This C library allows to transform XML files into other XML files
+(or HTML, text, ...) using the standard XSLT stylesheet transformation
+mechanism. To use it you need to have a version of libxml2 >= 2.6.27
+installed.
+This package contains static versions of the libxmlsec1 library.
+
 %prep
 %setup -q
 cp %{SOURCE1001} .
@@ -53,7 +66,7 @@ cp %{SOURCE1001} .
 
 %build
 
-%configure --disable-static \
+%configure --enable-static \
     --enable-dynamic --disable-crypto-dl --disable-apps-crypto-dl --without-gnutls
 
 make %{?_smp_mflags}
@@ -105,3 +118,7 @@ make %{?_smp_mflags}
 %{_libdir}/xmlsec1Conf.sh
 %{_datadir}/aclocal/xmlsec1.m4
 
+%files devel-static
+%manifest %{name}.manifest
+%{_libdir}/*.a
+