gtkmm2-vl.spec 6.9 KB

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