|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
Name: libtommath
|
|
|
|
|
Version: 1.2.0
|
|
|
|
|
Release: 6%{?dist}
|
|
|
|
|
Release: 7%{?dist}
|
|
|
|
|
Summary: A portable number theoretic multiple-precision integer library
|
|
|
|
|
License: Public Domain
|
|
|
|
|
URL: http://www.libtom.net/
|
|
|
|
@ -10,26 +10,6 @@ Source0: https://github.com/libtom/%{name}/archive/v%{version}.tar.gz#/%{
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: libtool
|
|
|
|
|
|
|
|
|
|
%if ! 0%{?flatpak}
|
|
|
|
|
BuildRequires: ghostscript
|
|
|
|
|
BuildRequires: ghostscript-tools-dvipdf
|
|
|
|
|
BuildRequires: libtiff-tools
|
|
|
|
|
BuildRequires: tex(amssymb.sty)
|
|
|
|
|
BuildRequires: tex(cmr10.tfm)
|
|
|
|
|
BuildRequires: tex(epstopdf-base.sty)
|
|
|
|
|
BuildRequires: tex(expl3.sty)
|
|
|
|
|
BuildRequires: tex(fancyhdr.sty)
|
|
|
|
|
BuildRequires: tex(hyphen.tex)
|
|
|
|
|
BuildRequires: tex(l3backend-dvips.def)
|
|
|
|
|
BuildRequires: texlive-appendix
|
|
|
|
|
BuildRequires: texlive-dvips-bin
|
|
|
|
|
BuildRequires: texlive-kpathsea
|
|
|
|
|
BuildRequires: texlive-latex-bin-bin
|
|
|
|
|
BuildRequires: texlive-makeindex-bin
|
|
|
|
|
BuildRequires: texlive-metafont
|
|
|
|
|
BuildRequires: texlive-mfware-bin
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
A free open source portable number theoretic multiple-precision integer library
|
|
|
|
|
written entirely in C. (phew!). The library is designed to provide a simple to
|
|
|
|
@ -44,17 +24,6 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
The %{name}-devel package contains libraries and header files for developing
|
|
|
|
|
applications that use %{name}.
|
|
|
|
|
|
|
|
|
|
%if ! 0%{?flatpak}
|
|
|
|
|
%package doc
|
|
|
|
|
Summary: Documentation files for %{name}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
Provides: %{name}-doc = %{version}-%{release}
|
|
|
|
|
Obsoletes: %{name}-doc < 0.42-1
|
|
|
|
|
|
|
|
|
|
%description doc
|
|
|
|
|
The %{name}-doc package contains PDF documentation for using %{name}.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
# Fix permissions on installed library
|
|
|
|
@ -68,9 +37,6 @@ sed -i \
|
|
|
|
|
%build
|
|
|
|
|
%set_build_flags
|
|
|
|
|
%make_build V=1 CFLAGS="$CFLAGS -I./" -f makefile.shared
|
|
|
|
|
%if ! 0%{?flatpak}
|
|
|
|
|
make V=1 -f makefile manual docs
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%make_install V=1 CFLAGS="$CFLAGS -I./" PREFIX=%{_prefix} LIBPATH=%{_libdir} -f makefile.shared
|
|
|
|
@ -89,12 +55,11 @@ find %{buildroot} -name '*.a' -delete
|
|
|
|
|
%{_libdir}/*.so
|
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
|
|
|
|
|
|
%if ! 0%{?flatpak}
|
|
|
|
|
%files doc
|
|
|
|
|
%doc doc/bn.pdf
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Jan 04 2022 Frantisek Sumsal <frantisek@sumsal.cz> - 1.2.0-7
|
|
|
|
|
- Initial EPEL 9 build for BZ#2029481
|
|
|
|
|
- Temporarily skip building docs due to work around BZ#2031879
|
|
|
|
|
|
|
|
|
|
* Mon Dec 13 2021 Frantisek Sumsal <frantisek@sumsal.cz> - 1.2.0-6
|
|
|
|
|
- Add a couple of missing BRs (texlive-kpathsea and texlive-metafont)
|
|
|
|
|
|
|
|
|
|