%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0} Summary: A cryptographic library based on the code from GnuPG. Summary(ja): GnuPG のコードをベースとした暗号化ライブラリ Name: libgcrypt Version: 1.9.4 Release: 1%{?_dist_release} Group: system Vendor: Project Vine Distribution: Vine Linux Packager: iwaim License: GPLv2+ URL: https://www.gnupg.org/related_software/libgcrypt/index.html Source0: https://gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-%{version}.tar.bz2 Source1: https://gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-%{version}.tar.bz2.sig BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: libgpg-error-devel >= 0.5 Requires: libgpg-error Requires: /sbin/install-info %description This is a general purpose cryptographic library based on the code from GnuPG. It provides functions for all cryptograhic building blocks: symmetric ciphers (AES, DES, Blowfish, CAST5, Twofish, Arcfour), hash algorithms (MD4, MD5, RIPE-MD160, SHA-1, TIGER-192), MACs (HMAC for all hash algorithms), public key algorithms (RSA, ElGamal, DSA), large integer functions, random numbers and a lot of supporting functions. %package devel Summary: Development files for libgcrypt Summary(ja): libgcrypt を使った開発に必要なヘッダやライブラリ Group: programming Requires: %{name} = %{version}-%{release} Requires: libgpg-error-devel %description devel Static libraries and header files from libgcrypt. %package -n compat32-%{name} Summary: A cryptographic library based on the code from GnuPG. Summary(ja): GnuPG のコードをベースとした暗号化ライブラリ Group: system,legacy Requires: %{name} = %{version}-%{release} %description -n compat32-%{name} This is a general purpose cryptographic library based on the code from GnuPG. It provides functions for all cryptograhic building blocks: symmetric ciphers (AES, DES, Blowfish, CAST5, Twofish, Arcfour), hash algorithms (MD4, MD5, RIPE-MD160, SHA-1, TIGER-192), MACs (HMAC for all hash algorithms), public key algorithms (RSA, ElGamal, DSA), large integer functions, random numbers and a lot of supporting functions. %package -n compat32-%{name}-devel Summary: Development files for libgcrypt Summary(ja): libgcrypt を使った開発に必要なヘッダやライブラリ Group: programming,legacy Requires: compat32-%{name} = %{version}-%{release} Requires: %{name}-devel = %{version}-%{release} Requires: compat32-libgpg-error-devel %description -n compat32-%{name}-devel Static libraries and header files from libgcrypt. %debug_package %prep %setup -q %build %configure --disable-static make %install [ "%{buildroot}" != / ] && rm -rf %{buildroot} %makeinstall rm -f %{buildroot}%{_infodir}/dir ## remove unuse files rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la %clean [ "%{buildroot}" != / ] && rm -rf %{buildroot} %files %defattr(-,root,root) %{_bindir}/dumpsexp %{_bindir}/hmac256 %{_bindir}/mpicalc %{_libdir}/*.so.* %{_mandir}/man1/hmac256.1.gz %files devel %defattr(-,root,root) %doc README* NEWS %{_bindir}/libgcrypt-config %{_includedir}/* %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc %{_datadir}/aclocal/libgcrypt.m4 %{_infodir}/* # compat32 %if %{build_compat32} %files -n compat32-%{name} %defattr(-,root,root) %{_libdir}/*.so.* %files -n compat32-%{name}-devel %defattr(-,root,root) %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc %endif %changelog * Tue Sep 14 2021 Tomohiro "Tomo-p" KATO - 1.9.4-1 - updated to 1.9.4. - dropped install-info scriptlets. * Wed Jun 16 2021 Tomohiro "Tomo-p" KATO - 1.9.3-1 - updated to 1.9.3. * Mon Mar 22 2021 Tomohiro "Tomo-p" KATO - 1.9.2-1 - updated to 1.9.2. - dropped ldconfig scriptlets. * Tue Feb 02 2021 Tomohiro "Tomo-p" KATO - 1.9.1-1 - updated to 1.9.1. * Sat Sep 12 2020 Tomohiro "Tomo-p" KATO - 1.8.6-1 - updated to 1.8.6. * Sun Mar 15 2020 Tomohiro "Tomo-p" KATO - 1.8.5-1 - updated to 1.8.5. * Sun May 05 2019 Tomohiro "Tomo-p" KATO - 1.8.4-1 - updated to 1.8.4. * Thu Mar 01 2018 Tomohiro "Tomo-p" KATO - 1.8.2-1 - updated to 1.8.2. * Mon Mar 20 2017 IWAI, Masaharu - 1.7.6-1 - update to 1.7.6 - update URL tag - add Packager tag * Fri Apr 22 2016 Tomohiro "Tomo-p" KATO - 1.6.5-1 - new upstream release. * Sat Nov 28 2015 Toshiharu Kudoh - 1.6.4-1 - new upstream release * Wed Jan 15 2014 NAKAMURA Kenta - 1.6.0-1 - new upstream release * Mon Dec 30 2013 Yoji TOYODA - 1.5.3-2 - rebuild with VineSeed environment * Sat Aug 10 2013 Toshiharu Kudoh - 1.5.3-1 - new upstream release * Sat Oct 02 2010 Yoji TOYODA 1.4.6-1 - new upstream release * Sat Jun 27 2009 NAKAMURA Kenta 1.4.3-3 - added compat32 package for x86_64 arch support - added --disable-static %%configure option * Thu Sep 25 2008 Shu KONNO 1.4.3-2 - removed *.la * Tue Sep 23 2008 Daisuke SUZUKI 1.4.3-1 - new upstream release * Tue Mar 18 2008 Ryoichi INAGAKI 1.4.0-1vl5 - new upstream release - used _dist_release macro * Sat Mar 15 2008 Ryoichi INAGAKI 1.4.0-0vl1 - new upstream release * Sun Nov 26 2006 Ryoichi INAGAKI 1.2.3-0vl1 - new upstream release - changed Group to System Environment/Libraries * Fri Dec 30 2005 KAZUKI SHIMURA 1.2.2-0vl1 - new upstream release * Mon Mar 28 2005 KAZUKI SHIMURA 1.2.1-0vl1 - new upstream release - fix dependencies - add BuildRequires: libgpg-error-devel >= 0.5 - add Requires: libgpg-error - add Requires: libgpg-error-devel for devel package * Tue Nov 30 2004 Daisuke SUZUKI 1.2.0-0vl1 - new upstream release * Sun Mar 7 2004 Daisuke SUZUKI 1.1.12-0vl1 - initial build