gtkmm3-vl.spec 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  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.2
  6. Release: 1%{?_dist_release}
  7. Vendor: Project Vine
  8. Distribution: Vine Linux
  9. License: LGPL
  10. URL: https://www.gtkmm.org/
  11. %global shortver %(echo %{version} | sed -e 's/\.[0-9]*$//')
  12. Source: https://download.gnome.org/sources/gtkmm/%{shortver}/gtkmm-%{version}.tar.xz
  13. Buildroot: %{_tmppath}/%{name}-%{version}-root
  14. Requires: glibmm >= 2.33.13
  15. Requires: pangomm >= 2.27.1
  16. Requires: atk >= 1.9.0
  17. Requires: gtk3 >= 3.6.0
  18. BuildRequires: glibmm-devel >= 2.33.13
  19. BuildRequires: cairomm-devel
  20. BuildRequires: pangomm-devel >= 2.27.1
  21. BuildRequires: atkmm-devel
  22. BuildRequires: gtk3-devel >= 3.6.0
  23. BuildRequires: libsigc++-devel >= 2.0.0
  24. BuildRequires: doxygen
  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 "%{buildroot}" -a "%{buildroot}" != / ] && rm -rf %{buildroot}
  52. make install DESTDIR=%{buildroot}
  53. find %{buildroot} -type f -name "*.la" -exec rm -f {} ';'
  54. # Fix documentation installation, put everything under gtk-doc
  55. mkdir -p %{buildroot}%{_datadir}/gtk-doc/html/gtkmm-%{ver}
  56. mv ${RPM_BUILD_ROOT}%{_docdir}/gtkmm-%{ver}/* %{buildroot}%{_datadir}/gtk-doc/html/gtkmm-%{ver}/
  57. # devhelp path fix
  58. sed -i 's:doc/gtkmm-%{ver}:gtk-doc/html/gtkmm-%{ver}:g' %{buildroot}%{_datadir}/devhelp/books/gtkmm-%{ver}/gtkmm-%{ver}.devhelp2
  59. # remove demos, examples
  60. rm -rf %{buildroot}%{_datadir}/gtkmm-%{ver}/demo
  61. rm -rf %{buildroot}%{_datadir}/gtkmm-%{ver}/examples
  62. %post -p /sbin/ldconfig
  63. %postun -p /sbin/ldconfig
  64. %clean
  65. [ -n "%{buildroot}" -a "%{buildroot}" != / ] && rm -rf %{buildroot}
  66. %files
  67. %defattr(-, root, root)
  68. %license COPYING
  69. %doc AUTHORS ChangeLog NEWS README
  70. %{_libdir}/lib*.so.*
  71. %files devel
  72. %defattr(-, root, root)
  73. %{_includedir}/*
  74. #{_libdir}/*.la
  75. #{_libdir}/*.a
  76. %{_libdir}/*.so
  77. %{_libdir}/gtkmm-*
  78. %{_libdir}/gdkmm-*
  79. %{_libdir}/pkgconfig/*.pc
  80. %{_datadir}/gtk-doc/html/*
  81. %{_datadir}/devhelp/books/*
  82. %changelog
  83. * Sun Aug 02 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.24.2-1
  84. - new upstream release.
  85. * Fri Dec 28 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.22.3-1
  86. - new upstream release.
  87. * Fri Jul 15 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.20.1-1
  88. - new upstream release
  89. * Wed Jun 29 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.1-1
  90. - new upstream release
  91. * Sat Oct 31 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.0-1
  92. - new upstream release
  93. * Sun Mar 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.0-1
  94. - new upstream release
  95. * Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.0-1
  96. - new upstream release
  97. * Sat Apr 19 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.0-1
  98. - new upstream release
  99. * Sat Nov 09 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-1
  100. - new upstream release
  101. * Sat May 18 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1
  102. - new upstream release
  103. * Mon Oct 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1
  104. - new upstream release
  105. * Sat Oct 13 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.5.13-1
  106. - new upstream release
  107. * Thu Sep 27 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.5.12-1
  108. - new upstream release
  109. - add BuildRequires: doxygen
  110. * Sun Apr 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.0-1
  111. - new upstream release
  112. * Wed Sep 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1
  113. - new upstream release
  114. * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.90.1-1
  115. - new upstream release
  116. * Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.16-1
  117. - new upstream release
  118. * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.10-1
  119. - initial build for Vine Linux