CBL-Mariner/SPECS/nettle/nettle.spec

91 lines
2.7 KiB
Plaintext

Summary: Low level cryptographic libraries
Name: nettle
Version: 3.7.3
Release: 2%{?dist}
License: LGPLv3+ or GPLv2+
URL: https://www.lysator.liu.se/~nisse/nettle/
Source0: https://ftp.gnu.org/gnu/nettle/%{name}-%{version}.tar.gz
Group: Development/Libraries
Vendor: Microsoft Corporation
Distribution: Mariner
Provides: libhogweed.so.6()(64bit)
Provides: libhogweed.so.6(HOGWEED_6)(64bit)
Provides: libnettle.so.8()(64bit)
Provides: libnettle.so.8(NETTLE_8)(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
%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)
%license COPYINGv2
%{_libdir}/*.so.*
%{_bindir}/*
%files devel
%defattr(-,root,root)
%{_includedir}/nettle/*.h
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%changelog
* Fri Apr 22 2022 Olivia Crain <oliviacrain@microsoft.com> - 3.7.3-2
- Remove explicit pkgconfig provides that are now automatically generated by RPM
* Tue Dec 21 2021 Max Brodeur-Urbas <maxbr@microsoft.com> - 3.7.3-1
- Updgrading to 3.7.3
* Mon Apr 12 2021 Rachel Menge <rachelmenge@microsoft.com> - 3.7.2-1
- Update to 3.7.2 for CVE-2021-20305
* Sat May 09 2020 Nick Samson <nisamson@microsoft.com> - 3.4.1-2
- Added %%license line automatically
* Mon Mar 16 2020 Henry Beberman <henry.beberman@microsoft.com> 3.4.1-1
- Update to 3.4.1. License verified.
* Tue Sep 03 2019 Mateusz Malisz <mamalisz@microsoft.com> 3.4-2
- Initial CBL-Mariner import from Photon (license: Apache2).
* Thu Sep 06 2018 Anish Swaminathan <anishs@vmware.com> 3.4-1
- Update version to 3.4
* 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