importing nettle-1.15-5 in devel

This commit is contained in:
Ian Weller 2008-05-17 22:46:10 +00:00
parent 11d1707de9
commit df51cc2bc3

View File

@ -1,6 +1,6 @@
Name: nettle Name: nettle
Version: 1.15 Version: 1.15
Release: 4%{?dist} Release: 5%{?dist}
Summary: A low-level cryptographic library Summary: A low-level cryptographic library
Group: Development/Libraries Group: Development/Libraries
@ -21,7 +21,11 @@ Requires(preun): /sbin/install-info
Summary: Development headers for a low-level cryptographic library Summary: Development headers for a low-level cryptographic library
Group: Development/Libraries Group: Development/Libraries
Requires: %{name} = %{version}-%{release} 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 %description
Nettle is a cryptographic library that is designed to fit easily in more 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 Nettle is a cryptographic library that is designed to fit easily in more
or less any context: In crypto toolkits for object-oriented languages or less any context: In crypto toolkits for object-oriented languages
(C++, Python, Pike, ...), in applications like LSH or GNUPG, or even in (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 %prep
@ -77,11 +87,15 @@ rm -rf $RPM_BUILD_ROOT
%files devel %files devel
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc descore.README nettle.html nettle.pdf %doc descore.README nettle.html nettle.pdf COPYING
%{_includedir}/nettle %{_includedir}/nettle
%{_libdir}/libnettle.a
%{_libdir}/libnettle.so %{_libdir}/libnettle.so
%files static
%defattr(-,root,root,-)
%doc COPYING
%{_libdir}/libnettle.a
%post %post
/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || : /sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || :
/sbin/ldconfig /sbin/ldconfig
@ -96,6 +110,9 @@ fi
%changelog %changelog
* Thu Apr 10 2008 Ian Weller <ianweller@gmail.com> 1.15-5
- Moved static lib to -static
* Mon Mar 24 2008 Ian Weller <ianweller@gmail.com> 1.15-4 * Mon Mar 24 2008 Ian Weller <ianweller@gmail.com> 1.15-4
- Added libraries and ldconfig - Added libraries and ldconfig