4 Summary: Cryptographic Library
5 License: LGPL-2.1+ and GPL-2.0+
6 Group: Security/Crypto Libraries
7 Source0: https://ftp.gnu.org/gnu/nettle/nettle-%{version}.tar.gz
9 Source1001: nettle.manifest
10 BuildRequires: gmp-devel
11 BuildRequires: pkgconfig
14 Nettle is a cryptographic library that is designed to fit easily in more or
15 less any context: In crypto toolkits for object-oriented languages (C++,
16 Python, Pike, ...), in applications like LSH or GNUPG, or even in kernel space.
18 %package -n libhogweed
20 Summary: Cryptographic Library for Public Key Algorithms
22 Group: Security/Crypto Libraries
24 %description -n libhogweed
25 Nettle is a cryptographic library that is designed to fit easily in more or
26 less any context: In crypto toolkits for object-oriented languages (C++,
27 Python, Pike, ...), in applications like LSH or GNUPG, or even in kernel space.
29 The libhogweed library contains public key algorithms to use with libnettle.
31 %package -n libnettle-devel
32 Summary: Cryptographic Library
34 Group: Development/Libraries
37 Requires: libhogweed = %{version}
38 Requires: libnettle = %{version}
40 %description -n libnettle-devel
41 Nettle is a cryptographic library that is designed to fit easily in more or
42 less any context: In crypto toolkits for object-oriented languages (C++,
43 Python, Pike, ...), in applications like LSH or GNUPG, or even in kernel space.
47 Summary: Cryptographic Tools
48 License: LGPL-2.1+ and GPL-2.0+
49 Group: Security/Crypto Libraries
51 %description -n libnettle
52 Nettle is a cryptographic library that is designed to fit easily in more or
53 less any context: In crypto toolkits for object-oriented languages (C++,
54 Python, Pike, ...), in applications like LSH or GNUPG, or even in kernel space.
56 This package contains a few command-line tools to perform cryptographic
57 operations using the nettle library.
67 #configure --disable-static
68 %configure --enable-shared
78 %post -n libnettle -p /sbin/ldconfig
80 %postun -n libnettle -p /sbin/ldconfig
82 %post -n libhogweed -p /sbin/ldconfig
84 %postun -n libhogweed -p /sbin/ldconfig
88 %manifest %{name}.manifest
91 %{_libdir}/libnettle.so.*
94 %manifest %{name}.manifest
96 %{_libdir}/libhogweed.so.*
98 %files -n libnettle-devel
99 %manifest %{name}.manifest
100 %defattr(-,root,root)
101 %{_includedir}/nettle
102 %{_libdir}/libnettle.so
103 %{_libdir}/libhogweed.so
104 %{_libdir}/pkgconfig/hogweed.pc
105 %{_libdir}/pkgconfig/nettle.pc
108 %manifest %{name}.manifest
109 %defattr(-,root,root)
110 %{_bindir}/nettle-lfib-stream
111 %{_bindir}/pkcs1-conv
113 %{_bindir}/nettle-hash