3 %define develname nettle-devel
6 Summary: Nettle cryptographic library
9 License: LGPL-2.1+ and GPL-2.0+
10 Group: System/Libraries
11 URL: http://www.lysator.liu.se/~nisse/nettle/
12 Source0: %{name}-%{version}.tar.gz
13 BuildRequires: autoconf
14 BuildRequires: openssl-devel
15 BuildRequires: gmp-devel
18 Nettle is a cryptographic library that is designed to fit easily in more or less any context:
19 In crypto toolkits for object-oriented languages (C++, Python, Pike, ...),
20 in applications like LSH or GNUPG, or even in kernel space.
22 %package -n %develname
23 Group: Development/C++
24 Summary: Header files for compiling against Nettle library
25 Provides: %name-devel = %{version}-%{release}
27 %description -n %develname
28 This is the development package of nettle.
34 %configure --disable-openssl --enable-shared
38 make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
39 make install-shared DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
40 rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
41 mkdir -p %{buildroot}/usr/share/license
42 cp COPYING %{buildroot}/usr/share/license/%{name}
45 rm -rf $RPM_BUILD_ROOT
48 /usr/share/license/%{name}
49 %manifest nettle.manifest
52 %{_libdir}/libnettle.so.%{nettlemajor}*
53 %{_libdir}/libhogweed.so.%{hogweedmajor}*
56 %{_libdir}/libnettle.so
57 %{_libdir}/libhogweed.so
60 %post -p /sbin/ldconfig
62 %postun -p /sbin/ldconfig
65 * Wed Nov 27 2013 Keunsoon Lee <keunsoon.lee@samsung.com>
66 - [Release] Update changelog for nettle-2.1_2.3
67 - Add smack exec_label for several bin file
69 * Fri Oct 12 2012 Kwangtae Ko <kwangtae.ko@samsung.com>
70 - [Release] Update changelog for nettle-2.1_2.2
72 * Fri Oct 12 2012 Kwangtae Ko <kwangtae.ko@samsung.com>
73 - [Title] Add License Information
75 * Fri Sep 21 2012 Kwangtae Ko <kwangtae.ko@samsung.com>
76 - [Release] Update changelog for nettle-2.1_2.1
78 * Thu Aug 16 2012 Keunsoon Lee <keunsoon.lee@samsung.net>
79 - release nettle-2.1-2