[521] | 1 | %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0} |
---|
| 2 | Summary: A cryptographic library based on the code from GnuPG. |
---|
| 3 | Summary(ja): GnuPG のコードをベースとした暗号化ライブラリ |
---|
| 4 | Name: libgcrypt |
---|
[12489] | 5 | Version: 1.8.6 |
---|
[8269] | 6 | Release: 1%{?_dist_release} |
---|
[12489] | 7 | Group: system |
---|
| 8 | Vendor: Project Vine |
---|
| 9 | Distribution: Vine Linux |
---|
| 10 | Packager: iwaim |
---|
| 11 | |
---|
[12331] | 12 | License: GPLv2+ |
---|
[11045] | 13 | URL: https://www.gnupg.org/related_software/libgcrypt/index.html |
---|
[12331] | 14 | Source0: https://gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-%{version}.tar.bz2 |
---|
| 15 | Source1: https://gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-%{version}.tar.bz2.sig |
---|
[521] | 16 | |
---|
| 17 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 18 | BuildRequires: libgpg-error-devel >= 0.5 |
---|
| 19 | Requires: libgpg-error |
---|
| 20 | Requires(post,preun): /sbin/install-info |
---|
| 21 | |
---|
| 22 | %description |
---|
| 23 | This is a general purpose cryptographic library based on the code from |
---|
| 24 | GnuPG. It provides functions for all cryptograhic building blocks: |
---|
| 25 | symmetric ciphers (AES, DES, Blowfish, CAST5, Twofish, Arcfour), hash |
---|
| 26 | algorithms (MD4, MD5, RIPE-MD160, SHA-1, TIGER-192), MACs (HMAC for |
---|
| 27 | all hash algorithms), public key algorithms (RSA, ElGamal, DSA), large |
---|
| 28 | integer functions, random numbers and a lot of supporting functions. |
---|
| 29 | |
---|
[12489] | 30 | |
---|
[521] | 31 | %package devel |
---|
| 32 | Summary: Development files for libgcrypt |
---|
| 33 | Summary(ja): libgcrypt を使った開発に必要なヘッダやライブラリ |
---|
[12489] | 34 | Group: programming |
---|
[521] | 35 | Requires: %{name} = %{version}-%{release} |
---|
| 36 | Requires: libgpg-error-devel |
---|
| 37 | |
---|
| 38 | %description devel |
---|
| 39 | Static libraries and header files from libgcrypt. |
---|
| 40 | |
---|
[12489] | 41 | |
---|
[521] | 42 | %package -n compat32-%{name} |
---|
| 43 | Summary: A cryptographic library based on the code from GnuPG. |
---|
| 44 | Summary(ja): GnuPG のコードをベースとした暗号化ライブラリ |
---|
[12489] | 45 | Group: system |
---|
[521] | 46 | Requires: %{name} = %{version}-%{release} |
---|
| 47 | |
---|
| 48 | %description -n compat32-%{name} |
---|
| 49 | This is a general purpose cryptographic library based on the code from |
---|
| 50 | GnuPG. It provides functions for all cryptograhic building blocks: |
---|
| 51 | symmetric ciphers (AES, DES, Blowfish, CAST5, Twofish, Arcfour), hash |
---|
| 52 | algorithms (MD4, MD5, RIPE-MD160, SHA-1, TIGER-192), MACs (HMAC for |
---|
| 53 | all hash algorithms), public key algorithms (RSA, ElGamal, DSA), large |
---|
| 54 | integer functions, random numbers and a lot of supporting functions. |
---|
| 55 | |
---|
[12489] | 56 | |
---|
[521] | 57 | %package -n compat32-%{name}-devel |
---|
| 58 | Summary: Development files for libgcrypt |
---|
| 59 | Summary(ja): libgcrypt を使った開発に必要なヘッダやライブラリ |
---|
[12489] | 60 | Group: programming |
---|
[521] | 61 | Requires: compat32-%{name} = %{version}-%{release} |
---|
| 62 | Requires: %{name}-devel = %{version}-%{release} |
---|
| 63 | Requires: compat32-libgpg-error-devel |
---|
| 64 | |
---|
| 65 | %description -n compat32-%{name}-devel |
---|
| 66 | Static libraries and header files from libgcrypt. |
---|
| 67 | |
---|
[12489] | 68 | |
---|
| 69 | %debug_package |
---|
| 70 | |
---|
| 71 | |
---|
[521] | 72 | %prep |
---|
| 73 | %setup -q |
---|
| 74 | |
---|
[12489] | 75 | |
---|
[521] | 76 | %build |
---|
| 77 | %configure --disable-static |
---|
| 78 | make |
---|
| 79 | |
---|
[12489] | 80 | |
---|
[521] | 81 | %install |
---|
| 82 | [ "%{buildroot}" != / ] && rm -rf %{buildroot} |
---|
| 83 | %makeinstall |
---|
| 84 | rm -f %{buildroot}%{_infodir}/dir |
---|
| 85 | |
---|
| 86 | ## remove unuse files |
---|
| 87 | rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la |
---|
| 88 | |
---|
| 89 | |
---|
| 90 | %clean |
---|
| 91 | [ "%{buildroot}" != / ] && rm -rf %{buildroot} |
---|
| 92 | |
---|
[12489] | 93 | |
---|
[521] | 94 | %post -p /sbin/ldconfig |
---|
| 95 | %postun -p /sbin/ldconfig |
---|
| 96 | |
---|
| 97 | %post devel |
---|
| 98 | /sbin/install-info --info-dir=%{_infodir} %{_infodir}/gcrypt.info.gz ||: |
---|
| 99 | |
---|
| 100 | %preun devel |
---|
| 101 | if [ $1 = 0 ]; then |
---|
| 102 | /sbin/install-info --delete %{_infodir}/gcrypt.info.gz %{_infodir}/dir ||: |
---|
| 103 | fi |
---|
| 104 | |
---|
| 105 | %post -n compat32-%{name} -p /sbin/ldconfig |
---|
| 106 | %postun -n compat32-%{name} -p /sbin/ldconfig |
---|
| 107 | |
---|
[12489] | 108 | |
---|
[521] | 109 | %files |
---|
| 110 | %defattr(-,root,root) |
---|
| 111 | %{_bindir}/dumpsexp |
---|
| 112 | %{_bindir}/hmac256 |
---|
[8269] | 113 | %{_bindir}/mpicalc |
---|
[521] | 114 | %{_libdir}/*.so.* |
---|
[8269] | 115 | %{_mandir}/man1/hmac256.1.gz |
---|
[521] | 116 | |
---|
| 117 | %files devel |
---|
| 118 | %defattr(-,root,root) |
---|
| 119 | %doc README* NEWS |
---|
| 120 | %{_bindir}/libgcrypt-config |
---|
| 121 | %{_includedir}/* |
---|
| 122 | %{_libdir}/*.so |
---|
[12331] | 123 | %{_libdir}/pkgconfig/*.pc |
---|
[521] | 124 | %{_datadir}/aclocal/libgcrypt.m4 |
---|
| 125 | %{_infodir}/* |
---|
| 126 | |
---|
| 127 | # compat32 |
---|
| 128 | %if %{build_compat32} |
---|
| 129 | %files -n compat32-%{name} |
---|
| 130 | %defattr(-,root,root) |
---|
| 131 | %{_libdir}/*.so.* |
---|
| 132 | |
---|
| 133 | %files -n compat32-%{name}-devel |
---|
| 134 | %defattr(-,root,root) |
---|
| 135 | %{_libdir}/*.so |
---|
[12331] | 136 | %{_libdir}/pkgconfig/*.pc |
---|
[521] | 137 | %endif |
---|
| 138 | |
---|
[12489] | 139 | |
---|
[521] | 140 | %changelog |
---|
[12489] | 141 | * Sat Sep 12 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.8.6-1 |
---|
| 142 | - updated to 1.8.6. |
---|
| 143 | |
---|
[12331] | 144 | * Sun Mar 15 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.8.5-1 |
---|
| 145 | - updated to 1.8.5. |
---|
| 146 | |
---|
[12062] | 147 | * Sun May 05 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.8.4-1 |
---|
| 148 | - updated to 1.8.4. |
---|
| 149 | |
---|
[11561] | 150 | * Thu Mar 01 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.8.2-1 |
---|
| 151 | - updated to 1.8.2. |
---|
| 152 | |
---|
[11045] | 153 | * Mon Mar 20 2017 IWAI, Masaharu <iwaim.sub@gmail.com> - 1.7.6-1 |
---|
| 154 | - update to 1.7.6 |
---|
| 155 | - update URL tag |
---|
| 156 | - add Packager tag |
---|
| 157 | |
---|
[10189] | 158 | * Fri Apr 22 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.6.5-1 |
---|
| 159 | - new upstream release. |
---|
| 160 | |
---|
[9833] | 161 | * Sat Nov 28 2015 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.6.4-1 |
---|
| 162 | - new upstream release |
---|
| 163 | |
---|
[8269] | 164 | * Wed Jan 15 2014 NAKAMURA Kenta <kenta@vinelinux.org> - 1.6.0-1 |
---|
| 165 | - new upstream release |
---|
| 166 | |
---|
[8084] | 167 | * Mon Dec 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.5.3-2 |
---|
| 168 | - rebuild with VineSeed environment |
---|
| 169 | |
---|
[7753] | 170 | * Sat Aug 10 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.5.3-1 |
---|
| 171 | - new upstream release |
---|
| 172 | |
---|
[2041] | 173 | * Sat Oct 02 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.6-1 |
---|
| 174 | - new upstream release |
---|
| 175 | |
---|
[521] | 176 | * Sat Jun 27 2009 NAKAMURA Kenta <kenta@vinelinux.org> 1.4.3-3 |
---|
| 177 | - added compat32 package for x86_64 arch support |
---|
| 178 | - added --disable-static %%configure option |
---|
| 179 | |
---|
| 180 | * Thu Sep 25 2008 Shu KONNO <owa@bg.wakwak.com> 1.4.3-2 |
---|
| 181 | - removed *.la |
---|
| 182 | |
---|
| 183 | * Tue Sep 23 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.3-1 |
---|
| 184 | - new upstream release |
---|
| 185 | |
---|
| 186 | * Tue Mar 18 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.0-1vl5 |
---|
| 187 | - new upstream release |
---|
| 188 | - used _dist_release macro |
---|
| 189 | |
---|
| 190 | * Sat Mar 15 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.0-0vl1 |
---|
| 191 | - new upstream release |
---|
| 192 | |
---|
| 193 | * Sun Nov 26 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.3-0vl1 |
---|
| 194 | - new upstream release |
---|
| 195 | - changed Group to System Environment/Libraries |
---|
| 196 | |
---|
| 197 | * Fri Dec 30 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.2.2-0vl1 |
---|
| 198 | - new upstream release |
---|
| 199 | |
---|
| 200 | * Mon Mar 28 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.2.1-0vl1 |
---|
| 201 | - new upstream release |
---|
| 202 | - fix dependencies |
---|
| 203 | - add BuildRequires: libgpg-error-devel >= 0.5 |
---|
| 204 | - add Requires: libgpg-error |
---|
| 205 | - add Requires: libgpg-error-devel for devel package |
---|
| 206 | |
---|
| 207 | * Tue Nov 30 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.0-0vl1 |
---|
| 208 | - new upstream release |
---|
| 209 | |
---|
| 210 | * Sun Mar 7 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.12-0vl1 |
---|
| 211 | - initial build |
---|
| 212 | |
---|