Summary: Low level cryptographic libraries
Name: nettle
Version: 3.3
Release: 1%{?dist}
License: LGPLv3+ or GPLv2+
URL: http://www.lysator.liu.se/~nisse/nettle/
Source0: https://ftp.gnu.org/gnu/nettle/%{name}-%{version}.tar.gz
%define sha1 nettle=bf2b4d3a41192ff6177936d7bc3bee4cebeb86c4
Group: Development/Libraries
Vendor: VMware, Inc.
Distribution: Photon
Provides: libhogweed.so.4()(64bit)
Provides: libhogweed.so.4(HOGWEED_4)(64bit)
Provides: libnettle.so.6()(64bit)
Provides: libnettle.so.6(NETTLE_6)(64bit)
Requires: gmp
%description
GNettle 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
Summary: Development libraries and header files for nettle
Requires: nettle
Provides: pkgconfig(hogweed)
Provides: pkgconfig(nettle)
%description devel
The package contains libraries and header files for
developing applications that use nettle.
%prep
%setup -q
%build
./configure \
--prefix=%{_prefix} \
--enable-shared \
--disable-static
make %{?_smp_mflags}
%install
make DESTDIR=%{buildroot} install
rm %{buildroot}%{_infodir}/*
%check
make %{?_smp_mflags} check
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/*.so.*
%{_bindir}/*
%files devel
%defattr(-,root,root)
%{_includedir}/nettle/*.h
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%changelog
* Sat Apr 15 2017 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 3.3-1
- Update to 3.3
* Mon Oct 04 2016 ChangLee <changLee@vmware.com> 3.2-3
- Modified %check
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 3.2-2
- GA - Bump release of all rpms
* Mon Feb 22 2016 XIaolin Li <xiaolinl@vmware.com> 3.2-1
- Updated to version 3.2
* Mon Oct 12 2015 Xiaolin Li <xiaolinl@vmware.com> 3.1.1-2
- Moving static lib files to devel package.
* Thu Jun 18 2015 Divya Thaluru <dthaluru@vmware.com> 3.1.1-1
- Initial build. First version