package created using the webbuild interface [release 1.0-1mamba;Wed Aug 10 2016]

This commit is contained in:
Silvan Calarco 2024-01-06 05:56:28 +01:00
parent 8d2b3bf220
commit adfa38058b
2 changed files with 66 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# libtommath # libtommath
LibTomMath is a free open source portable number theoretic multiple-precision integer library written entirely in C.

64
libtommath.spec Normal file
View File

@ -0,0 +1,64 @@
Name: libtommath
Version: 1.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: http://www.libtom.net
## GITSOURCE https://github.com/libtom/libtommath.git v1.0
Source: https://github.com/libtom/libtommath.git/v%{version}/libtommath-%{version}.tar.bz2
License: Public Domain
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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}
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -f makefile.shared \
LIBPATH=%{_libdir}
%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.la
%{_libdir}/libtommath.so
%doc README.md
%changelog
* Wed Aug 10 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0-1mamba
- package created using the webbuild interface