gtkmm2-vl.spec 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  1. %define ver 2.4
  2. Summary: A C++ interface for the GTK+ (a GUI library for X).
  3. Summary(ja): GTK+ の C++ インターフェイス
  4. Name: gtkmm2
  5. Version: 2.20.3
  6. Release: 1%{?_dist_release}
  7. License: LGPL
  8. Group: System Environment/Libraries
  9. Source: ftp://ftp.gnome.org/pub/GNOME/sources/gtkmm/2.20/gtkmm-%{version}.tar.bz2
  10. URL: http://gtkmm.sourceforge.net/
  11. Buildroot: %{_tmppath}/%{name}-%{version}-root
  12. Requires: glibmm >= 2.21.2
  13. Requires: pangomm >= 2.25.1.3
  14. Requires: atk >= 1.9.0
  15. Requires: gtk2 >= 2.17.11
  16. BuildRequires: glibmm-devel >= 2.21.2
  17. BuildRequires: cairomm-devel
  18. BuildRequires: pangomm-devel >= 2.25.1.3
  19. BuildRequires: atk-devel >= 1.9.0
  20. BuildRequires: gtk2-devel >= 2.17.11
  21. BuildRequires: libsigc++-devel >= 2.0.0
  22. %description
  23. gtkmm (previously known as Gtk--) is the official C++ interface for the
  24. popular GUI library GTK+. Highlights include typesafe callbacks, widgets
  25. extensible via inheritance and a comprehensive set of widget classes that
  26. can be freely combined to quickly create complex user interfaces.
  27. The gtkmm devel package contains the static libraries and header files
  28. needed for developing GTK+ (GIMP ToolKit) applications in C++.
  29. %package devel
  30. Summary: Development tools for gtkmm applications.
  31. Summary(ja): gtkmm アプリケーションの開発用ファイル
  32. Group: Development/Libraries
  33. Requires: %{name} = %{version}
  34. Requires: gtk2-devel >= 2.17.11
  35. Requires: glibmm-devel >= 2.21.2
  36. Requires: cairomm-devel
  37. Requires: pangomm-devel >= 2.25.1.3
  38. %description devel
  39. This package contains the headers that programmers will need to develop
  40. applications which will use Gtk--, the C++ interface to the GTK+
  41. (the Gimp ToolKit) GUI library.
  42. %prep
  43. %setup -q -n gtkmm-%{version}
  44. #patch0 -p1
  45. %build
  46. %configure --disable-static
  47. make %{?_smp_mflags}
  48. %install
  49. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  50. make install DESTDIR=$RPM_BUILD_ROOT
  51. find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
  52. # Fix documentation installation, put everything under gtk-doc
  53. mkdir -p $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html/gtkmm-%{ver}
  54. mv ${RPM_BUILD_ROOT}%{_docdir}/gtkmm-%{ver}/* $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html/gtkmm-%{ver}/
  55. # devhelp path fix
  56. sed -i 's:doc/gtkmm-%{ver}:gtk-doc/html/gtkmm-%{ver}:g' $RPM_BUILD_ROOT%{_datadir}/devhelp/books/gtkmm-%{ver}/gtkmm-%{ver}.devhelp2
  57. # remove demos, examples
  58. rm -rf $RPM_BUILD_ROOT%{_datadir}/gtkmm-%{ver}/demo
  59. rm -rf $RPM_BUILD_ROOT%{_datadir}/gtkmm-%{ver}/examples
  60. %post -p /sbin/ldconfig
  61. %postun -p /sbin/ldconfig
  62. %clean
  63. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  64. %files
  65. %defattr(-, root, root)
  66. %doc AUTHORS COPYING ChangeLog NEWS README
  67. %{_libdir}/lib*.so.*
  68. %files devel
  69. %defattr(-, root, root)
  70. %{_includedir}/*
  71. #{_libdir}/*.la
  72. #{_libdir}/*.a
  73. %{_libdir}/*.so
  74. %{_libdir}/gtkmm-*
  75. %{_libdir}/gdkmm-*
  76. %{_libdir}/pkgconfig/*.pc
  77. %{_datadir}/gtk-doc/html/*
  78. %{_datadir}/devhelp/books/*
  79. %changelog
  80. * Mon Jun 21 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.20.3-1
  81. - new upstream release
  82. * Sat May 01 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.20.2-1
  83. - new upstream release
  84. * Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.20.0-1
  85. - new upstream release
  86. * Mon Oct 5 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.18.2-1
  87. - new upstream release
  88. * Fri Mar 20 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.16.0-1
  89. - new upstream release
  90. - dropped Patch0
  91. * Sat Oct 4 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.14.1-1vl5
  92. - new upstream release
  93. - added --disable-static to %%configure
  94. - added Patch0 for devhelp path fix
  95. - spec in UTF-8
  96. * Sat Apr 12 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.12.7-1vl5
  97. - new upstream release
  98. - devel documents are installed into gtk-doc dir
  99. * Sun Jan 13 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.12.3-0vl1
  100. - new upstream release
  101. * Fri May 11 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10.10-0vl1
  102. - new upstream release
  103. - rebuild with new environment/toolchain
  104. * Mon Apr 30 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.10.9-0vl1
  105. - new upstream release
  106. - added Requires/BuildRequires for cairomm
  107. * Tue Jan 9 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.10-0vl1
  108. - new upstream release
  109. * Sun Sep 24 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.9-0vl1
  110. - new upstream release
  111. * Sat Aug 19 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.8-0vl2
  112. - rebuilt with glibmm-2.12.0, pango-1.14.0, atk-1.12.1
  113. * Sat May 20 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.8-0vl1
  114. - new upstream release
  115. * Mon May 15 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.7-0vl1
  116. - new upstream release
  117. * Tue Apr 25 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.5-0vl1
  118. - new upstream release
  119. * Sat Feb 4 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.3-0vl1
  120. - new upstream release
  121. * Sat Nov 19 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.1-0vl1
  122. - new upstream release
  123. * Tue Sep 20 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.0-0vl1
  124. - new upstream release
  125. * Wed Aug 17 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6.4-0vl2
  126. - rebuild with libsigc++ 2.0.16, libtool 1.5.18
  127. - added Requires: pkgconfig
  128. - added Requires: glibmm-devel to devel package
  129. * Sun Jul 31 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6.4-0vl1
  130. - new upstream release
  131. * Tue May 03 2005 Satoshi MACHINO <machino@vinelinux.org> 2.6.2-0vl1
  132. - new upstream release
  133. - changed Copylight to License
  134. * Sat Apr 2 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6.1-0vl1
  135. - new upstream release
  136. - updated dependancy
  137. * Sun Feb 27 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.11-0vl1
  138. - new upstream release
  139. * Sat Dec 11 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.8-0vl1
  140. - new upstream release
  141. * Sun Nov 14 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.7-0vl1
  142. - new upstream release
  143. - fixed libraries dependancy
  144. - added Japanese summary
  145. * Tue Dec 16 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.8-1vl1
  146. - rebuild for Vine Linux
  147. - based on Freshrpms
  148. * Thu Nov 12 2003 Matthias Saou <http://freshrpms.net/> - 2.2.8-1.fr
  149. - Update to 2.2.8.
  150. - Added devhelp book.
  151. - Rebuild for Fedora Core 1.
  152. * Tue Jul 22 2003 Matthias Saou <matthias.saou@est.une.marmotte.net>
  153. - Update to 2.2.5.
  154. * Fri May 23 2003 Matthias Saou <matthias.saou@est.une.marmotte.net>
  155. - Update to 2.2.3.
  156. * Thu May 22 2003 Matthias Saou <matthias.saou@est.une.marmotte.net>
  157. - Update to 2.2.2.
  158. * Sun May 4 2003 Matthias Saou <matthias.saou@est.une.marmotte.net>
  159. - Initial release based on the gtkmm 1.x spec file.