[805] | 1 | Summary: Library for creating and parsing MIME messages |
---|
| 2 | Summary(ja): MIMEメッセージを生成またパースするためのライブラリ |
---|
| 3 | Name: gmime22 |
---|
| 4 | Version: 2.2.26 |
---|
[2014] | 5 | Release: 4%{?_dist_release} |
---|
[805] | 6 | Group: System Environment/Libraries |
---|
| 7 | License: GPL |
---|
| 8 | URL: http://spruce.sourceforge.net/gmime/ |
---|
| 9 | Source0: http://spruce.sourceforge.net/gmime/sources/v2.2/gmime-%{version}.tar.bz2 |
---|
| 10 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
| 11 | |
---|
| 12 | BuildRequires: glib2-devel >= 2.10.0 |
---|
| 13 | BuildRequires: zlib-devel >= 1.2.1.1 |
---|
| 14 | BuildRequires: automake, libtool, gettext, gtk-doc |
---|
| 15 | |
---|
| 16 | Patch1: gmime-2.2.3-use-pkg-config.patch |
---|
| 17 | Patch2: gmime-2.2.3-libdir.patch |
---|
| 18 | Patch3: gmime-2.2.3-automake.patch |
---|
| 19 | Patch4: gmime-2.2.23-gacutil.patch |
---|
[1589] | 20 | Patch5: gmime-2.2.26-CVE-2010-0409.patch |
---|
[805] | 21 | |
---|
| 22 | # Mono only availible on these: |
---|
| 23 | %define mono_archs %ix86 x86_64 ppc ia64 armv4l sparc |
---|
| 24 | # no mono on s390 for now: s390 s390x |
---|
| 25 | |
---|
| 26 | %ifarch %mono_archs |
---|
| 27 | BuildRequires: mono-devel gtk-sharp2-gapi |
---|
| 28 | BuildRequires: gtk-sharp2 >= 2.8.0 |
---|
| 29 | %define monodir %{_prefix}/lib/mono |
---|
| 30 | %endif |
---|
| 31 | |
---|
| 32 | %description |
---|
| 33 | The GMime suite provides a core library and set of utilities which may be |
---|
| 34 | used for the creation and parsing of messages using the Multipurpose |
---|
| 35 | Internet Mail Extension (MIME). |
---|
| 36 | |
---|
| 37 | |
---|
| 38 | %package devel |
---|
| 39 | Summary: Header files to develop libgmime applications |
---|
| 40 | Group: Development/Libraries |
---|
| 41 | Requires: %{name} = %{version}-%{release} |
---|
| 42 | Requires: glib2-devel |
---|
| 43 | |
---|
| 44 | %description devel |
---|
| 45 | The GMime suite provides a core library and set of utilities which may be |
---|
| 46 | used for the creation and parsing of messages using the Multipurpose |
---|
| 47 | Internet Mail Extension (MIME). The devel-package contains header files |
---|
| 48 | to develop applications that use libgmime. |
---|
| 49 | |
---|
| 50 | %ifarch %mono_archs |
---|
| 51 | %package sharp |
---|
| 52 | Summary: mono bindings for gmime |
---|
| 53 | Group: Development/Libraries |
---|
| 54 | Requires: %{name} = %{version}-%{release} |
---|
| 55 | Requires: gtk-sharp2 |
---|
| 56 | |
---|
| 57 | %description sharp |
---|
| 58 | The GMime suite provides a core library and set of utilities which may be |
---|
| 59 | used for the creation and parsing of messages using the Multipurpose |
---|
| 60 | Internet Mail Extension (MIME). The devel-package contains support |
---|
| 61 | for developing mono applications that use libgmime. |
---|
| 62 | %endif |
---|
| 63 | |
---|
| 64 | %prep |
---|
| 65 | %setup -q -n gmime-%{version} |
---|
| 66 | %patch1 -p1 -b .use-pkg-config |
---|
| 67 | #%patch2 -p1 -b .libdir |
---|
| 68 | #%patch3 -p0 -b .automake |
---|
| 69 | |
---|
| 70 | %ifarch %mono_archs |
---|
| 71 | %patch4 -p1 -b .gacutil |
---|
| 72 | %endif |
---|
| 73 | |
---|
[1589] | 74 | %patch5 -p1 -b .CVE-2010-0409 |
---|
| 75 | |
---|
[805] | 76 | %build |
---|
| 77 | cp %{_datadir}/gettext/config.rpath . |
---|
| 78 | autoreconf --force --install |
---|
| 79 | |
---|
| 80 | %ifarch %mono_archs |
---|
| 81 | export MONO_SHARED_DIR=%{_builddir}/%{?buildsubdir} |
---|
| 82 | MONO_ARGS="--enable-mono" |
---|
| 83 | %endif |
---|
| 84 | |
---|
| 85 | %configure $MONO_ARGS |
---|
| 86 | make %{?_smp_mflags} |
---|
| 87 | |
---|
| 88 | |
---|
| 89 | %install |
---|
| 90 | rm -rf $RPM_BUILD_ROOT |
---|
| 91 | export MONO_SHARED_DIR=%{_builddir}/%{?buildsubdir} |
---|
| 92 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 93 | |
---|
| 94 | find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';' |
---|
| 95 | |
---|
| 96 | # Don't conflict with sharutils: |
---|
| 97 | mv $RPM_BUILD_ROOT%{_bindir}/uuencode $RPM_BUILD_ROOT%{_bindir}/gmime-uuencode-2.2 |
---|
| 98 | mv $RPM_BUILD_ROOT%{_bindir}/uudecode $RPM_BUILD_ROOT%{_bindir}/gmime-uudecode-2.2 |
---|
| 99 | |
---|
| 100 | |
---|
| 101 | %clean |
---|
| 102 | rm -rf $RPM_BUILD_ROOT |
---|
| 103 | |
---|
| 104 | %post -p /sbin/ldconfig |
---|
| 105 | |
---|
| 106 | %postun -p /sbin/ldconfig |
---|
| 107 | |
---|
| 108 | |
---|
| 109 | %files |
---|
| 110 | %defattr(-,root,root,-) |
---|
| 111 | %doc AUTHORS COPYING ChangeLog README TODO |
---|
| 112 | %{_bindir}/gmime-uu??code-2.2 |
---|
| 113 | %{_libdir}/lib*.so.* |
---|
| 114 | |
---|
| 115 | %files devel |
---|
| 116 | %defattr(-,root,root,-) |
---|
| 117 | %{_bindir}/gmime-config |
---|
| 118 | %{_libdir}/lib*.a |
---|
| 119 | %{_libdir}/lib*.so |
---|
| 120 | %{_libdir}/gmimeConf.sh |
---|
| 121 | %{_libdir}/pkgconfig/gmime-2.0.pc |
---|
| 122 | %{_includedir}/gmime-2.0 |
---|
| 123 | %{_datadir}/gtk-doc/html/gmime |
---|
| 124 | |
---|
| 125 | %ifarch %mono_archs |
---|
| 126 | %files sharp |
---|
| 127 | %defattr(-,root,root,-) |
---|
| 128 | %{_libdir}/pkgconfig/gmime-sharp.pc |
---|
| 129 | %{monodir}/gac/gmime-sharp |
---|
| 130 | %{monodir}/gmime-sharp |
---|
| 131 | %{_datadir}/gapi-2.0/gmime-api.xml |
---|
| 132 | %endif |
---|
| 133 | |
---|
| 134 | |
---|
| 135 | %changelog |
---|
[2014] | 136 | * Fri Oct 08 2010 Shu KONNO <owa@bg.wakwak.com> 2.2.26-4 |
---|
| 137 | - rebuilt with mono-2.8 |
---|
| 138 | |
---|
[1897] | 139 | * Sat Sep 25 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.26-3 |
---|
| 140 | - rebuild with rpm-4.8.1 for pkg-config file |
---|
| 141 | |
---|
[1589] | 142 | * Mon Aug 16 2010 Shu KONNO <owa@bg.wakwak.com> 2.2.26-2 |
---|
| 143 | - added gmime-2.2.26-CVE-2010-0409.patch |
---|
| 144 | |
---|
[805] | 145 | * Sun Apr 11 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.26-1 |
---|
| 146 | - new upstream release |
---|
| 147 | - change package name (gmime22) |
---|
| 148 | |
---|
| 149 | * Thu Sep 18 2008 Shu KONNO <owa@bg.wakwak.com> 2.2.23-1vl5 |
---|
| 150 | - new upstream release |
---|
| 151 | - rebuilt with mono-2.0 |
---|
| 152 | - added gmime-2.2.23-gacutil.patch |
---|
| 153 | |
---|
| 154 | * Tue Aug 26 2008 Shu KONNO <owa@bg.wakwak.com> 2.2.9-1vl5 |
---|
| 155 | - applied new versioning policy, spec in utf-8 |
---|
| 156 | - updated gmime to 2.2.9 |
---|
| 157 | - dropt gmime-2.2.3-libdir.patch |
---|
| 158 | - dropt gmime-2.2.3-automake.patch |
---|
| 159 | |
---|
| 160 | * Sun Apr 29 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.3-0vl1 |
---|
| 161 | - initial build for Vine Linux |
---|
| 162 | |
---|
| 163 | * Tue Feb 6 2007 Alexander Larsson <alexl@redhat.com> - 2.2.3-5 |
---|
| 164 | - Fix build with new automake (#224157) |
---|
| 165 | |
---|
| 166 | * Thu Oct 12 2006 Alexander Larsson <alexl@redhat.com> - 2.2.3-4 |
---|
| 167 | - Bump glib requirement to 2.6 (#209565) |
---|
| 168 | |
---|
| 169 | * Tue Sep 5 2006 Alexander Larsson <alexl@redhat.com> - 2.2.3-3 |
---|
| 170 | - fix gmime-config multilib conflict (#205208) |
---|
| 171 | |
---|
| 172 | * Sat Aug 19 2006 Matthias Clasen <mclasen@redhat.com> - 2.2.3-2 |
---|
| 173 | - Rebuild |
---|
| 174 | |
---|
| 175 | * Fri Aug 18 2006 Alexander Larsson <alexl@redhat.com> - 2.2.3-1 |
---|
| 176 | - Upgrade to 2.2.3 |
---|
| 177 | - Use the new mono libdir |
---|
| 178 | |
---|
| 179 | * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - sh: line 0: fg: no job control |
---|
| 180 | - rebuild |
---|
| 181 | |
---|
| 182 | * Fri Jun 9 2006 Alexander Larsson <alexl@redhat.com> - 2.2.1-2 |
---|
| 183 | - Disable mono parts on s390* as mono doesn't build on s390 atm |
---|
| 184 | |
---|
| 185 | * Tue May 23 2006 Alexander Larsson <alexl@redhat.com> - 2.2.1-1 |
---|
| 186 | - Update to 2.2.1 |
---|
| 187 | - Fix multilib -devel conflict by using pkg-config in gmime-config (#192675) |
---|
| 188 | |
---|
| 189 | * Tue Feb 28 2006 Karsten Hopp <karsten@redhat.de> 2.1.19-4 |
---|
| 190 | - BuildRequires: gtk-sharp2 on mono archs only |
---|
| 191 | |
---|
| 192 | * Sun Feb 12 2006 Christopher Aillon <caillon@redhat.com> - 2.1.19-3 |
---|
| 193 | - Rebuild |
---|
| 194 | |
---|
| 195 | * Tue Feb 7 2006 Jesse Keating <jkeating@redhat.com> - 2.1.19-2.1 |
---|
| 196 | - rebuilt for new gcc4.1 snapshot and glibc changes |
---|
| 197 | |
---|
| 198 | * Tue Jan 31 2006 Christopher Aillon <caillon@redhat.com> - 2.1.19-2 |
---|
| 199 | - Rebuild |
---|
| 200 | |
---|
| 201 | * Sun Jan 22 2006 Alexander Larsson <alexl@redhat.com> - 2.1.19-1 |
---|
| 202 | - Update to 2.1.19 (needed by beagle 0.2.0) |
---|
| 203 | |
---|
| 204 | * Thu Jan 19 2006 Alexander Larsson <alexl@redhat.com> 2.1.17-3 |
---|
| 205 | - Build on s390x |
---|
| 206 | |
---|
| 207 | * Mon Jan 9 2006 Alexander Larsson <alexl@redhat.com> 2.1.17-2 |
---|
| 208 | - build gmime-sharp conditionally on mono arches |
---|
| 209 | |
---|
| 210 | * Mon Jan 9 2006 Alexander Larsson <alexl@redhat.com> - 2.1.17-1 |
---|
| 211 | - Move from Extras to Core, Update to 2.1.17, add gmime-sharp subpackage |
---|
| 212 | |
---|
| 213 | * Wed Aug 10 2005 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 2.1.15-1 |
---|
| 214 | - Update to 2.1.15 |
---|
| 215 | - Use dist |
---|
| 216 | |
---|
| 217 | * Wed May 18 2005 Colin Charles <colin@fedoraproject.org> - 2.1.9-5 |
---|
| 218 | - bump release, request build on ppc |
---|
| 219 | |
---|
| 220 | * Thu Mar 31 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 2.1.9-4 |
---|
| 221 | - add dep glib2-devel for pkgconfig in -devel package |
---|
| 222 | |
---|
| 223 | * Mon Oct 18 2004 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 0:2.1.9-0.fdr.3 |
---|
| 224 | - Remove ldconfig from Requires pre and post |
---|
| 225 | |
---|
| 226 | * Mon Oct 18 2004 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 0:2.1.9-0.fdr.2 |
---|
| 227 | - BR zlib-devel |
---|
| 228 | - Don't ship empty news file |
---|
| 229 | - Fixes to the files section |
---|
| 230 | - Change ldconfig in post* calls to -p /sbin/ldconfig |
---|
| 231 | |
---|
| 232 | |
---|
| 233 | * Sun Oct 17 2004 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 0:2.1.9-0.fdr.1 |
---|
| 234 | - Initial RPM release. |
---|