gtkmm2-vl.spec 7.1 KB

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