gmime-vl.spec 8.4 KB

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