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