[521] | 1 | %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0} |
---|
| 2 | Summary: common error codes for GnuPG related projects |
---|
| 3 | Summary(ja): GnuPG 関連プロジェクトで共通のエラーコード |
---|
| 4 | Name: libgpg-error |
---|
[12522] | 5 | Version: 1.41 |
---|
[902] | 6 | Release: 1%{?_dist_release} |
---|
[12489] | 7 | Group: system |
---|
| 8 | Vendor: Project Vine |
---|
| 9 | Distribution: Vine Linux |
---|
| 10 | Packager: iwaim |
---|
| 11 | |
---|
[521] | 12 | License: LGPL |
---|
[12331] | 13 | URL: https://www.gnupg.org/related_software/libgpg-error/index.html |
---|
| 14 | Source0: https://gnupg.org/ftp/gcrypt/libgpg-error/libgpg-error-%{version}.tar.bz2 |
---|
| 15 | Source1: https://gnupg.org/ftp/gcrypt/libgpg-error/libgpg-error-%{version}.tar.bz2.sig |
---|
[521] | 16 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 17 | |
---|
| 18 | %description |
---|
| 19 | This is a library that defines common error values for all GnuPG |
---|
| 20 | components. Among these are GPG, GPGSM, GPGME, GPG-Agent, libgcrypt, |
---|
| 21 | pinentry, SmartCard Daemon and possibly more in the future. |
---|
| 22 | |
---|
[12489] | 23 | |
---|
[521] | 24 | %package devel |
---|
| 25 | Summary: Development files for the %{name} package |
---|
| 26 | Summary(ja): %{name} パッケージの開発用ファイル |
---|
[12489] | 27 | Group: programming |
---|
[521] | 28 | Requires: %{name} = %{version}-%{release} |
---|
| 29 | |
---|
| 30 | %description devel |
---|
| 31 | This is a library that defines common error values for all GnuPG |
---|
| 32 | components. Among these are GPG, GPGSM, GPGME, GPG-Agent, libgcrypt, |
---|
| 33 | pinentry, SmartCard Daemon and possibly more in the future. This package |
---|
| 34 | contains files necessary to develop applications using libgpg-error. |
---|
| 35 | |
---|
[12489] | 36 | |
---|
[521] | 37 | %package -n compat32-%{name} |
---|
| 38 | Summary: common error codes for GnuPG related projects |
---|
| 39 | Summary(ja): GnuPG 関連プロジェクトで共通のエラーコード |
---|
[12489] | 40 | Group: system |
---|
[521] | 41 | Requires: %{name} = %{version}-%{release} |
---|
| 42 | |
---|
| 43 | %description -n compat32-%{name} |
---|
| 44 | This is a library that defines common error values for all GnuPG |
---|
| 45 | components. Among these are GPG, GPGSM, GPGME, GPG-Agent, libgcrypt, |
---|
| 46 | pinentry, SmartCard Daemon and possibly more in the future. |
---|
| 47 | |
---|
[12489] | 48 | |
---|
[521] | 49 | %package -n compat32-%{name}-devel |
---|
| 50 | Summary: Development files for the %{name} package |
---|
| 51 | Summary(ja): %{name} パッケージの開発用ファイル |
---|
[12489] | 52 | Group: programming |
---|
[521] | 53 | Requires: compat32-%{name} = %{version}-%{release} |
---|
| 54 | Requires: %{name}-devel = %{version}-%{release} |
---|
| 55 | |
---|
| 56 | %description -n compat32-%{name}-devel |
---|
| 57 | This is a library that defines common error values for all GnuPG |
---|
| 58 | components. Among these are GPG, GPGSM, GPGME, GPG-Agent, libgcrypt, |
---|
| 59 | pinentry, SmartCard Daemon and possibly more in the future. This package |
---|
| 60 | contains files necessary to develop applications using libgpg-error. |
---|
| 61 | |
---|
[12489] | 62 | |
---|
| 63 | %debug_package |
---|
| 64 | |
---|
| 65 | |
---|
[521] | 66 | %prep |
---|
| 67 | %setup -q |
---|
| 68 | |
---|
[12489] | 69 | |
---|
[521] | 70 | %build |
---|
[902] | 71 | %configure --disable-static |
---|
| 72 | make %{?_smp_mflags} |
---|
[521] | 73 | |
---|
[12489] | 74 | |
---|
[521] | 75 | %install |
---|
| 76 | rm -rf $RPM_BUILD_ROOT |
---|
| 77 | %makeinstall |
---|
| 78 | |
---|
| 79 | # remove unneeded files |
---|
[902] | 80 | rm -f $RPM_BUILD_ROOT%{_libdir}/*.la |
---|
[521] | 81 | rm -rf $RPM_BUILD_ROOT%{_datadir}/common-lisp |
---|
[10304] | 82 | rm -f $RPM_BUILD_ROOT%{_infodir}/dir |
---|
[521] | 83 | |
---|
| 84 | %find_lang %{name} |
---|
| 85 | |
---|
[12489] | 86 | |
---|
[521] | 87 | %clean |
---|
| 88 | rm -rf $RPM_BUILD_ROOT |
---|
| 89 | |
---|
[10304] | 90 | |
---|
[521] | 91 | %post -p /sbin/ldconfig |
---|
| 92 | %postun -p /sbin/ldconfig |
---|
| 93 | |
---|
[10304] | 94 | %post devel |
---|
| 95 | /sbin/install-info %{_infodir}/gpgrt.info %{_infodir}/dir &>/dev/null || : |
---|
| 96 | |
---|
| 97 | %preun devel |
---|
| 98 | if [ $1 -eq 0 ]; then |
---|
| 99 | /sbin/install-info --delete %{_infodir}/gpgrt.info %{_infodir}/dir &>/dev/null || : |
---|
| 100 | fi |
---|
| 101 | |
---|
[521] | 102 | %post -n compat32-%{name} -p /sbin/ldconfig |
---|
| 103 | %postun -n compat32-%{name} -p /sbin/ldconfig |
---|
| 104 | |
---|
[12489] | 105 | |
---|
[521] | 106 | %files -f %{name}.lang |
---|
| 107 | %defattr(-,root,root) |
---|
[12062] | 108 | %license COPYING COPYING.LIB |
---|
| 109 | %doc AUTHORS README INSTALL NEWS ChangeLog |
---|
[521] | 110 | %{_bindir}/gpg-error |
---|
| 111 | %{_libdir}/libgpg-error.so.* |
---|
[11043] | 112 | %dir %{_datadir}/libgpg-error |
---|
| 113 | %{_datadir}/libgpg-error/errorref.txt |
---|
[521] | 114 | |
---|
| 115 | %files devel |
---|
| 116 | %defattr(-,root,root) |
---|
| 117 | %{_bindir}/gpg-error-config |
---|
[12062] | 118 | %{_bindir}/gpgrt-config |
---|
| 119 | %{_bindir}/yat2m |
---|
[521] | 120 | %{_libdir}/libgpg-error.so |
---|
[12062] | 121 | %{_libdir}/pkgconfig/gpg-error.pc |
---|
[521] | 122 | %{_includedir}/gpg-error.h |
---|
[12062] | 123 | %{_includedir}/gpgrt.h |
---|
[521] | 124 | %{_datadir}/aclocal/gpg-error.m4 |
---|
[12062] | 125 | %{_datadir}/aclocal/gpgrt.m4 |
---|
[10304] | 126 | %{_infodir}/gpgrt.info* |
---|
[12062] | 127 | %{_mandir}/man1/gpgrt-config.1* |
---|
[521] | 128 | |
---|
| 129 | # compat32 |
---|
| 130 | %if %{build_compat32} |
---|
| 131 | %files -n compat32-%{name} |
---|
| 132 | %defattr(-,root,root) |
---|
| 133 | %{_libdir}/libgpg-error.so.* |
---|
| 134 | |
---|
| 135 | %files -n compat32-%{name}-devel |
---|
| 136 | %defattr(-,root,root) |
---|
| 137 | %{_libdir}/libgpg-error.so |
---|
| 138 | %endif |
---|
| 139 | |
---|
| 140 | %changelog |
---|
[12522] | 141 | * Tue Feb 02 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.41-1 |
---|
| 142 | - updated to 1.41. |
---|
| 143 | |
---|
[12489] | 144 | * Sat Sep 12 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.39-1 |
---|
| 145 | - updated to 1.39. |
---|
| 146 | |
---|
[12331] | 147 | * Sun Mar 15 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.37-1 |
---|
| 148 | - updated to 1.37. |
---|
| 149 | |
---|
[12062] | 150 | * Sun May 05 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.36-1 |
---|
| 151 | - updated to 1.36. |
---|
| 152 | |
---|
[11559] | 153 | * Thu Mar 01 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.27-1 |
---|
| 154 | - updated to 1.27. |
---|
| 155 | |
---|
[11043] | 156 | * Mon Mar 20 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.26-1 |
---|
| 157 | - update to 1.26 |
---|
| 158 | - add errorref.txt |
---|
| 159 | - update URL tag |
---|
| 160 | - add Packager tag |
---|
| 161 | |
---|
[10304] | 162 | * Sat May 21 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.22-1 |
---|
| 163 | - new upstream release |
---|
| 164 | |
---|
[8084] | 165 | * Mon Dec 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12-1 |
---|
| 166 | - new upstream release |
---|
| 167 | |
---|
[3299] | 168 | * Mon Apr 4 2011 IWAI, Masaharu <iwai@alib.jp> 1.10-1 |
---|
| 169 | - new upstream release |
---|
| 170 | |
---|
[2041] | 171 | * Sat Oct 02 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.9-1 |
---|
| 172 | - new upstream release |
---|
| 173 | |
---|
[902] | 174 | * Thu Apr 29 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.7-1 |
---|
| 175 | - new upstream release |
---|
| 176 | - added --disable-static to %%configure |
---|
| 177 | - built with new toolchain |
---|
| 178 | |
---|
[521] | 179 | * Sat Jun 27 2009 NAKAMURA Kenta <kenta@vinelinux.org> 1.6-3 |
---|
| 180 | - added compat32 package for x86_64 arch support |
---|
| 181 | |
---|
| 182 | * Tue Mar 31 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.6-2 |
---|
| 183 | - spec in utf-8 |
---|
| 184 | - remove static lib |
---|
| 185 | |
---|
| 186 | * Tue Mar 18 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6-1vl5 |
---|
| 187 | - new upstream release |
---|
| 188 | - used _dist_release macro |
---|
| 189 | |
---|
| 190 | * Fri Mar 09 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.4-0vl1 |
---|
| 191 | - new upstream release |
---|
| 192 | - add Vendor/Distribution tag |
---|
| 193 | |
---|
| 194 | * Sun Apr 09 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.3-0vl1 |
---|
| 195 | - new upstream release |
---|
| 196 | |
---|
| 197 | * Tue Nov 30 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0-0vl1 |
---|
| 198 | - initial build for Vine Linux |
---|
| 199 | |
---|
| 200 | * Tue Aug 31 2004 Bill Nottingham <notting@redhat.com> - 1.0-1 |
---|
| 201 | - update to 1.0 |
---|
| 202 | |
---|
| 203 | * Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com> |
---|
| 204 | - rebuilt |
---|
| 205 | |
---|
| 206 | * Fri Apr 16 2004 Bill Nottingham <notting@redhat.com> - 0.7-1 |
---|
| 207 | - adapt upstream specfile |
---|