gtkmm2-vl.spec 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219
  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.22.0
  6. Release: 1%{?_dist_release}
  7. License: LGPL
  8. Group: System Environment/Libraries
  9. Source: ftp://ftp.gnome.org/pub/GNOME/sources/gtkmm/2.22/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: atkmm-devel
  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. * Sat Oct 02 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.22.0-1
  81. - new upstream release
  82. - change BuildRequires: atkmm-devel instead of atk-devel
  83. * Tue Sep 21 2010 IWAI, Masaharu <iwai@alib.jp> 2.20.3-2
  84. - build with rpm-4.8.1-1 for pkg-config file
  85. * Mon Jun 21 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.20.3-1
  86. - new upstream release
  87. * Sat May 01 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.20.2-1
  88. - new upstream release
  89. * Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.20.0-1
  90. - new upstream release
  91. * Mon Oct 5 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.18.2-1
  92. - new upstream release
  93. * Fri Mar 20 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.16.0-1
  94. - new upstream release
  95. - dropped Patch0
  96. * Sat Oct 4 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.14.1-1vl5
  97. - new upstream release
  98. - added --disable-static to %%configure
  99. - added Patch0 for devhelp path fix
  100. - spec in UTF-8
  101. * Sat Apr 12 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.12.7-1vl5
  102. - new upstream release
  103. - devel documents are installed into gtk-doc dir
  104. * Sun Jan 13 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.12.3-0vl1
  105. - new upstream release
  106. * Fri May 11 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10.10-0vl1
  107. - new upstream release
  108. - rebuild with new environment/toolchain
  109. * Mon Apr 30 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.10.9-0vl1
  110. - new upstream release
  111. - added Requires/BuildRequires for cairomm
  112. * Tue Jan 9 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.10-0vl1
  113. - new upstream release
  114. * Sun Sep 24 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.9-0vl1
  115. - new upstream release
  116. * Sat Aug 19 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.8-0vl2
  117. - rebuilt with glibmm-2.12.0, pango-1.14.0, atk-1.12.1
  118. * Sat May 20 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.8-0vl1
  119. - new upstream release
  120. * Mon May 15 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.7-0vl1
  121. - new upstream release
  122. * Tue Apr 25 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.5-0vl1
  123. - new upstream release
  124. * Sat Feb 4 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.3-0vl1
  125. - new upstream release
  126. * Sat Nov 19 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.1-0vl1
  127. - new upstream release
  128. * Tue Sep 20 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.0-0vl1
  129. - new upstream release
  130. * Wed Aug 17 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6.4-0vl2
  131. - rebuild with libsigc++ 2.0.16, libtool 1.5.18
  132. - added Requires: pkgconfig
  133. - added Requires: glibmm-devel to devel package
  134. * Sun Jul 31 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6.4-0vl1
  135. - new upstream release
  136. * Tue May 03 2005 Satoshi MACHINO <machino@vinelinux.org> 2.6.2-0vl1
  137. - new upstream release
  138. - changed Copylight to License
  139. * Sat Apr 2 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6.1-0vl1
  140. - new upstream release
  141. - updated dependancy
  142. * Sun Feb 27 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.11-0vl1
  143. - new upstream release
  144. * Sat Dec 11 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.8-0vl1
  145. - new upstream release
  146. * Sun Nov 14 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.7-0vl1
  147. - new upstream release
  148. - fixed libraries dependancy
  149. - added Japanese summary
  150. * Tue Dec 16 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.8-1vl1
  151. - rebuild for Vine Linux
  152. - based on Freshrpms
  153. * Thu Nov 12 2003 Matthias Saou <http://freshrpms.net/> - 2.2.8-1.fr
  154. - Update to 2.2.8.
  155. - Added devhelp book.
  156. - Rebuild for Fedora Core 1.
  157. * Tue Jul 22 2003 Matthias Saou <matthias.saou@est.une.marmotte.net>
  158. - Update to 2.2.5.
  159. * Fri May 23 2003 Matthias Saou <matthias.saou@est.une.marmotte.net>
  160. - Update to 2.2.3.
  161. * Thu May 22 2003 Matthias Saou <matthias.saou@est.une.marmotte.net>
  162. - Update to 2.2.2.
  163. * Sun May 4 2003 Matthias Saou <matthias.saou@est.une.marmotte.net>
  164. - Initial release based on the gtkmm 1.x spec file.