Name: libtomcrypt Version: 1.18.2 Release: 1 Summary: A comprehensive, portable cryptographic toolkit License: Public Domain or WTFPL URL: http://www.libtom.net/ Source0: https://github.com/libtom/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz BuildRequires: libtommath-devel >= 1.2.0 BuildRequires: libtool >= 2.4.6 Requires: libgcc >= 8.3.0 %description A 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. Designed from the ground up to be very simple to use. It has a modular and standard API that allows new ciphers, hashes and PRNGs to be added or removed without change to the overall end application. It features easy to use functions and a complete user manual which has many source snippet examples. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} Requires: libgcc >= 8.3.0 %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %setup -q %build export PREFIX="%{_prefix}" export INCPATH="%{_includedir}" export LIBPATH="%{_libdir}" #export EXTRALIBS="-ltommath" export OBJECT_MODE=64 export CC="/opt/freeware/bin/gcc -maix64 -O2" export LDFLAGS="-L/opt/freeware/lib64 -L/opt/freeware/lib -Wl,-blibpath:/opt/freeware/lib64:/opt/freeware/lib:/usr/lib" make V=1 -f makefile.shared library make V=1 -f makefile.shared test %check ./test %install [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} export OBJECT_MODE=64 export CC="/opt/freeware/bin/gcc -maix64 -O2" export LDFLAGS="-L/opt/freeware/lib64 -L/opt/freeware/lib -Wl,-blibpath:/opt/freeware/lib64:/opt/freeware/lib:/usr/lib" make DESTDIR=${RPM_BUILD_ROOT} install INSTALL_OPTS="-m 755" INCPATH="%{_includedir}" LIBPATH="%{_libdir}" -f makefile.shared # Fix pkgconfig path sed -i \ -e 's|^prefix=.*|prefix=%{_prefix}|g' \ -e 's|^libdir=.*|libdir=${prefix}/%{_lib}|g' \ %{buildroot}%{_libdir}/pkgconfig/%{name}.pc %files %defattr(-,root,system,-) %license LICENSE %{_libdir}/*.so.* %files devel %defattr(-,root,system,-) %{_includedir}/*.h %{_libdir}/pkgconfig/*.pc %changelog * Fri Apr 17 2021 Rishita Saha - 1.18.2-1 - Initial port to AIX Toolbox * Tue Mar 30 2021 Petr Pisar - 1.18.2-12 - Build-require more TeX packages (bug #1943028) * Tue Jan 26 2021 Fedora Release Engineering - 1.18.2-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Thu Aug 13 2020 Gerd Pokorra - 1.18.2-10 - Add missing dependency tex(tcti1000.tfm), bug-id 1863674 * Sat Aug 01 2020 Fedora Release Engineering - 1.18.2-9 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 1.18.2-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Sat Apr 11 2020 Gerd Pokorra - 1.18.2-7 - Rebuilt with libtommath 1.2.0 * Wed Jan 29 2020 Fedora Release Engineering - 1.18.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Oct 16 2019 Simone Caronni - 1.18.2-5 - Do not build documentation on RHEL/CentOS. * Thu Jul 25 2019 Fedora Release Engineering - 1.18.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Feb 01 2019 Fedora Release Engineering - 1.18.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 1.18.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Sun Jul 08 2018 Simone Caronni - 1.18.2-1 - Udpate to 1.18.2. * Wed Apr 18 2018 Simone Caronni - 1.18.1-5 - Update build requirement for texlive rebase. * Mon Apr 09 2018 Rafael Santos - 1.18.1-4 - Fix missing Fedora linker flags (bug #1548709) * Wed Feb 07 2018 Fedora Release Engineering - 1.18.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Sat Feb 03 2018 Igor Gnatenko - 1.18.1-2 - Switch to %%ldconfig_scriptlets * Fri Dec 08 2017 Simone Caronni - 1.18.1-1 - Update to 1.18.1. * Mon Oct 23 2017 Simone Caronni - 1.18.0-1 - Update to final 1.18.0. * Sun Sep 17 2017 Simone Caronni - 1.18-2.20170915git0ceb1c1 - Update to latest snapshot post rc3. - Remove RHEL 6 support. - Clean up SPEC file. - Trim changelog. * Mon Sep 11 2017 Simone Caronni - 1.18-1.20170910git32d60ac - Update to latest snapshot (post rc3). - Version is now at 1.18. * Thu Aug 03 2017 Fedora Release Engineering - 1.17-36.20170720gitab8c5b8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 1.17-35.20170720gitab8c5b8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sun Jul 23 2017 Simone Caronni - 1.17-34.20170720gitab8c5b8 - Update to latest snapshot from the 1.18 release branch. - Update license. * Sun Jun 25 2017 Simone Caronni - 1.17-33.20170623gitcd6e602 - Update to latest snapshot. - Update URL (#1463608, #1463547) * Thu Jun 15 2017 Simone Caronni - 1.17-32.20170614git2cd69fb - Update to latest snapshot, adjust build. - Temporarily disable tests. * Mon Mar 27 2017 Simone Caronni - 1.17-31.20170327git7532b89 - Update to latest snapshot. - Use correct format for snapshots as per packaging guidelines. - Use default compiler flags. * Fri Feb 10 2017 Fedora Release Engineering - 1.17-30 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Wed Mar 09 2016 Than Ngo - 1.17-29 - fix endian issues on s390x/ppc64 * Tue Feb 23 2016 Simone Caronni - 1.17-28 - Fix shared object name: https://github.com/libtom/libtomcrypt/commit/14272976d0615b546e9e0215ec4e2f01854a2dc9 * Tue Feb 23 2016 Simone Caronni - 1.17-27 - Fix FTBFS (#1307740). - Update sources, requires libtommath 1.x, drop upstreamed patches. - Update URL. - Use license macro. - Clean up SPEC file. * Thu Feb 04 2016 Fedora Release Engineering - 1.17-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild