Fix build requirements for RHEL 6 and Fedora 17

epel9
Simone Caronni 12 years ago
parent ee6c659881
commit 253e6a3441

@ -1,6 +1,6 @@
Name: libtomcrypt
Version: 1.17
Release: 17%{?dist}
Release: 18%{?dist}
Summary: A comprehensive, portable cryptographic toolkit
License: Public Domain
@ -9,9 +9,18 @@ Source0: http://www.libtom.org/files/crypt-%{version}.tar.bz2
Patch0: %{name}-makefile.patch
Patch1: %{name}-pkgconfig.patch
Requires: libtommath >= 0.41
BuildRequires: ghostscript
BuildRequires: libtommath-devel >= 0.41
BuildRequires: libtool
%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
BuildRequires: tex(dvips)
BuildRequires: tex(latex)
%else
BuildRequires: tetex-dvips
BuildRequires: tetex-latex
%endif
Requires: libtommath >= 0.41
%description
A comprehensive, modular and portable cryptographic toolkit that provides
@ -36,8 +45,6 @@ developing applications that use %{name}.
Summary: Documentation files for %{name}
Requires: %{name} = %{version}-%{release}
BuildRequires: ghostscript
BuildRequires: tex(dvips), tex(latex)
%description doc
The %{name}-doc package contains documentation for use with %{name}.
@ -95,6 +102,9 @@ find %{buildroot} -name 'libtomcrypt_prof*' -exec rm -f {} ';'
%doc LICENSE doc/crypt.pdf
%changelog
* Thu Jun 06 2013 Simone Caronni <negativo17@gmail.com> - 1.17-18
- Fix build requirements for RHEL 6 and Fedora 17.
* Tue Jun 04 2013 David Woodhouse <David.Woodhouse@intel.com> - 1.17-17
- Fix tex/latex BuildRequires

Loading…
Cancel
Save