From 0f34fa2c109130e3a87b9359b3e266d5242c4040 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 05:09:30 +0100 Subject: [PATCH] automatic version update by autodist [release 2.7.1-1mamba;Thu May 30 2013] --- README.md | 2 ++ libnettle.spec | 97 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 99 insertions(+) create mode 100644 libnettle.spec diff --git a/README.md b/README.md index dd1ae4f..f05270e 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libnettle +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. + diff --git a/libnettle.spec b/libnettle.spec new file mode 100644 index 0000000..a8585e0 --- /dev/null +++ b/libnettle.spec @@ -0,0 +1,97 @@ +Name: libnettle +Version: 2.7.1 +Release: 1mamba +Summary: A cryptographic library that is designed to fit easily in more or less any context +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.lysator.liu.se/~nisse/nettle/ +Source: http://www.lysator.liu.se/~nisse/archive/nettle-%{version}.tar.gz +License: LGPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgmp-devel +BuildRequires: pkg-config +## AUTOBUILDREQ-END +Requires(post): %{__install_info} +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +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. + +%package devel +Group: Development/Libraries +Summary: Static libraries and headers for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description devel +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 static libraries and header files need for development. + +%prep +%setup -q -n nettle-%{version} + +%build +%configure --enable-shared +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%post devel +## modify the infopage name as required +%install_info nettle.info +exit 0 + +%preun devel +## modify the infopage name as required +%uninstall_info nettle.info +exit 0 + +%files +%defattr(-,root,root) +%{_bindir}/nettle-hash +%{_bindir}/nettle-lfib-stream +%{_bindir}/pkcs1-conv +%{_bindir}/sexp-conv +%{_libdir}/libhogweed.so.* +%{_libdir}/libnettle.so.* +%doc AUTHORS COPYING.LIB + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/nettle +%{_includedir}/nettle/* +%{_libdir}/libhogweed.a +%{_libdir}/libnettle.a +%{_libdir}/libhogweed.so +%{_libdir}/libnettle.so +%{_infodir}/nettle.info.* +%{_libdir}/pkgconfig/hogweed.pc +%{_libdir}/pkgconfig/nettle.pc +%doc ChangeLog NEWS README TODO + +%changelog +* Thu May 30 2013 Automatic Build System 2.7.1-1mamba +- automatic version update by autodist + +* Fri Apr 26 2013 Automatic Build System 2.7-1mamba +- automatic version update by autodist + +* Sun Jan 20 2013 Automatic Build System 2.6-1mamba +- automatic version update by autodist + +* Thu Jul 19 2012 Silvan Calarco 2.5-1mamba +- update to 2.5 + +* Sun Jul 24 2011 Silvan Calarco 2.2-1mamba +- package created by autospec