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