gtkmm2-vl.spec 6.2 KB

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