gtkmm3-vl.spec 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  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.3.20
  6. Release: 1%{?_dist_release}
  7. License: LGPL
  8. Group: System Environment/Libraries
  9. Source: ftp://ftp.gnome.org/pub/GNOME/sources/gtkmm/3.3/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: gtk3 >= 3.0.0
  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: gtk3-devel >= 3.0.0
  21. BuildRequires: libsigc++-devel >= 2.0.0
  22. Vendor: Project Vine
  23. Distribution: Vine Linux
  24. %description
  25. gtkmm (previously known as Gtk--) is the official C++ interface for the
  26. popular GUI library GTK+. Highlights include typesafe callbacks, widgets
  27. extensible via inheritance and a comprehensive set of widget classes that
  28. can be freely combined to quickly create complex user interfaces.
  29. The gtkmm devel package contains the static libraries and header files
  30. needed for developing GTK+ (GIMP ToolKit) applications in C++.
  31. %package devel
  32. Summary: Development tools for gtkmm applications.
  33. Summary(ja): gtkmm アプリケーションの開発用ファイル
  34. Group: Development/Libraries
  35. Requires: %{name} = %{version}
  36. Requires: gtk3-devel >= 3.0.0
  37. Requires: glibmm-devel >= 2.21.2
  38. Requires: cairomm-devel
  39. Requires: pangomm-devel >= 2.25.1.3
  40. %description devel
  41. This package contains the headers that programmers will need to develop
  42. applications which will use Gtk--, the C++ interface to the GTK+
  43. (the Gimp ToolKit) GUI library.
  44. %prep
  45. %setup -q -n gtkmm-%{version}
  46. #patch0 -p1
  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. * Sat Mar 31 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.3.20-1
  83. - new upstream release
  84. * Wed Sep 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1
  85. - new upstream release
  86. * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.90.1-1
  87. - new upstream release
  88. * Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.16-1
  89. - new upstream release
  90. * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.10-1
  91. - initial build for Vine Linux