[12005] | 1 | %define apiver 3.0 |
---|
| 2 | %define docver 3.2 |
---|
| 3 | %define _unpackaged_files_terminate_build 1 |
---|
| 4 | |
---|
[521] | 5 | Summary: Library for creating and parsing MIME messages |
---|
| 6 | Summary(ja): MIMEメッセージを生成またパースするためのライブラリ |
---|
| 7 | Name: gmime |
---|
[12005] | 8 | Version: 3.2.3 |
---|
[8353] | 9 | Release: 1%{?_dist_release} |
---|
[521] | 10 | Group: System Environment/Libraries |
---|
| 11 | License: GPL |
---|
| 12 | URL: http://spruce.sourceforge.net/gmime/ |
---|
[7756] | 13 | Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/2.6/%{name}-%{version}.tar.xz |
---|
[521] | 14 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
| 15 | |
---|
[2041] | 16 | BuildRequires: glib2-devel >= 2.26.0 |
---|
[4812] | 17 | BuildRequires: gpgme-devel |
---|
[521] | 18 | BuildRequires: zlib-devel >= 1.2.1.1 |
---|
| 19 | BuildRequires: automake, libtool, gettext, gtk-doc |
---|
| 20 | |
---|
| 21 | # Mono only availible on these: |
---|
[12005] | 22 | %define mono_archs none |
---|
[521] | 23 | # no mono on s390 for now: s390 s390x |
---|
| 24 | |
---|
| 25 | %ifarch %mono_archs |
---|
| 26 | BuildRequires: mono-devel gtk-sharp2-gapi |
---|
| 27 | BuildRequires: gtk-sharp2 >= 2.8.0 |
---|
| 28 | %define monodir %{_prefix}/lib/mono |
---|
| 29 | %endif |
---|
| 30 | |
---|
[4616] | 31 | Vendor: Project Vine |
---|
| 32 | Distribution: Vine Linux |
---|
| 33 | |
---|
[521] | 34 | %description |
---|
| 35 | The GMime suite provides a core library and set of utilities which may be |
---|
| 36 | used for the creation and parsing of messages using the Multipurpose |
---|
| 37 | Internet Mail Extension (MIME). |
---|
| 38 | |
---|
| 39 | |
---|
| 40 | %package devel |
---|
| 41 | Summary: Header files to develop libgmime applications |
---|
| 42 | Group: Development/Libraries |
---|
| 43 | Requires: %{name} = %{version}-%{release} |
---|
| 44 | Requires: glib2-devel |
---|
| 45 | |
---|
| 46 | %description devel |
---|
| 47 | The GMime suite provides a core library and set of utilities which may be |
---|
| 48 | used for the creation and parsing of messages using the Multipurpose |
---|
| 49 | Internet Mail Extension (MIME). The devel-package contains header files |
---|
| 50 | to develop applications that use libgmime. |
---|
| 51 | |
---|
| 52 | %ifarch %mono_archs |
---|
| 53 | %package sharp |
---|
| 54 | Summary: mono bindings for gmime |
---|
| 55 | Group: Development/Libraries |
---|
| 56 | Requires: %{name} = %{version}-%{release} |
---|
| 57 | Requires: gtk-sharp2 |
---|
| 58 | |
---|
| 59 | %description sharp |
---|
| 60 | The GMime suite provides a core library and set of utilities which may be |
---|
| 61 | used for the creation and parsing of messages using the Multipurpose |
---|
| 62 | Internet Mail Extension (MIME). The devel-package contains support |
---|
| 63 | for developing mono applications that use libgmime. |
---|
| 64 | %endif |
---|
| 65 | |
---|
| 66 | %prep |
---|
| 67 | %setup -q |
---|
| 68 | |
---|
| 69 | %build |
---|
| 70 | cp %{_datadir}/gettext/config.rpath . |
---|
[805] | 71 | ## autoreconf --force --install |
---|
[521] | 72 | |
---|
| 73 | %ifarch %mono_archs |
---|
| 74 | export MONO_SHARED_DIR=%{_builddir}/%{?buildsubdir} |
---|
| 75 | MONO_ARGS="--enable-mono" |
---|
| 76 | %endif |
---|
| 77 | |
---|
| 78 | %configure $MONO_ARGS |
---|
| 79 | make %{?_smp_mflags} |
---|
| 80 | |
---|
| 81 | |
---|
| 82 | %install |
---|
| 83 | rm -rf $RPM_BUILD_ROOT |
---|
| 84 | export MONO_SHARED_DIR=%{_builddir}/%{?buildsubdir} |
---|
| 85 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 86 | |
---|
| 87 | find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';' |
---|
| 88 | |
---|
| 89 | # Don't conflict with sharutils: |
---|
[6011] | 90 | #mv $RPM_BUILD_ROOT%{_bindir}/uuencode $RPM_BUILD_ROOT%{_bindir}/gmime-uuencode |
---|
| 91 | #mv $RPM_BUILD_ROOT%{_bindir}/uudecode $RPM_BUILD_ROOT%{_bindir}/gmime-uudecode |
---|
[521] | 92 | |
---|
| 93 | |
---|
| 94 | %clean |
---|
| 95 | rm -rf $RPM_BUILD_ROOT |
---|
| 96 | |
---|
| 97 | %post -p /sbin/ldconfig |
---|
| 98 | |
---|
| 99 | %postun -p /sbin/ldconfig |
---|
| 100 | |
---|
| 101 | |
---|
| 102 | %files |
---|
| 103 | %defattr(-,root,root,-) |
---|
[12005] | 104 | %license COPYING |
---|
| 105 | %doc AUTHORS README.md TODO |
---|
[6011] | 106 | #%{_bindir}/gmime-uu??code |
---|
[521] | 107 | %{_libdir}/lib*.so.* |
---|
| 108 | |
---|
| 109 | %files devel |
---|
| 110 | %defattr(-,root,root,-) |
---|
| 111 | %{_libdir}/lib*.a |
---|
| 112 | %{_libdir}/lib*.so |
---|
[12005] | 113 | %{_libdir}/pkgconfig/gmime-%{apiver}.pc |
---|
| 114 | %{_includedir}/gmime-%{apiver} |
---|
| 115 | %{_datadir}/gtk-doc/html/gmime-%{docver} |
---|
[521] | 116 | |
---|
| 117 | %ifarch %mono_archs |
---|
| 118 | %files sharp |
---|
| 119 | %defattr(-,root,root,-) |
---|
[12005] | 120 | %{_libdir}/pkgconfig/gmime-sharp-%{apiver}.pc |
---|
[521] | 121 | %{monodir}/gac/gmime-sharp |
---|
[12005] | 122 | %{monodir}/gmime-sharp-%{apiver} |
---|
[6011] | 123 | %{_datadir}/gapi-2.0/gmime-api.xml |
---|
[521] | 124 | %endif |
---|
| 125 | |
---|
| 126 | |
---|
| 127 | %changelog |
---|
[12005] | 128 | * Sat Dec 29 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.2.3-1 |
---|
| 129 | - new upstream release. |
---|
| 130 | - disabled to build mono stuff. |
---|
| 131 | |
---|
[8353] | 132 | * Sat Mar 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.6.20-1 |
---|
| 133 | - new upstream release |
---|
| 134 | |
---|
[8119] | 135 | * Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.6.19-2 |
---|
| 136 | - rebuild with VineSeed environment |
---|
| 137 | |
---|
[7938] | 138 | * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.6.19-1 |
---|
| 139 | - new upstream release |
---|
| 140 | |
---|
[7756] | 141 | * Sun Aug 11 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.6.17-1 |
---|
| 142 | - new upstream release |
---|
| 143 | |
---|
| 144 | * Mon Jul 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.6.16-1 |
---|
| 145 | - new upstream release |
---|
| 146 | |
---|
[7516] | 147 | * Sun Mar 03 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.6.15-1 |
---|
| 148 | - new upstream release |
---|
| 149 | |
---|
[7294] | 150 | * Thu Jan 03 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.6.13-1 |
---|
| 151 | - new upstream release |
---|
| 152 | |
---|
[7067] | 153 | * Sun Nov 04 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.6.12-1 |
---|
| 154 | - new upstream release |
---|
| 155 | |
---|
[6965] | 156 | * Fri Oct 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.6.11-1 |
---|
| 157 | - new upstream release |
---|
| 158 | |
---|
[6401] | 159 | * Thu Jun 21 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.6.10-1 |
---|
| 160 | - new upstream release |
---|
| 161 | |
---|
[6084] | 162 | * Mon Apr 30 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.6.9-1 |
---|
| 163 | - new upstream release |
---|
| 164 | |
---|
[6011] | 165 | * Sun Apr 08 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.6.7-1 |
---|
| 166 | - new upstream release |
---|
| 167 | - remove Patch4 |
---|
| 168 | |
---|
[5335] | 169 | * Wed Dec 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.6.2-1 |
---|
| 170 | - new upstream release |
---|
| 171 | |
---|
[5168] | 172 | * Sun Nov 20 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.6.1-1 |
---|
| 173 | - new upstream release |
---|
| 174 | |
---|
[4812] | 175 | * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.6.0-1 |
---|
| 176 | - new upstream release |
---|
| 177 | - add BuildRequires: gpgme-devel |
---|
| 178 | |
---|
[4616] | 179 | * Mon Aug 15 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.25-1 |
---|
| 180 | - new upstream release |
---|
| 181 | |
---|
[3801] | 182 | * Thu May 05 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.24-1 |
---|
| 183 | - new upstream release |
---|
| 184 | |
---|
[2580] | 185 | * Wed Jan 26 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.22-1 |
---|
| 186 | - new upstream release |
---|
| 187 | |
---|
[7756] | 188 | * Tue Dec 21 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.21-1 |
---|
[2362] | 189 | - new upstream release |
---|
| 190 | |
---|
[2219] | 191 | * Sat Nov 20 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.20-1 |
---|
| 192 | - new upstream release |
---|
| 193 | |
---|
[2041] | 194 | * Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.19-1 |
---|
| 195 | - new upstream release |
---|
| 196 | |
---|
[1897] | 197 | * Sat Sep 25 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.17-2 |
---|
| 198 | - rebuild with rpm-4.8.1 for pkg-config file |
---|
| 199 | |
---|
[1231] | 200 | * Mon Jun 21 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.17-1 |
---|
| 201 | - new upstream release |
---|
| 202 | |
---|
[805] | 203 | * Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.15-1 |
---|
| 204 | - new upstream release |
---|
| 205 | - fix files for gmime-2.4 |
---|
| 206 | - drop Patch1, Patch2, Patch3 |
---|
| 207 | |
---|
[521] | 208 | * Thu Sep 18 2008 Shu KONNO <owa@bg.wakwak.com> 2.2.23-1vl5 |
---|
| 209 | - new upstream release |
---|
| 210 | - rebuilt with mono-2.0 |
---|
| 211 | - added gmime-2.2.23-gacutil.patch |
---|
| 212 | |
---|
| 213 | * Tue Aug 26 2008 Shu KONNO <owa@bg.wakwak.com> 2.2.9-1vl5 |
---|
| 214 | - applied new versioning policy, spec in utf-8 |
---|
| 215 | - updated gmime to 2.2.9 |
---|
| 216 | - dropt gmime-2.2.3-libdir.patch |
---|
| 217 | - dropt gmime-2.2.3-automake.patch |
---|
| 218 | |
---|
| 219 | * Sun Apr 29 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.3-0vl1 |
---|
| 220 | - initial build for Vine Linux |
---|
| 221 | |
---|
| 222 | * Tue Feb 6 2007 Alexander Larsson <alexl@redhat.com> - 2.2.3-5 |
---|
| 223 | - Fix build with new automake (#224157) |
---|
| 224 | |
---|
| 225 | * Thu Oct 12 2006 Alexander Larsson <alexl@redhat.com> - 2.2.3-4 |
---|
| 226 | - Bump glib requirement to 2.6 (#209565) |
---|
| 227 | |
---|
| 228 | * Tue Sep 5 2006 Alexander Larsson <alexl@redhat.com> - 2.2.3-3 |
---|
| 229 | - fix gmime-config multilib conflict (#205208) |
---|
| 230 | |
---|
| 231 | * Sat Aug 19 2006 Matthias Clasen <mclasen@redhat.com> - 2.2.3-2 |
---|
| 232 | - Rebuild |
---|
| 233 | |
---|
| 234 | * Fri Aug 18 2006 Alexander Larsson <alexl@redhat.com> - 2.2.3-1 |
---|
| 235 | - Upgrade to 2.2.3 |
---|
| 236 | - Use the new mono libdir |
---|
| 237 | |
---|
| 238 | * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - sh: line 0: fg: no job control |
---|
| 239 | - rebuild |
---|
| 240 | |
---|
| 241 | * Fri Jun 9 2006 Alexander Larsson <alexl@redhat.com> - 2.2.1-2 |
---|
| 242 | - Disable mono parts on s390* as mono doesn't build on s390 atm |
---|
| 243 | |
---|
| 244 | * Tue May 23 2006 Alexander Larsson <alexl@redhat.com> - 2.2.1-1 |
---|
| 245 | - Update to 2.2.1 |
---|
| 246 | - Fix multilib -devel conflict by using pkg-config in gmime-config (#192675) |
---|
| 247 | |
---|
| 248 | * Tue Feb 28 2006 Karsten Hopp <karsten@redhat.de> 2.1.19-4 |
---|
| 249 | - BuildRequires: gtk-sharp2 on mono archs only |
---|
| 250 | |
---|
| 251 | * Sun Feb 12 2006 Christopher Aillon <caillon@redhat.com> - 2.1.19-3 |
---|
| 252 | - Rebuild |
---|
| 253 | |
---|
| 254 | * Tue Feb 7 2006 Jesse Keating <jkeating@redhat.com> - 2.1.19-2.1 |
---|
| 255 | - rebuilt for new gcc4.1 snapshot and glibc changes |
---|
| 256 | |
---|
| 257 | * Tue Jan 31 2006 Christopher Aillon <caillon@redhat.com> - 2.1.19-2 |
---|
| 258 | - Rebuild |
---|
| 259 | |
---|
| 260 | * Sun Jan 22 2006 Alexander Larsson <alexl@redhat.com> - 2.1.19-1 |
---|
| 261 | - Update to 2.1.19 (needed by beagle 0.2.0) |
---|
| 262 | |
---|
| 263 | * Thu Jan 19 2006 Alexander Larsson <alexl@redhat.com> 2.1.17-3 |
---|
| 264 | - Build on s390x |
---|
| 265 | |
---|
| 266 | * Mon Jan 9 2006 Alexander Larsson <alexl@redhat.com> 2.1.17-2 |
---|
| 267 | - build gmime-sharp conditionally on mono arches |
---|
| 268 | |
---|
| 269 | * Mon Jan 9 2006 Alexander Larsson <alexl@redhat.com> - 2.1.17-1 |
---|
| 270 | - Move from Extras to Core, Update to 2.1.17, add gmime-sharp subpackage |
---|
| 271 | |
---|
| 272 | * Wed Aug 10 2005 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 2.1.15-1 |
---|
| 273 | - Update to 2.1.15 |
---|
| 274 | - Use dist |
---|
| 275 | |
---|
| 276 | * Wed May 18 2005 Colin Charles <colin@fedoraproject.org> - 2.1.9-5 |
---|
| 277 | - bump release, request build on ppc |
---|
| 278 | |
---|
| 279 | * Thu Mar 31 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 2.1.9-4 |
---|
| 280 | - add dep glib2-devel for pkgconfig in -devel package |
---|
| 281 | |
---|
| 282 | * Mon Oct 18 2004 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 0:2.1.9-0.fdr.3 |
---|
| 283 | - Remove ldconfig from Requires pre and post |
---|
| 284 | |
---|
| 285 | * Mon Oct 18 2004 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 0:2.1.9-0.fdr.2 |
---|
| 286 | - BR zlib-devel |
---|
| 287 | - Don't ship empty news file |
---|
| 288 | - Fixes to the files section |
---|
| 289 | - Change ldconfig in post* calls to -p /sbin/ldconfig |
---|
| 290 | |
---|
| 291 | |
---|
| 292 | * Sun Oct 17 2004 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 0:2.1.9-0.fdr.1 |
---|
| 293 | - Initial RPM release. |
---|