gtkmm3-vl.spec 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  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.6.0
  6. Release: 1%{?_dist_release}
  7. License: LGPL
  8. Group: System Environment/Libraries
  9. Source: ftp://ftp.gnome.org/pub/GNOME/sources/gtkmm/3.6/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. #patch0 -p1
  48. %build
  49. %configure --disable-static
  50. make %{?_smp_mflags}
  51. %install
  52. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  53. make install DESTDIR=$RPM_BUILD_ROOT
  54. find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
  55. # Fix documentation installation, put everything under gtk-doc
  56. mkdir -p $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html/gtkmm-%{ver}
  57. mv ${RPM_BUILD_ROOT}%{_docdir}/gtkmm-%{ver}/* $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html/gtkmm-%{ver}/
  58. # devhelp path fix
  59. sed -i 's:doc/gtkmm-%{ver}:gtk-doc/html/gtkmm-%{ver}:g' $RPM_BUILD_ROOT%{_datadir}/devhelp/books/gtkmm-%{ver}/gtkmm-%{ver}.devhelp2
  60. # remove demos, examples
  61. rm -rf $RPM_BUILD_ROOT%{_datadir}/gtkmm-%{ver}/demo
  62. rm -rf $RPM_BUILD_ROOT%{_datadir}/gtkmm-%{ver}/examples
  63. %post -p /sbin/ldconfig
  64. %postun -p /sbin/ldconfig
  65. %clean
  66. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  67. %files
  68. %defattr(-, root, root)
  69. %doc AUTHORS COPYING 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. * Mon Oct 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1
  84. - new upstream release
  85. * Sat Oct 13 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.5.13-1
  86. - new upstream release
  87. * Tue Sep 27 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.5.12-1
  88. - new upstream release
  89. - add BuildRequires: doxygen
  90. * Sun Apr 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.0-1
  91. - new upstream release
  92. * Wed Sep 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1
  93. - new upstream release
  94. * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.90.1-1
  95. - new upstream release
  96. * Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.16-1
  97. - new upstream release
  98. * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.10-1
  99. - initial build for Vine Linux