libtommath/libtommath.spec

85 lines
2.4 KiB
RPMSpec
Raw Permalink Normal View History

Name: libtommath
Version: 1.3.0
Release: 1mamba
Summary: Portable number theoretic multiple-precision integer library written entirely in C
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.libtom.net/LibTomMath/
Source: https://github.com/libtom/libtommath.git/v%{version}/libtommath-%{version}.tar.bz2
License: Public Domain
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
%description
LibTomMath is a free open source portable number theoretic multiple-precision integer library written entirely in C.
%package devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
%make -f makefile.shared \
LIBPATH=%{_libdir} \
INCPATH=%{_includedir}
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -f makefile.shared \
LIBPATH=%{_libdir} \
INCPATH=%{_includedir}
chmod +x %{buildroot}%{_libdir}/libtommath.so.*
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libtommath.so.*
%doc LICENSE
%files devel
%defattr(-,root,root)
%{_includedir}/tommath*.h
%{_libdir}/libtommath.a
%{_libdir}/libtommath.so
%{_libdir}/pkgconfig/libtommath.pc
%doc README.md
%changelog
* Wed Mar 27 2024 Automatic Build System <autodist@openmamba.org> 1.3.0-1mamba
- automatic version update by autodist
* Sat Sep 09 2023 Automatic Build System <autodist@mambasoft.it> 1.2.1-1mamba
- automatic version update by autodist
* Sun Aug 01 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.0-2mamba
- rebuilt with debug package and library permissions fixed
* Sun Oct 27 2019 Automatic Build System <autodist@mambasoft.it> 1.2.0-1mamba
- automatic version update by autodist
* Fri Feb 01 2019 Automatic Build System <autodist@mambasoft.it> 1.1.0-1mamba
- automatic version update by autodist
* Sat Sep 09 2017 Automatic Build System <autodist@mambasoft.it> 1.0.1-1mamba
- automatic version update by autodist
* Wed Aug 10 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0-1mamba
- package created using the webbuild interface