From 2a8131512517a3654e9fa7c06ea3c89bd2fa4d54 Mon Sep 17 00:00:00 2001 From: Jerry James Date: Apr 05 2017 18:51:10 +0000 Subject: Add a -static subpackage for use in Macaulay2. --- diff --git a/givaro.spec b/givaro.spec index e2dfe33..b712208 100644 --- a/givaro.spec +++ b/givaro.spec @@ -1,6 +1,6 @@ Name: givaro Version: 4.0.2 -Release: 4%{?dist} +Release: 5%{?dist} Summary: C++ library for arithmetic and algebraic computations License: CeCILL-B @@ -39,6 +39,15 @@ Provides: bundled(jquery) The libraries and header files for using %{name} for development. +%package static +Summary: Static library for %{name} +Requires: %{name}-devel%{?_isa} = %{version}-%{release} + + +%description static +A static library for %{name}. + + %prep %setup -q %patch0 @@ -60,7 +69,7 @@ export CXXFLAGS="%{optflags} -ffloat-store" %global optflags %optflags -ffp-contract=off %endif -%configure --disable-static --enable-doc --docdir=%{_docdir}/%{name}-devel +%configure --enable-doc --docdir=%{_docdir}/%{name}-devel chmod a+x givaro-config # Get rid of undesirable hardcoded rpaths, and workaround libtool reordering @@ -116,7 +125,14 @@ make check %{_libdir}/pkgconfig/%{name}.pc +%files static +%{_libdir}/lib%{name}.a + + %changelog +* Fri Mar 10 2017 Jerry James - 4.0.2-5 +- Add a -static subpackage for use in Macaulay2 + * Fri Feb 10 2017 Fedora Release Engineering - 4.0.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild