Name: gtkmm24 Version: 2.14.1 Release: 1%{?dist} Summary: C++ interface for GTK2 (a GUI library for X) Group: System Environment/Libraries License: LGPLv2+ URL: http://gtkmm.sourceforge.net/ Source0: http://ftp.gnome.org/pub/GNOME/sources/gtkmm/2.10/gtkmm-%{version}.tar.bz2 Patch0: gtkmm-2.14.1-devhelp.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: glibmm24-devel >= 2.18.0 BuildRequires: atk-devel >= 1.9.0 BuildRequires: pango-devel >= 1.5.2 BuildRequires: gtk2-devel >= 2.14.0 BuildRequires: cairomm-devel >= 1.2.2 BuildRequires: pangomm-devel >= 2.14.0 %description gtkmm provides a C++ interface to the GTK+ GUI library. gtkmm2 wraps GTK+ 2. Highlights include typesafe callbacks, widgets extensible via inheritance and a comprehensive set of widget classes that can be freely combined to quickly create complex user interfaces. %package devel Summary: Headers for developing programs that will use %{name}. Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: gtk2-devel Requires: glib2-devel Requires: glibmm24-devel Requires: atk-devel Requires: pangomm-devel Requires: cairomm-devel %description devel This package contains the static libraries and header files needed for developing gtkmm applications. %package docs Summary: Documentation for %{name}, includes full API docs Group: Documentation Requires: %{name}-devel = %{version}-%{release} %description docs This package contains the full API documentation for %{name}. %prep %setup -q -n gtkmm-%{version} %patch0 -p1 -b .devhelp %build %configure %{!?_with_static: --disable-static} --enable-shared --disable-demos make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';' # Fix documentation installation, put everything under gtk-doc mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/gtk-doc/html/gtkmm-2.4 mv ${RPM_BUILD_ROOT}%{_docdir}/gtkmm-2.4/* ${RPM_BUILD_ROOT}%{_datadir}/gtk-doc/html/gtkmm-2.4/ mv ${RPM_BUILD_ROOT}%{_datadir}/devhelp/books/gtkmm-2.4/*.devhelp ${RPM_BUILD_ROOT}%{_datadir}/gtk-doc/html/gtkmm-2.4 sed -i 's:../../../doc/gtkmm-2.4/docs/:docs/:' ${RPM_BUILD_ROOT}%{_datadir}/gtk-doc/html/gtkmm-2.4/*.devhelp rm -r ${RPM_BUILD_ROOT}%{_docdir}/gtkmm-2.4 %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-, root, root, -) %doc AUTHORS ChangeLog COPYING NEWS README %{_libdir}/*.so.* %files devel %defattr(-, root, root, -) %doc CHANGES PORTING %{_includedir}/gtkmm-2.4 %{_includedir}/atkmm-1.6 %{_includedir}/gdkmm-2.4 %{?_with_static: %{_libdir}/*.a} %{_libdir}/*.so %{_libdir}/gtkmm-2.4 %{_libdir}/gdkmm-2.4 %{_libdir}/pkgconfig/*.pc %files docs %defattr(-, root, root, -) %doc %{_datadir}/gtk-doc/html/gtkmm-2.4 %changelog * Sat Oct 11 2008 Denis Leroy - 2.14.1-1 - Update to 2.14.1 - Fix documentation links * Tue Sep 23 2008 Denis Leroy - 2.14.0-1 - Update to stable 2.14.0 * Fri Sep 5 2008 Mamoru Tasaka - 2.13.7-2 - Patch from svn temporarily to make compatible with GTK 2.14 (bug 461227) * Sun Aug 24 2008 Denis Leroy - 2.13.7-1 - Update to upstream 2.13.7, with pangomm split * Wed Jul 23 2008 Denis Leroy - 2.13.4-1 - Update to upstream 2.13.4 * Fri Jul 4 2008 Denis Leroy - 2.13.1-1 - Update to version 2.13.1 * Sat May 31 2008 Denis Leroy - 2.13.0-1 - Following gtk2 to 2.13 unstable branch * Sat Apr 12 2008 Denis Leroy - 2.12.7-1 - Update to upstream 2.12.7 * Wed Mar 12 2008 Denis Leroy - 2.12.5-1 - Update to upstream 2.12.5 * Mon Feb 18 2008 Fedora Release Engineering - 2.12.4-2 - Autorebuild for GCC 4.3 * Tue Jan 29 2008 Denis Leroy - 2.12.4-1 - Update to upstream 2.12.4, includes gcc 4.3 build fix * Sun Nov 11 2007 Denis Leroy - 2.12.3-1 - Update to 2.12.3, bug fix * Mon Sep 17 2007 Denis Leroy - 2.12.0-1 - Update to new stable branch 2.12.0 * Tue Aug 28 2007 Denis Leroy - 2.11.7-1 - Update to 2.11.7 - License tag update - ppc32 rebuild * Wed Aug 1 2007 Denis Leroy - 2.11.6-1 - Update to 2.11.6 * Tue Jul 3 2007 Mamoru Tasaka - 2.11.3-2 - Rebuild against newest GLib (due to #245141, #245634) * Thu Jun 21 2007 Denis Leroy - 2.11.3-1 - Update to unstable 2.11 tree to follow gtk2 version - Fixed documentation devhelp support * Mon Apr 30 2007 Denis Leroy - 2.10.9-1 - Update to 2.10.9 * Thu Mar 15 2007 Denis Leroy - 2.10.8-1 - Update to 2.10.8 * Sun Jan 28 2007 Denis Leroy - 2.10.7-1 - Update to 2.10.7, fixed Source url path * Tue Dec 12 2006 Denis Leroy - 2.10.6-1 - Update to 2.10.6 * Mon Dec 4 2006 Denis Leroy - 2.10.5-1 - Update to 2.10.5 * Tue Oct 3 2006 Denis Leroy - 2.10.2-1 - Update to 2.10.2 * Mon Aug 28 2006 Denis Leroy - 2.10.0-3 - FE6 Rebuild * Mon Aug 21 2006 Denis Leroy - 2.10.0-2 - Added cairomm Require in devel * Mon Aug 21 2006 Denis Leroy - 2.10.0-1 - Update to 2.10.0. Now depends on cairomm * Sun Jun 25 2006 Denis Leroy - 2.8.8-2 - Added dist postfix to release version * Sun Jun 25 2006 Denis Leroy - 2.8.8-1 - Update to 2.8.8 * Sun May 7 2006 Denis Leroy - 2.8.5-1 - Update to 2.8.5 * Tue Feb 28 2006 Denis Leroy - 2.8.3-1 - Update to version 2.8.3 - Added optional macro to compile static libs * Fri Nov 25 2005 Denis Leroy - 2.8.1-1 - Update to gtkmm 2.8.1 - Disabled static libraries build * Mon Sep 19 2005 Denis Leroy - 2.8.0-1 - Update to gtkmm 2.8.0 - Incorporated dependency updates from Rick Vinyard * Fri Apr 29 2005 Denis Leroy - 2.6.2-2 - Disabled building of demo and examples * Sat Apr 9 2005 Denis Leroy - 2.6.2-1 - Update to gtkmm 2.6.2 - Added demo binary to devel package * Fri Apr 7 2005 Michael Schwendt - rebuilt * Sat Jan 15 2005 Rick L Vinyard Jr - 0:2.4.8-1 - Update for gtkmm 2.4.8 * Wed Nov 17 2004 Denis Leroy - 0:2.4.7-1 - Update for gtkmm 2.4.7 * Mon Jun 27 2004 Denis Leroy - 0:2.4.5-0.fdr.1 - Upgrade to 2.4.5 * Thu Oct 8 2003 Michael Koziarski - 0:2.2.8-0.fdr.3 - Incorporated more of Michael Schwendt's Comments in fedora bug 727 - Seperate -docs package with devhelp support disabled. * Tue Oct 7 2003 Michael Koziarski - 0:2.2.8-0.fdr.2 - Split the documentation into a separate -docs package - Included devhelp * Sat Oct 4 2003 Michael Koziarski - 0:2.2.8-0.fdr.1 - Incorporated Michael Schwendt's Comments in fedora bug 727 - Updated to 2.2.8 * Tue Sep 16 2003 Phillip Compton - 0:2.2.7-0.fdr.1 - Initial Fedora Release. - Updated to 2.2.7. * Fri Dec 6 2002 Gary Peck - 2.0.2-1 - Removed "--without docs" option and simplified the spec file since the documentation is included in the tarball now * Thu Dec 5 2002 Walter H. van Holst - 1.0.2 - Removed reference to patch - Added the documentation files in %files * Thu Oct 31 2002 Gary Peck - 2.0.0-gp1 - Update to 2.0.0 * Wed Oct 30 2002 Gary Peck - 1.3.26-gp3 - Added "--without docs" option to disable DocBook generation * Sat Oct 26 2002 Gary Peck - 1.3.26-gp2 - Update to 1.3.26 - Spec file cleanups - Removed examples from devel package - Build html documentation (including a Makefile patch) * Mon Oct 14 2002 Gary Peck - 1.3.24-gp1 - Initial release of gtkmm2, using gtkmm spec file as base