| 1 | Name: libassuan |
|---|
| 2 | Summary: GnuPG IPC library |
|---|
| 3 | Version: 2.0.0 |
|---|
| 4 | Release: 1%{?_dist_release} |
|---|
| 5 | |
|---|
| 6 | License: LGPLv2+ and GPLv3+ |
|---|
| 7 | URL: http://www.gnupg.org/ |
|---|
| 8 | Group: System Environment/Libraries |
|---|
| 9 | |
|---|
| 10 | Source0: ftp://ftp.gnupg.org/gcrypt/libassuan/libassuan-%{version}.tar.bz2 |
|---|
| 11 | Source1: ftp://ftp.gnupg.org/gcrypt/libassuan/libassuan-%{version}.tar.bz2.sig |
|---|
| 12 | Patch1: libassuan-1.0.5-multilib.patch |
|---|
| 13 | |
|---|
| 14 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
|---|
| 15 | BuildRequires: gawk |
|---|
| 16 | BuildRequires: libgpg-error-devel >= 1.4 |
|---|
| 17 | #BuildRequires: pth-devel |
|---|
| 18 | |
|---|
| 19 | %description |
|---|
| 20 | This is the IPC library used by GnuPG 2, GPGME and a few other |
|---|
| 21 | packages. |
|---|
| 22 | |
|---|
| 23 | %package devel |
|---|
| 24 | Summary: GnuPG IPC library |
|---|
| 25 | Group: Development/Libraries |
|---|
| 26 | #Requires: pth-devel |
|---|
| 27 | Requires(post): /sbin/install-info |
|---|
| 28 | Requires(preun): /sbin/install-info |
|---|
| 29 | Obsoletes: %{name}-static < %{version}-%{release} |
|---|
| 30 | Provides: %{name}-static = %{version}-%{release} |
|---|
| 31 | |
|---|
| 32 | %description devel |
|---|
| 33 | This is the IPC static library used by GnuPG 2, GPGME and a few other |
|---|
| 34 | packages. |
|---|
| 35 | |
|---|
| 36 | This package contains files needed to develop applications using %{name}. |
|---|
| 37 | |
|---|
| 38 | |
|---|
| 39 | %prep |
|---|
| 40 | %setup -q |
|---|
| 41 | |
|---|
| 42 | %patch1 -p1 -b .multilib |
|---|
| 43 | |
|---|
| 44 | |
|---|
| 45 | %build |
|---|
| 46 | #ifarch x86_64 |
|---|
| 47 | export CFLAGS="%{optflags} -fPIC" |
|---|
| 48 | #endif |
|---|
| 49 | %configure |
|---|
| 50 | |
|---|
| 51 | make %{?_smp_mflags} |
|---|
| 52 | |
|---|
| 53 | |
|---|
| 54 | %install |
|---|
| 55 | rm -rf %{buildroot} |
|---|
| 56 | |
|---|
| 57 | make install DESTDIR=%{buildroot} |
|---|
| 58 | |
|---|
| 59 | ## Unpackaged files |
|---|
| 60 | rm -f %{buildroot}%{_infodir}/dir |
|---|
| 61 | |
|---|
| 62 | |
|---|
| 63 | %check |
|---|
| 64 | make check |
|---|
| 65 | |
|---|
| 66 | |
|---|
| 67 | %post devel |
|---|
| 68 | /sbin/install-info %{_infodir}/assuan.info %{_infodir}/dir &>/dev/null || : |
|---|
| 69 | |
|---|
| 70 | %preun devel |
|---|
| 71 | if [ $1 -eq 0 ]; then |
|---|
| 72 | /sbin/install-info --delete %{_infodir}/assuan.info %{_infodir}/dir &>/dev/null || : |
|---|
| 73 | fi |
|---|
| 74 | |
|---|
| 75 | |
|---|
| 76 | %clean |
|---|
| 77 | rm -rf %{buildroot} |
|---|
| 78 | |
|---|
| 79 | |
|---|
| 80 | %files |
|---|
| 81 | %defattr(-,root,root,-) |
|---|
| 82 | %doc AUTHORS ChangeLog COPYING.LIB NEWS README THANKS TODO |
|---|
| 83 | %{_libdir}/libassuan.so.* |
|---|
| 84 | |
|---|
| 85 | %files devel |
|---|
| 86 | %defattr(-,root,root,-) |
|---|
| 87 | %doc AUTHORS ChangeLog COPYING.LIB NEWS README THANKS TODO |
|---|
| 88 | %{_bindir}/libassuan-config |
|---|
| 89 | %{_includedir}/* |
|---|
| 90 | %{_libdir}/libassuan.so |
|---|
| 91 | %{_datadir}/aclocal/* |
|---|
| 92 | %{_infodir}/assuan.info* |
|---|
| 93 | |
|---|
| 94 | %changelog |
|---|
| 95 | * Tue Apr 5 2011 IWAI, Masaharu <iwai@alib.jp> 2.0.0-1 |
|---|
| 96 | - major version up to 2.0 |
|---|
| 97 | - create libassuan package |
|---|
| 98 | - add BuildRequires: libgpg-error-devel >= 1.4 |
|---|
| 99 | - drop %%{_libdir}/lib*.a in %%files |
|---|
| 100 | |
|---|
| 101 | * Mon Apr 4 2011 IWAI, Masaharu <iwai@alib.jp> 1.0.5-4 |
|---|
| 102 | - update multilib patch (Patch1) from Fedora libassuan1-1.0.5-6 |
|---|
| 103 | - better (upstreamable) multilib patch |
|---|
| 104 | - fix License tag - the documentation is GPLv3+ |
|---|
| 105 | |
|---|
| 106 | * Sun Aug 30 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.5-3 |
|---|
| 107 | - Initial build for Vine Linux |
|---|
| 108 | |
|---|
| 109 | * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.5-2 |
|---|
| 110 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
|---|
| 111 | |
|---|
| 112 | * Sat Jun 20 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.0.5-1 |
|---|
| 113 | - libassuan-1.0.5 |
|---|
| 114 | |
|---|
| 115 | * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.4-4 |
|---|
| 116 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
|---|
| 117 | |
|---|
| 118 | * Thu Apr 03 2008 Rex Dieter <rdieter@fedoraproject.org> 1.0.4-3 |
|---|
| 119 | - multiarch conflicts (#341911) |
|---|
| 120 | |
|---|
| 121 | * Fri Feb 08 2008 Rex Dieter <rdieter@fedoraproject.org> 1.0.4-2 |
|---|
| 122 | - respin (gcc43) |
|---|
| 123 | |
|---|
| 124 | * Wed Dec 12 2007 Rex Dieter <rdieter[AT]fedoraproject.org> - 1.0.4-1 |
|---|
| 125 | - libassuan-1.0.4 |
|---|
| 126 | - License: LGPLv2+ |
|---|
| 127 | - disable useless -debuginfo (static libs only) |
|---|
| 128 | |
|---|
| 129 | * Sun Aug 26 2007 Rex Dieter <rdieter[AT]fedoraproject.org> - 1.0.3-2 |
|---|
| 130 | - BR: gawk (to reenable pth support) |
|---|
| 131 | |
|---|
| 132 | * Fri Aug 24 2007 Rex Dieter <rdieter[AT]fedoraproject.org> - 1.0.3-1 |
|---|
| 133 | - libassuan-1.0.3 |
|---|
| 134 | - License: LGPLv2 |
|---|
| 135 | |
|---|
| 136 | * Thu Aug 02 2007 Rex Dieter <rdieter[AT]fedoraproject.org> - 1.0.2-2 |
|---|
| 137 | - License: LGPLv3 (clarification, changed from LGPLv2 1.0.1 -> 1.0.2) |
|---|
| 138 | |
|---|
| 139 | * Fri Jul 06 2007 Rex Dieter <rdieter[AT]fedoraproject.org> - 1.0.2-1 |
|---|
| 140 | - libassuan-1.0.2 |
|---|
| 141 | - rename -static -> -devel |
|---|
| 142 | |
|---|
| 143 | * Sat Nov 25 2006 Rex Dieter <rexdieter[AT]users.sf.net> - 1.0.1-1 |
|---|
| 144 | - libassuan-1.0.1 |
|---|
| 145 | |
|---|
| 146 | * Mon Nov 13 2006 Rex Dieter <rexdieter[AT]users.sf.net> - 1.0.0-1 |
|---|
| 147 | - libassuan-1.0.0 |
|---|
| 148 | - rename -devel -> -static (+Obsoletes/Provides: %%name-devel) |
|---|
| 149 | |
|---|
| 150 | * Wed Oct 18 2006 Rex Dieter <rexdieter[AT]users.sf.net> - 0.9.3-2 |
|---|
| 151 | - another libassuan.m4 patch |
|---|
| 152 | |
|---|
| 153 | * Tue Oct 10 2006 Rex Dieter <rexdieter[AT]users.sf.net> - 0.9.3-1 |
|---|
| 154 | - 0.9.3 |
|---|
| 155 | - BR: pth-devel, -devel: Requires: pth-devel |
|---|
| 156 | |
|---|
| 157 | * Wed Oct 04 2006 Rex Dieter <rexdieter[AT]users.sf.net> - 0.9.2-1 |
|---|
| 158 | - 0.9.2 |
|---|
| 159 | |
|---|
| 160 | * Mon Oct 02 2006 Rex Dieter <rexdieter[AT]users.sf.ne> - 0.9.0-3 |
|---|
| 161 | - respin |
|---|
| 162 | |
|---|
| 163 | * Tue Sep 26 2006 Rex Dieter <rexdieter[AT]users.sf.net - 0.9.0-2 |
|---|
| 164 | - -devel: Provides: %%name-static |
|---|
| 165 | - 0.9.0 |
|---|
| 166 | |
|---|
| 167 | * Mon Aug 28 2006 Rex Dieter <rexdieter[AT]users.sf.net> - 0.6.10-3 |
|---|
| 168 | - fc6 respin |
|---|
| 169 | |
|---|
| 170 | * Wed Mar 1 2006 Rex Dieter <rexdieter[AT]users.sf.net> |
|---|
| 171 | - fc5: gcc/glibc respin |
|---|
| 172 | |
|---|
| 173 | * Mon Jul 4 2005 Michael Schwendt <mschwendt[at]users.sf.net> - 0.6.10-2 |
|---|
| 174 | - Build PIC only for x86_64. |
|---|
| 175 | |
|---|
| 176 | * Fri Jul 1 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.6.10-1 |
|---|
| 177 | - 0.6.10, macro patch no longer needed (#162262). |
|---|
| 178 | |
|---|
| 179 | * Sun May 8 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.6.9-4 |
|---|
| 180 | - rebuilt |
|---|
| 181 | |
|---|
| 182 | * Fri Mar 18 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.6.9-3 |
|---|
| 183 | - Fix FC4 build and source URLs. |
|---|
| 184 | |
|---|
| 185 | * Thu Feb 3 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.6.9-2 |
|---|
| 186 | - Build PIC to fix x86_64 linking. |
|---|
| 187 | |
|---|
| 188 | * Thu Jan 06 2005 Rex Dieter <rexdieter[AT]users.sf.net> - 0.6.9-1 |
|---|
| 189 | - 0.6.9 |
|---|
| 190 | |
|---|
| 191 | * Sat Oct 23 2004 Rex Dieter <rexdieter[AT]users.sf.net> - 0.6.7-0.fdr.3 |
|---|
| 192 | - *really* fix description this time. |
|---|
| 193 | |
|---|
| 194 | * Fri Oct 22 2004 Rex Dieter <rexdieter[AT]users.sf.net> - 0.6.7-0.fdr.2 |
|---|
| 195 | - remove "We decided..." part of description |
|---|
| 196 | - remove hard-coded .gz info references |
|---|
| 197 | - Req(preun)->Preq(postun): /sbin/install-info |
|---|
| 198 | |
|---|
| 199 | * Thu Oct 21 2004 Rex Dieter <rexdieter[AT]users.sf.net> - 0.6.7-0.fdr.1 |
|---|
| 200 | - cleanup, make presentable. |
|---|
| 201 | |
|---|
| 202 | * Tue Oct 19 2004 Rex Dieter <rexdieter[AT]users.sf.net> - 0.6.7-0.fdr.0 |
|---|
| 203 | - first try |
|---|