package created using the webbuild interface [release 1.18.2-1mamba;Tue Nov 16 2021]
This commit is contained in:
parent
c2069112f2
commit
17112c8593
@ -1,2 +1,4 @@
|
|||||||
# libtomcrypt
|
# libtomcrypt
|
||||||
|
|
||||||
|
LibTomCrypt is a fairly comprehensive, modular and portable cryptographic toolkit that provides developers with a vast array of well known published block ciphers, one-way hash functions, chaining modes, pseudo-random number generators, public key cryptography and a plethora of other routines.
|
||||||
|
|
||||||
|
70
libtomcrypt.spec
Normal file
70
libtomcrypt.spec
Normal file
@ -0,0 +1,70 @@
|
|||||||
|
Name: libtomcrypt
|
||||||
|
Version: 1.18.2
|
||||||
|
Release: 1mamba
|
||||||
|
Summary: A fairly comprehensive, modular and portable cryptographic toolkit
|
||||||
|
Group: System/Libraries
|
||||||
|
Vendor: openmamba
|
||||||
|
Distribution: openmamba
|
||||||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
|
URL: https://www.libtom.net/
|
||||||
|
Source: https://github.com/libtom/libtomcrypt.git/v%{version}/libtomcrypt-%{version}.tar.bz2
|
||||||
|
License: Unilicense
|
||||||
|
## AUTOBUILDREQ-BEGIN
|
||||||
|
BuildRequires: glibc-devel
|
||||||
|
BuildRequires: libgmp-devel
|
||||||
|
BuildRequires: libtommath-devel
|
||||||
|
## AUTOBUILDREQ-END
|
||||||
|
|
||||||
|
%description
|
||||||
|
LibTomCrypt is a fairly comprehensive, modular and portable cryptographic toolkit that provides developers with a vast array of well known published block ciphers, one-way hash functions, chaining modes, pseudo-random number generators, public key cryptography and a plethora of other routines.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Group: Development/Libraries
|
||||||
|
Summary: Development files for %{name}
|
||||||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
Requires: pkg-config
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
This package contains libraries and header files for developing applications that use %{name}.
|
||||||
|
|
||||||
|
%debug_package
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
%build
|
||||||
|
export CPPFLAGS+=" -DLTM_DESC -DGMP_DESC -DUSE_LTM"
|
||||||
|
export EXTRALIBS="-ltommath -lgmp"
|
||||||
|
%make -f makefile.shared IGNORE_SPEED=1 library test
|
||||||
|
|
||||||
|
%install
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
%makeinstall \
|
||||||
|
-f makefile.shared \
|
||||||
|
PREFIX=%{_prefix} \
|
||||||
|
INSTALL_OPTS="" \
|
||||||
|
LIBPATH=%{_libdir}
|
||||||
|
|
||||||
|
%clean
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
|
%post -p /sbin/ldconfig
|
||||||
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/libtomcrypt.so.*
|
||||||
|
%doc LICENSE
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_includedir}/tomcrypt*.h
|
||||||
|
%{_libdir}/libtomcrypt.a
|
||||||
|
%{_libdir}/libtomcrypt.la
|
||||||
|
%{_libdir}/libtomcrypt.so
|
||||||
|
%{_libdir}/pkgconfig/libtomcrypt.pc
|
||||||
|
%doc README.md
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Tue Nov 16 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.18.2-1mamba
|
||||||
|
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user