123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212 |
- %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.8.6
- 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(post,preun): /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
- 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
- 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}
- %post -p /sbin/ldconfig
- %postun -p /sbin/ldconfig
- %post devel
- /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gcrypt.info.gz ||:
- %preun devel
- if [ $1 = 0 ]; then
- /sbin/install-info --delete %{_infodir}/gcrypt.info.gz %{_infodir}/dir ||:
- fi
- %post -n compat32-%{name} -p /sbin/ldconfig
- %postun -n compat32-%{name} -p /sbin/ldconfig
- %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
- * Sat Sep 12 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.8.6-1
- - updated to 1.8.6.
- * Sun Mar 15 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.8.5-1
- - updated to 1.8.5.
- * Sun May 05 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.8.4-1
- - updated to 1.8.4.
- * Thu Mar 01 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.8.2-1
- - updated to 1.8.2.
- * Mon Mar 20 2017 IWAI, Masaharu <iwaim.sub@gmail.com> - 1.7.6-1
- - update to 1.7.6
- - update URL tag
- - add Packager tag
- * Fri Apr 22 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.6.5-1
- - new upstream release.
- * Sat Nov 28 2015 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.6.4-1
- - new upstream release
- * Wed Jan 15 2014 NAKAMURA Kenta <kenta@vinelinux.org> - 1.6.0-1
- - new upstream release
- * Mon Dec 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.5.3-2
- - rebuild with VineSeed environment
- * Sat Aug 10 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.5.3-1
- - new upstream release
- * Sat Oct 02 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.6-1
- - new upstream release
- * Sat Jun 27 2009 NAKAMURA Kenta <kenta@vinelinux.org> 1.4.3-3
- - added compat32 package for x86_64 arch support
- - added --disable-static %%configure option
- * Thu Sep 25 2008 Shu KONNO <owa@bg.wakwak.com> 1.4.3-2
- - removed *.la
- * Tue Sep 23 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.3-1
- - new upstream release
- * Tue Mar 18 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.0-1vl5
- - new upstream release
- - used _dist_release macro
- * Sat Mar 15 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.0-0vl1
- - new upstream release
- * Sun Nov 26 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.3-0vl1
- - new upstream release
- - changed Group to System Environment/Libraries
- * Fri Dec 30 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.2.2-0vl1
- - new upstream release
- * Mon Mar 28 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 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 <daisuke@linux.or.jp> 1.2.0-0vl1
- - new upstream release
- * Sun Mar 7 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.12-0vl1
- - initial build
|