Update to 0.42.0, some cleanup

epel9
Simone Caronni 12 years ago
parent d93c54432c
commit fe1e6ed346

1
.gitignore vendored

@ -1 +1,2 @@
ltm-0.41.tar.bz2 ltm-0.41.tar.bz2
/ltm-0.42.0.tar.bz2

@ -1,12 +1,12 @@
Name: libtommath Name: libtommath
Version: 0.41 Version: 0.42.0
Release: 17%{?dist} Release: 1%{?dist}
Summary: A portable number theoretic multiple-precision integer library Summary: A portable number theoretic multiple-precision integer library
License: Public Domain License: Public Domain
URL: http://www.libtom.org/?page=features&newsitems=5&whatfile=ltm URL: http://www.libtom.org/?page=features&newsitems=5&whatfile=ltm
Source0: http://www.libtom.org/files/ltm-%{version}.tar.bz2 Source0: http://www.libtom.org/files/ltm-%{version}.tar.bz2
Patch0: libtommath-makefile.patch Patch0: %{name}-makefile.patch
BuildRequires: ghostscript BuildRequires: ghostscript
BuildRequires: libtool BuildRequires: libtool
@ -17,7 +17,7 @@ BuildRequires: libtiff
BuildRequires: libtiff-tools BuildRequires: libtiff-tools
%endif %endif
%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7 %if 0%{?fedora} || 0%{?rhel} >= 7
BuildRequires: tex(dvips) BuildRequires: tex(dvips)
BuildRequires: tex(latex) BuildRequires: tex(latex)
%else %else
@ -33,7 +33,7 @@ without configuration.
%package devel %package devel
Summary: Development files for %{name} Summary: Development files for %{name}
Requires: %{name} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel %description devel
The %{name}-devel package contains libraries and header files for developing The %{name}-devel package contains libraries and header files for developing
@ -41,7 +41,9 @@ applications that use %{name}.
%package doc %package doc
Summary: Documentation files for %{name} Summary: Documentation files for %{name}
Requires: %{name} = %{version}-%{release} BuildArch: noarch
Provides: %{name}-doc = %{version}-%{release}
Obsoletes: %{name}-doc < 0.42-1
%description doc %description doc
The %{name}-doc package contains PDF documentation for using %{name}. The %{name}-doc package contains PDF documentation for using %{name}.
@ -57,14 +59,14 @@ make %{?_smp_mflags} LIBPATH=%{_libdir} -f makefile.shared
make %{?_smp_mflags} -f makefile poster manual docs make %{?_smp_mflags} -f makefile poster manual docs
%install %install
# There is no configure script that ships with libtommath but it does # There is no configure script that ships with libtommath but it does understand
# understand DESTDIR and it installs via that and the # DESTDIR and it installs via that and the INSTALL_USER and INSTALL_GROUP
# INSTALL_USER and INSTALL_GROUP environment variables. # environment variables.
export INSTALL_USER=$(id -un) export INSTALL_USER=$(id -un)
export INSTALL_GROUP=$(id -gn) export INSTALL_GROUP=$(id -gn)
make install INCPATH=%{_includedir}/tommath DESTDIR=%{buildroot} LIBPATH=%{_libdir} -f makefile.shared make install INCPATH=%{_includedir}/tommath DESTDIR=%{buildroot} LIBPATH=%{_libdir} -f makefile.shared
find %{buildroot} -name '*.la' -exec rm -f {} ';' find %{buildroot} -name '*.la' -delete
find %{buildroot} -name '*.a' -exec rm -f {} ';' find %{buildroot} -name '*.a' -delete
find %{buildroot} -name '*.h' -exec chmod 644 {} ';' find %{buildroot} -name '*.h' -exec chmod 644 {} ';'
%post -p /sbin/ldconfig %post -p /sbin/ldconfig
@ -83,6 +85,10 @@ find %{buildroot} -name '*.h' -exec chmod 644 {} ';'
%doc bn.pdf poster.pdf tommath.pdf %doc bn.pdf poster.pdf tommath.pdf
%changelog %changelog
* Thu Aug 08 2013 Simone Caronni <negativo17@gmail.com> - 0.42-1
- Update to 0.42.
- Make doc package noarch and not requiring base package.
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.41-17 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.41-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild

@ -1 +1 @@
96fafb55f86be27490957b89dea7b31b ltm-0.41.tar.bz2 7380da904b020301be7045cb3a89039b ltm-0.42.0.tar.bz2

Loading…
Cancel
Save