gtkmm3-vl.spec 4.8 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.3
  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. %post -p /sbin/ldconfig
  70. %postun -p /sbin/ldconfig
  71. %clean
  72. [ -n "%{buildroot}" -a "%{buildroot}" != / ] && rm -rf %{buildroot}
  73. %files
  74. %defattr(-, root, root)
  75. %license COPYING
  76. %doc AUTHORS ChangeLog NEWS README
  77. %{_libdir}/lib*.so.*
  78. %files devel
  79. %defattr(-, root, root)
  80. %{_includedir}/*
  81. #{_libdir}/*.la
  82. #{_libdir}/*.a
  83. %{_libdir}/*.so
  84. %{_libdir}/gtkmm-*
  85. %{_libdir}/gdkmm-*
  86. %{_libdir}/pkgconfig/*.pc
  87. %{_datadir}/gtk-doc/html/*
  88. %{_datadir}/devhelp/books/*
  89. %changelog
  90. * Fri Feb 12 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.24.3-1
  91. - new upstream release.
  92. * Sun Aug 02 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.24.2-1
  93. - new upstream release.
  94. * Fri Dec 28 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.22.3-1
  95. - new upstream release.
  96. * Fri Jul 15 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.20.1-1
  97. - new upstream release
  98. * Wed Jun 29 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.1-1
  99. - new upstream release
  100. * Sat Oct 31 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.0-1
  101. - new upstream release
  102. * Sun Mar 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.0-1
  103. - new upstream release
  104. * Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.0-1
  105. - new upstream release
  106. * Sat Apr 19 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.0-1
  107. - new upstream release
  108. * Sat Nov 09 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-1
  109. - new upstream release
  110. * Sat May 18 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1
  111. - new upstream release
  112. * Mon Oct 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1
  113. - new upstream release
  114. * Sat Oct 13 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.5.13-1
  115. - new upstream release
  116. * Thu Sep 27 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.5.12-1
  117. - new upstream release
  118. - add BuildRequires: doxygen
  119. * Sun Apr 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.0-1
  120. - new upstream release
  121. * Wed Sep 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1
  122. - new upstream release
  123. * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.90.1-1
  124. - new upstream release
  125. * Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.16-1
  126. - new upstream release
  127. * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.10-1
  128. - initial build for Vine Linux