[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 |
---|
[8084] | 5 | Version: 1.12 |
---|
[902] | 6 | Release: 1%{?_dist_release} |
---|
[521] | 7 | URL: ftp://ftp.gnupg.org/gcrypt/libgpg-error/ |
---|
| 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 |
---|
| 16 | |
---|
| 17 | %description |
---|
| 18 | This is a library that defines common error values for all GnuPG |
---|
| 19 | components. Among these are GPG, GPGSM, GPGME, GPG-Agent, libgcrypt, |
---|
| 20 | pinentry, SmartCard Daemon and possibly more in the future. |
---|
| 21 | |
---|
| 22 | %package devel |
---|
| 23 | Summary: Development files for the %{name} package |
---|
| 24 | Summary(ja): %{name} パッケージの開発用ファイル |
---|
| 25 | Group: Development/Libraries |
---|
| 26 | Requires: %{name} = %{version}-%{release} |
---|
| 27 | |
---|
| 28 | %description devel |
---|
| 29 | This is a library that defines common error values for all GnuPG |
---|
| 30 | components. Among these are GPG, GPGSM, GPGME, GPG-Agent, libgcrypt, |
---|
| 31 | pinentry, SmartCard Daemon and possibly more in the future. This package |
---|
| 32 | contains files necessary to develop applications using libgpg-error. |
---|
| 33 | |
---|
| 34 | %package -n compat32-%{name} |
---|
| 35 | Summary: common error codes for GnuPG related projects |
---|
| 36 | Summary(ja): GnuPG 関連プロジェクトで共通のエラーコード |
---|
| 37 | Group: System Environment/Libraries |
---|
| 38 | Requires: %{name} = %{version}-%{release} |
---|
| 39 | |
---|
| 40 | %description -n compat32-%{name} |
---|
| 41 | This is a library that defines common error values for all GnuPG |
---|
| 42 | components. Among these are GPG, GPGSM, GPGME, GPG-Agent, libgcrypt, |
---|
| 43 | pinentry, SmartCard Daemon and possibly more in the future. |
---|
| 44 | |
---|
| 45 | %package -n compat32-%{name}-devel |
---|
| 46 | Summary: Development files for the %{name} package |
---|
| 47 | Summary(ja): %{name} パッケージの開発用ファイル |
---|
| 48 | Group: Development/Libraries |
---|
| 49 | Requires: compat32-%{name} = %{version}-%{release} |
---|
| 50 | Requires: %{name}-devel = %{version}-%{release} |
---|
| 51 | |
---|
| 52 | %description -n compat32-%{name}-devel |
---|
| 53 | This is a library that defines common error values for all GnuPG |
---|
| 54 | components. Among these are GPG, GPGSM, GPGME, GPG-Agent, libgcrypt, |
---|
| 55 | pinentry, SmartCard Daemon and possibly more in the future. This package |
---|
| 56 | contains files necessary to develop applications using libgpg-error. |
---|
| 57 | |
---|
| 58 | %prep |
---|
| 59 | %setup -q |
---|
| 60 | |
---|
| 61 | %build |
---|
[902] | 62 | %configure --disable-static |
---|
| 63 | make %{?_smp_mflags} |
---|
[521] | 64 | |
---|
| 65 | %install |
---|
| 66 | rm -rf $RPM_BUILD_ROOT |
---|
| 67 | %makeinstall |
---|
| 68 | |
---|
| 69 | # remove unneeded files |
---|
[902] | 70 | rm -f $RPM_BUILD_ROOT%{_libdir}/*.la |
---|
[521] | 71 | rm -rf $RPM_BUILD_ROOT%{_datadir}/common-lisp |
---|
| 72 | |
---|
| 73 | %find_lang %{name} |
---|
| 74 | |
---|
| 75 | %clean |
---|
| 76 | rm -rf $RPM_BUILD_ROOT |
---|
| 77 | |
---|
| 78 | %post -p /sbin/ldconfig |
---|
| 79 | |
---|
| 80 | %postun -p /sbin/ldconfig |
---|
| 81 | |
---|
| 82 | %post -n compat32-%{name} -p /sbin/ldconfig |
---|
| 83 | |
---|
| 84 | %postun -n compat32-%{name} -p /sbin/ldconfig |
---|
| 85 | |
---|
| 86 | %files -f %{name}.lang |
---|
| 87 | %defattr(-,root,root) |
---|
| 88 | %doc COPYING COPYING.LIB AUTHORS README INSTALL NEWS ChangeLog |
---|
| 89 | %{_bindir}/gpg-error |
---|
| 90 | %{_libdir}/libgpg-error.so.* |
---|
| 91 | |
---|
| 92 | %files devel |
---|
| 93 | %defattr(-,root,root) |
---|
| 94 | %{_bindir}/gpg-error-config |
---|
| 95 | %{_libdir}/libgpg-error.so |
---|
| 96 | %{_includedir}/gpg-error.h |
---|
| 97 | %{_datadir}/aclocal/gpg-error.m4 |
---|
| 98 | |
---|
| 99 | # compat32 |
---|
| 100 | %if %{build_compat32} |
---|
| 101 | %files -n compat32-%{name} |
---|
| 102 | %defattr(-,root,root) |
---|
| 103 | %{_libdir}/libgpg-error.so.* |
---|
| 104 | |
---|
| 105 | %files -n compat32-%{name}-devel |
---|
| 106 | %defattr(-,root,root) |
---|
| 107 | %{_libdir}/libgpg-error.so |
---|
| 108 | %endif |
---|
| 109 | |
---|
| 110 | %changelog |
---|
[8084] | 111 | * Mon Dec 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12-1 |
---|
| 112 | - new upstream release |
---|
| 113 | |
---|
[3299] | 114 | * Mon Apr 4 2011 IWAI, Masaharu <iwai@alib.jp> 1.10-1 |
---|
| 115 | - new upstream release |
---|
| 116 | |
---|
[2041] | 117 | * Sat Oct 02 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.9-1 |
---|
| 118 | - new upstream release |
---|
| 119 | |
---|
[902] | 120 | * Thu Apr 29 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.7-1 |
---|
| 121 | - new upstream release |
---|
| 122 | - added --disable-static to %%configure |
---|
| 123 | - built with new toolchain |
---|
| 124 | |
---|
[521] | 125 | * Sat Jun 27 2009 NAKAMURA Kenta <kenta@vinelinux.org> 1.6-3 |
---|
| 126 | - added compat32 package for x86_64 arch support |
---|
| 127 | |
---|
| 128 | * Tue Mar 31 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.6-2 |
---|
| 129 | - spec in utf-8 |
---|
| 130 | - remove static lib |
---|
| 131 | |
---|
| 132 | * Tue Mar 18 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6-1vl5 |
---|
| 133 | - new upstream release |
---|
| 134 | - used _dist_release macro |
---|
| 135 | |
---|
| 136 | * Fri Mar 09 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.4-0vl1 |
---|
| 137 | - new upstream release |
---|
| 138 | - add Vendor/Distribution tag |
---|
| 139 | |
---|
| 140 | * Sun Apr 09 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.3-0vl1 |
---|
| 141 | - new upstream release |
---|
| 142 | |
---|
| 143 | * Tue Nov 30 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0-0vl1 |
---|
| 144 | - initial build for Vine Linux |
---|
| 145 | |
---|
| 146 | * Tue Aug 31 2004 Bill Nottingham <notting@redhat.com> - 1.0-1 |
---|
| 147 | - update to 1.0 |
---|
| 148 | |
---|
| 149 | * Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com> |
---|
| 150 | - rebuilt |
---|
| 151 | |
---|
| 152 | * Fri Apr 16 2004 Bill Nottingham <notting@redhat.com> - 0.7-1 |
---|
| 153 | - adapt upstream specfile |
---|