|
|
|
@ -1,17 +1,11 @@
|
|
|
|
|
# Post rc3 from the 1.18 release branch:
|
|
|
|
|
# https://github.com/libtom/libtomcrypt/tree/release/1.18.0
|
|
|
|
|
%global commit0 0ceb1c1213afea1ef96f23d9791a245fe8f4e04e
|
|
|
|
|
%global date 20170915
|
|
|
|
|
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
|
|
|
|
|
|
|
|
|
|
Name: libtomcrypt
|
|
|
|
|
Version: 1.18
|
|
|
|
|
Release: 2%{?shortcommit0:.%{date}git%{shortcommit0}}%{?dist}
|
|
|
|
|
Version: 1.18.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: A comprehensive, portable cryptographic toolkit
|
|
|
|
|
License: Public Domain or WTFPL
|
|
|
|
|
URL: http://www.libtom.net/
|
|
|
|
|
|
|
|
|
|
Source0: https://github.com/libtom/%{name}/archive/%{commit0}/%{name}-%{commit0}.tar.gz#/%{name}-%{shortcommit0}.tar.gz
|
|
|
|
|
Source0: https://github.com/libtom/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
BuildRequires: ghostscript
|
|
|
|
|
BuildRequires: libtommath-devel >= 1.0
|
|
|
|
@ -53,7 +47,7 @@ Obsoletes: %{name}-doc < 1.17-19
|
|
|
|
|
The %{name}-doc package contains documentation for use with %{name}.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -qn %{name}-%{commit0}
|
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
export PREFIX="%{_prefix}"
|
|
|
|
@ -99,6 +93,9 @@ sed -i \
|
|
|
|
|
%doc doc/crypt.pdf
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Oct 23 2017 Simone Caronni <negativo17@gmail.com> - 1.18.0-1
|
|
|
|
|
- Update to final 1.18.0.
|
|
|
|
|
|
|
|
|
|
* Sun Sep 17 2017 Simone Caronni <negativo17@gmail.com> - 1.18-2.20170915git0ceb1c1
|
|
|
|
|
- Update to latest snapshot post rc3.
|
|
|
|
|
- Remove RHEL 6 support.
|
|
|
|
|