gmime-vl.spec 8.6 KB

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