From 839015fd0f40e78c6afc13daebb093a22d9d5d61 Mon Sep 17 00:00:00 2001 From: Stephane Desneux Date: Wed, 30 Jul 2014 18:38:55 +0200 Subject: add -devel-static package for static library Change-Id: Ibf3deeb9867863856be3d89d378de1d8010a4cae Bug-Tizen: TC-1424 Signed-off-by: Stephane Desneux --- packaging/xmlsec1.spec | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'packaging/xmlsec1.spec') diff --git a/packaging/xmlsec1.spec b/packaging/xmlsec1.spec index 5eb762da..877304ef 100644 --- a/packaging/xmlsec1.spec +++ b/packaging/xmlsec1.spec @@ -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 + -- cgit v1.2.3