You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
187 lines
6.3 KiB
187 lines
6.3 KiB
Name: libtommath
|
|
Version: 1.0
|
|
Release: 5%{?dist}
|
|
Summary: A portable number theoretic multiple-precision integer library
|
|
License: Public Domain
|
|
URL: http://www.libtom.org/
|
|
|
|
Source0: https://github.com/libtom/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
|
|
BuildRequires: ghostscript
|
|
BuildRequires: libtool
|
|
|
|
%if 0%{?rhel} == 6
|
|
BuildRequires: libtiff
|
|
%else
|
|
BuildRequires: libtiff-tools
|
|
%endif
|
|
|
|
%if 0%{?fedora} || 0%{?rhel} >= 7
|
|
BuildRequires: tex(dvips)
|
|
BuildRequires: tex(latex)
|
|
%else
|
|
BuildRequires: tetex-dvips
|
|
BuildRequires: tetex-latex
|
|
%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
|
|
work with API that provides fairly efficient routines that build out of the box
|
|
without configuration.
|
|
|
|
%package devel
|
|
Summary: Development files for %{name}
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
%description devel
|
|
The %{name}-devel package contains libraries and header files for developing
|
|
applications that use %{name}.
|
|
|
|
%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}.
|
|
|
|
%prep
|
|
%setup -q
|
|
# Be verbose when calling latex so we can see what's breaking
|
|
sed -i -e 's|> /dev/null||g' makefile
|
|
# Latex syntax update
|
|
sed -i \
|
|
-e 's|\[here\]|\[ht\]|g' \
|
|
-e 's|\[here!\]|\[h!\]|g' \
|
|
-e 's|\[!here\]|\[!ht\]|g' \
|
|
*.{pl,src,tex}
|
|
|
|
%build
|
|
export CFLAGS="%{optflags}"
|
|
make %{?_smp_mflags} LIBPATH=%{_libdir} -f makefile.shared
|
|
make -f makefile poster manual docs
|
|
|
|
%install
|
|
%make_install LIBPATH=%{_libdir} INCPATH=%{_includedir} -f makefile.shared
|
|
|
|
find %{buildroot} -name '*.la' -delete
|
|
find %{buildroot} -name '*.a' -delete
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%files
|
|
%{!?_licensedir:%global license %%doc}
|
|
%license LICENSE
|
|
%{_libdir}/*.so.*
|
|
|
|
%files devel
|
|
%{_includedir}/*.h
|
|
%{_libdir}/*.so
|
|
|
|
%files doc
|
|
%doc bn.pdf poster.pdf tommath.pdf
|
|
|
|
%changelog
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-5
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
* Tue Feb 23 2016 Simone Caronni <negativo17@gmail.com> - 1.0-4
|
|
- Fix installs with non-standard buildroots (#1299860).
|
|
|
|
* Tue Feb 23 2016 Simone Caronni <negativo17@gmail.com> - 1.0-3
|
|
- Remove useless latex build requirements.
|
|
|
|
* Tue Feb 23 2016 Simone Caronni <negativo17@gmail.com> - 1.0-2
|
|
- Use proper source URL.
|
|
- Cleanup SPEC file.
|
|
|
|
* Tue Feb 23 2016 Simone Caronni <negativo17@gmail.com> - 1.0-1
|
|
- Fix FTBFS (#1307741).
|
|
- Update to 1.0.
|
|
- Update URL.
|
|
- Use license macro.
|
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.42.0-7
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.42.0-6
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.42.0-5
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.42.0-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
* Sun Sep 29 2013 Simone Caronni <negativo17@gmail.com> - 0.42.0-3
|
|
- Move headers to default location.
|
|
|
|
* Thu Aug 08 2013 Simone Caronni <negativo17@gmail.com> - 0.42.0-2
|
|
- Fix changelog entries.
|
|
- Remove executable bits from LICENSE file and source files.
|
|
|
|
* Thu Aug 08 2013 Simone Caronni <negativo17@gmail.com> - 0.42.0-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
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
* Thu Jun 06 2013 Simone Caronni <negativo17@gmail.com> - 0.41-16
|
|
- SPEC file cleanup, remove obsolete tags.
|
|
- Fix tex/latex BuildRequires.
|
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.41-15
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.41-14
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.41-13
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.41-12
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
* Sun Jun 20 2010 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.41-11
|
|
- fix bugs #555445 and #591543
|
|
|
|
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.41-10
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.41-9
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.41-8
|
|
- Autorebuild for GCC 4.3
|
|
|
|
* Sun Nov 25 2007 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.41-7
|
|
- Resolve multilib conflicts from Bug #342441 by splitting out
|
|
documentation to libtommath-docs subpackage
|
|
- fix rpmlint Summary: warning
|
|
|
|
* Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 0.41-6
|
|
- Rebuild for selinux ppc32 issue.
|
|
|
|
* Fri Jun 29 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.41-5
|
|
- removed package name from summary
|
|
|
|
* Wed Jun 27 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.41-4
|
|
- changed patch to honor RPM_OPT_FLAGS
|
|
- changed patch to allow INCPATH to be set externally
|
|
- changed installation of headers to _includedir/tommath
|
|
|
|
* Sun Jun 24 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.41-3
|
|
- changed patch to bring it into line with the style of libtomcrypt
|
|
|
|
* Sat Jun 23 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.41-2
|
|
- add patch to makefile.shared to allow for /usr/lib64 installs
|
|
- update spec to pass libdir build and install process
|
|
|
|
* Fri Jun 22 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.41-1
|
|
- Initial spec file creation
|