From df51cc2bc32d162e7e8c50f05efdea4ba1ea9145 Mon Sep 17 00:00:00 2001 From: Ian Weller Date: Sat, 17 May 2008 22:46:10 +0000 Subject: [PATCH] importing nettle-1.15-5 in devel --- nettle.spec | 27 ++++++++++++++++++++++----- 1 file changed, 22 insertions(+), 5 deletions(-) diff --git a/nettle.spec b/nettle.spec index 4dcdd37..29fdec4 100644 --- a/nettle.spec +++ b/nettle.spec @@ -1,6 +1,6 @@ Name: nettle Version: 1.15 -Release: 4%{?dist} +Release: 5%{?dist} Summary: A low-level cryptographic library Group: Development/Libraries @@ -21,7 +21,11 @@ Requires(preun): /sbin/install-info Summary: Development headers for a low-level cryptographic library Group: Development/Libraries Requires: %{name} = %{version}-%{release} -Provides: %{name}-static = %{version}-%{release} + +%package static +Summary: Static libraries for a low-level cryptographic library +Group: Development/Libraries +Requires: %{name}-devel = %{version}-%{release} %description Nettle is a cryptographic library that is designed to fit easily in more @@ -33,7 +37,13 @@ kernel space. Nettle is a cryptographic library that is designed to fit easily in more or less any context: In crypto toolkits for object-oriented languages (C++, Python, Pike, ...), in applications like LSH or GNUPG, or even in -kernel space. This package contains kernel headers and a static library. +kernel space. This package contains kernel headers. + +%description static +Nettle is a cryptographic library that is designed to fit easily in more +or less any context: In crypto toolkits for object-oriented languages +(C++, Python, Pike, ...), in applications like LSH or GNUPG, or even in +kernel space. This package contains a static library. %prep @@ -77,11 +87,15 @@ rm -rf $RPM_BUILD_ROOT %files devel %defattr(-,root,root,-) -%doc descore.README nettle.html nettle.pdf +%doc descore.README nettle.html nettle.pdf COPYING %{_includedir}/nettle -%{_libdir}/libnettle.a %{_libdir}/libnettle.so +%files static +%defattr(-,root,root,-) +%doc COPYING +%{_libdir}/libnettle.a + %post /sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || : /sbin/ldconfig @@ -96,6 +110,9 @@ fi %changelog +* Thu Apr 10 2008 Ian Weller 1.15-5 +- Moved static lib to -static + * Mon Mar 24 2008 Ian Weller 1.15-4 - Added libraries and ldconfig