gtkmm3-vl.spec 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  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.24.4
  6. Release: 1%{?_dist_release}
  7. Group: system
  8. Vendor: Project Vine
  9. Distribution: Vine Linux
  10. License: LGPL
  11. URL: https://www.gtkmm.org/
  12. %global shortver %(echo %{version} | sed -e 's/\.[0-9]*$//')
  13. Source: https://download.gnome.org/sources/gtkmm/%{shortver}/gtkmm-%{version}.tar.xz
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  15. BuildRequires: meson
  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. Requires: glibmm >= 2.33.13
  24. Requires: pangomm >= 2.27.1
  25. Requires: atk >= 1.9.0
  26. Requires: gtk3 >= 3.6.0
  27. %description
  28. gtkmm (previously known as Gtk--) is the official C++ interface for the
  29. popular GUI library GTK+. Highlights include typesafe callbacks, widgets
  30. extensible via inheritance and a comprehensive set of widget classes that
  31. can be freely combined to quickly create complex user interfaces.
  32. The gtkmm devel package contains the static libraries and header files
  33. needed for developing GTK+ (GIMP ToolKit) applications in C++.
  34. %package devel
  35. Summary: Development tools for gtkmm applications.
  36. Summary(ja): gtkmm アプリケーションの開発用ファイル
  37. Group: programming
  38. Requires: %{name} = %{version}
  39. Requires: gtk3-devel >= 3.6.0
  40. Requires: glibmm-devel >= 2.33.13
  41. Requires: cairomm-devel
  42. Requires: pangomm-devel >= 2.27.1
  43. %description devel
  44. This package contains the headers that programmers will need to develop
  45. applications which will use Gtk--, the C++ interface to the GTK+
  46. (the Gimp ToolKit) GUI library.
  47. %debug_package
  48. %prep
  49. %setup -q -n gtkmm-%{version}
  50. %build
  51. %meson \
  52. -Dmaintainer-mode=false \
  53. -Dbuild-documentation=true \
  54. -Dbuild-demos=false \
  55. -Dbuild-tests=false
  56. %meson_build
  57. %install
  58. [ -n "%{buildroot}" -a "%{buildroot}" != / ] && rm -rf %{buildroot}
  59. %meson_install
  60. find %{buildroot} -type f -name "*.la" -exec rm -f {} ';'
  61. # Fix documentation installation, put everything under gtk-doc
  62. mkdir -p %{buildroot}%{_datadir}/gtk-doc/html/gtkmm-%{ver}
  63. mv ${RPM_BUILD_ROOT}%{_docdir}/gtkmm-%{ver}/* %{buildroot}%{_datadir}/gtk-doc/html/gtkmm-%{ver}/
  64. # devhelp path fix
  65. sed -i 's:doc/gtkmm-%{ver}:gtk-doc/html/gtkmm-%{ver}:g' %{buildroot}%{_datadir}/devhelp/books/gtkmm-%{ver}/gtkmm-%{ver}.devhelp2
  66. # remove demos, examples
  67. rm -rf %{buildroot}%{_datadir}/gtkmm-%{ver}/demo
  68. rm -rf %{buildroot}%{_datadir}/gtkmm-%{ver}/examples
  69. %clean
  70. [ -n "%{buildroot}" -a "%{buildroot}" != / ] && rm -rf %{buildroot}
  71. %files
  72. %defattr(-, root, root)
  73. %license COPYING
  74. %doc AUTHORS 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. * Thu May 13 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.24.4-1
  89. - new upstream release.
  90. - dropped ldconfig scriptlets.
  91. * Fri Feb 12 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.24.3-1
  92. - new upstream release.
  93. * Sun Aug 02 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.24.2-1
  94. - new upstream release.
  95. * Fri Dec 28 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.22.3-1
  96. - new upstream release.
  97. * Fri Jul 15 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.20.1-1
  98. - new upstream release
  99. * Wed Jun 29 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.1-1
  100. - new upstream release
  101. * Sat Oct 31 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.0-1
  102. - new upstream release
  103. * Sun Mar 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.0-1
  104. - new upstream release
  105. * Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.0-1
  106. - new upstream release
  107. * Sat Apr 19 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.0-1
  108. - new upstream release
  109. * Sat Nov 09 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-1
  110. - new upstream release
  111. * Sat May 18 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1
  112. - new upstream release
  113. * Mon Oct 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1
  114. - new upstream release
  115. * Sat Oct 13 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.5.13-1
  116. - new upstream release
  117. * Thu Sep 27 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.5.12-1
  118. - new upstream release
  119. - add BuildRequires: doxygen
  120. * Sun Apr 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.0-1
  121. - new upstream release
  122. * Wed Sep 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1
  123. - new upstream release
  124. * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.90.1-1
  125. - new upstream release
  126. * Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.16-1
  127. - new upstream release
  128. * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.10-1
  129. - initial build for Vine Linux