gmime-vl.spec 7.3 KB

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