gtkmm3-vl.spec 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. %define ver 3.0
  2. Summary: A C++ interface for the GTK+ (a GUI library for X).
  3. Summary(ja): GTK+ の C++ インターフェイス
  4. Name: gtkmm3
  5. Version: 3.20.1
  6. Release: 1%{?_dist_release}
  7. License: LGPL
  8. Group: System Environment/Libraries
  9. Source: ftp://ftp.gnome.org/pub/GNOME/sources/gtkmm/3.20/gtkmm-%{version}.tar.xz
  10. URL: http://gtkmm.sourceforge.net/
  11. Buildroot: %{_tmppath}/%{name}-%{version}-root
  12. Requires: glibmm >= 2.33.13
  13. Requires: pangomm >= 2.27.1
  14. Requires: atk >= 1.9.0
  15. Requires: gtk3 >= 3.6.0
  16. BuildRequires: glibmm-devel >= 2.33.13
  17. BuildRequires: cairomm-devel
  18. BuildRequires: pangomm-devel >= 2.27.1
  19. BuildRequires: atkmm-devel
  20. BuildRequires: gtk3-devel >= 3.6.0
  21. BuildRequires: libsigc++-devel >= 2.0.0
  22. BuildRequires: doxygen
  23. Vendor: Project Vine
  24. Distribution: Vine Linux
  25. %description
  26. gtkmm (previously known as Gtk--) is the official C++ interface for the
  27. popular GUI library GTK+. Highlights include typesafe callbacks, widgets
  28. extensible via inheritance and a comprehensive set of widget classes that
  29. can be freely combined to quickly create complex user interfaces.
  30. The gtkmm devel package contains the static libraries and header files
  31. needed for developing GTK+ (GIMP ToolKit) applications in C++.
  32. %package devel
  33. Summary: Development tools for gtkmm applications.
  34. Summary(ja): gtkmm アプリケーションの開発用ファイル
  35. Group: Development/Libraries
  36. Requires: %{name} = %{version}
  37. Requires: gtk3-devel >= 3.6.0
  38. Requires: glibmm-devel >= 2.33.13
  39. Requires: cairomm-devel
  40. Requires: pangomm-devel >= 2.27.1
  41. %description devel
  42. This package contains the headers that programmers will need to develop
  43. applications which will use Gtk--, the C++ interface to the GTK+
  44. (the Gimp ToolKit) GUI library.
  45. %prep
  46. %setup -q -n gtkmm-%{version}
  47. %build
  48. %configure --disable-static
  49. make %{?_smp_mflags}
  50. %install
  51. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  52. make install DESTDIR=$RPM_BUILD_ROOT
  53. find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
  54. # Fix documentation installation, put everything under gtk-doc
  55. mkdir -p $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html/gtkmm-%{ver}
  56. mv ${RPM_BUILD_ROOT}%{_docdir}/gtkmm-%{ver}/* $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html/gtkmm-%{ver}/
  57. # devhelp path fix
  58. sed -i 's:doc/gtkmm-%{ver}:gtk-doc/html/gtkmm-%{ver}:g' $RPM_BUILD_ROOT%{_datadir}/devhelp/books/gtkmm-%{ver}/gtkmm-%{ver}.devhelp2
  59. # remove demos, examples
  60. rm -rf $RPM_BUILD_ROOT%{_datadir}/gtkmm-%{ver}/demo
  61. rm -rf $RPM_BUILD_ROOT%{_datadir}/gtkmm-%{ver}/examples
  62. %post -p /sbin/ldconfig
  63. %postun -p /sbin/ldconfig
  64. %clean
  65. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  66. %files
  67. %defattr(-, root, root)
  68. %doc AUTHORS COPYING ChangeLog NEWS README
  69. %{_libdir}/lib*.so.*
  70. %files devel
  71. %defattr(-, root, root)
  72. %{_includedir}/*
  73. #{_libdir}/*.la
  74. #{_libdir}/*.a
  75. %{_libdir}/*.so
  76. %{_libdir}/gtkmm-*
  77. %{_libdir}/gdkmm-*
  78. %{_libdir}/pkgconfig/*.pc
  79. %{_datadir}/gtk-doc/html/*
  80. %{_datadir}/devhelp/books/*
  81. %changelog
  82. * Fri Jul 15 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.20.1-1
  83. - new upstream release
  84. * Wed Jun 29 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.1-1
  85. - new upstream release
  86. * Sat Oct 31 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.0-1
  87. - new upstream release
  88. * Sun Mar 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.0-1
  89. - new upstream release
  90. * Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.0-1
  91. - new upstream release
  92. * Sat Apr 19 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.0-1
  93. - new upstream release
  94. * Sat Nov 09 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-1
  95. - new upstream release
  96. * Sat May 18 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1
  97. - new upstream release
  98. * Mon Oct 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1
  99. - new upstream release
  100. * Sat Oct 13 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.5.13-1
  101. - new upstream release
  102. * Thu Sep 27 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.5.12-1
  103. - new upstream release
  104. - add BuildRequires: doxygen
  105. * Sun Apr 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.0-1
  106. - new upstream release
  107. * Wed Sep 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1
  108. - new upstream release
  109. * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.90.1-1
  110. - new upstream release
  111. * Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.16-1
  112. - new upstream release
  113. * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.10-1
  114. - initial build for Vine Linux