/specs/gtkmm2/gtkmm2.spec

http://github.com/repoforge/rpms · Unknown · 115 lines · 82 code · 33 blank · 0 comment · 0 complexity · 728cd0b4f103947f48cb8f718b123543 MD5 · raw file

  1. # $Id$
  2. # Authority: matthias
  3. Summary: The C++ interface for the GIMP ToolKit (GTK+) GUI library
  4. Name: gtkmm2
  5. Version: 2.10.7
  6. Release: 1%{?dist}
  7. Group: System Environment/Libraries
  8. License: LGPL
  9. URL: http://www.gtkmm.org/
  10. Source: http://ftp.gnome.org/pub/GNOME/sources/gtkmm/2.10/gtkmm-%{version}.tar.bz2
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  12. Requires: gtk2 >= 2.2.0, libsigc++ >= 1.2.0
  13. BuildRequires: gcc-c++, gtk2-devel >= 2.2.0, libsigc++-devel >= 1.2.0,
  14. %description
  15. gtkmm (previously known as Gtk--) is the official C++ interface for the
  16. popular GUI library GTK+. Highlights include typesafe callbacks, widgets
  17. extensible via inheritance and a comprehensive set of widget classes that
  18. can be freely combined to quickly create complex user interfaces.
  19. %package devel
  20. Summary: Development tools for gtkmm2 applications
  21. Group: Development/Libraries
  22. Requires: %{name} = %{version}
  23. Requires: gtk2-devel, libsigc++-devel >= 1.2.0
  24. %description devel
  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. %prep
  32. %setup -n gtkmm-%{version}
  33. %build
  34. %configure --enable-static
  35. %{__make} %{?_smp_mflags}
  36. %install
  37. %{__rm} -rf %{buildroot} docs-to-include
  38. %makeinstall
  39. # Move the docs back into place
  40. %{__mkdir} docs-to-include
  41. %{__mv} %{buildroot}%{_docdir}/gtkmm-2.0/* docs-to-include/
  42. %clean
  43. %{__rm} -rf %{buildroot}
  44. %post
  45. /sbin/ldconfig
  46. %postun
  47. /sbin/ldconfig
  48. %files
  49. %defattr(-, root, root, 0755)
  50. %doc AUTHORS ChangeLog CHANGES COPYING NEWS README
  51. %{_libdir}/*.so.*
  52. %files devel
  53. %defattr(-, root, root, 0755)
  54. %doc docs-to-include/*
  55. %{_includedir}/*
  56. %{_libdir}/*.so
  57. %exclude %{_libdir}/*.la
  58. %{_libdir}/*.a
  59. %{_libdir}/gtkmm-*
  60. %{_libdir}/pkgconfig/*
  61. %{_datadir}/devhelp/books/*
  62. %changelog
  63. * Tue Feb 13 2007 Dag Wieers <dag@wieers.com> - 2.10.7-1
  64. - Updated to release 2.10.7.
  65. * Mon Jun 7 2004 Matthias Saou <http://freshrpms.net/> 2.2.12-1
  66. - Update to 2.2.12.
  67. * Thu May 20 2004 Matthias Saou <http://freshrpms.net/> 2.2.9-2
  68. - Rebuild for Fedora Core 2.
  69. * Fri Mar 5 2004 Matthias Saou <http://freshrpms.net/> 2.2.9-1
  70. - Update to 2.2.9.
  71. * Thu Nov 12 2003 Matthias Saou <http://freshrpms.net/> 2.2.8-1
  72. - Update to 2.2.8.
  73. - Added devhelp book.
  74. - Rebuild for Fedora Core 1.
  75. * Tue Jul 22 2003 Matthias Saou <http://freshrpms.net/>
  76. - Update to 2.2.5.
  77. * Fri May 23 2003 Matthias Saou <http://freshrpms.net/>
  78. - Update to 2.2.3.
  79. * Thu May 22 2003 Matthias Saou <http://freshrpms.net/>
  80. - Update to 2.2.2.
  81. * Sun May 4 2003 Matthias Saou <http://freshrpms.net/>
  82. - Initial release based on the gtkmm 1.x spec file.