gtkmm24/gtkmm24.spec

Name: gtkmm24
Summary: C++ interface for GTK2 (a GUI library for X)
Version: 2.4.11
Release: 1
License: LGPL
Group: System Environment/Libraries
URL: http://gtkmm.sourceforge.net/
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.

CentOS 7 x86_64

The build was not successful.

Build Status

CentOS 6 x86_64

The build was not successful.

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dag

### EL6 ships with gtkmm24-2.18.2-1.el6
# ExclusiveDist: el2 el3 el4 el5

Summary: C++ interface for GTK2 (a GUI library for X)
Name: gtkmm24
Version: 2.4.11
Release: 1%{?dist}
License: LGPL
Group: System Environment/Libraries
URL: http://gtkmm.sourceforge.net/

Source: http://ftp.gnome.org/pub/GNOME/sources/gtkmm/2.4/gtkmm-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildRequires: glibmm24-devel >= 2.4.0
BuildRequires: atk-devel >= 1.6.0
BuildRequires: pango-devel >= 1.4.0
BuildRequires: gtk2-devel >= 2.4.0
BuildRequires: cairomm-devel >= 1.1.12

%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: Header files, libraries and development documentation for %{name}.
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}

Requires: glib2-devel, gtk2-devel, atk-devel, pango-devel
Requires: glibmm24-devel, cairomm-devel

%description devel
This package contains the header files, static libraries and development
documentation for %{name}. If you like to develop programs using %{name},
you will need to install %{name}-devel.

%description devel
This package contains the static libraries and header files needed for
developing gtkmm applications.

%prep
%setup -n gtkmm-%{version}

%build
%configure \
	--disable-demos \
	--disable-examples \
	--disable-static \
	--enable-shared
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
%{__make} install DESTDIR="%{buildroot}"

%{__install} -d -m0755 rpm-doc/
%{__mv} %{buildroot}%{_docdir}/gtkmm-2.4/* rpm-doc/
%{__rm} -rf %{buildroot}%{_datadir}/devhelp/books/gtkmm-2.4/

%clean
%{__rm} -rf %{buildroot}

%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig

%files
%defattr(-, root, root, 0755)
%doc AUTHORS ChangeLog COPYING NEWS README
%{_libdir}/libatkmm-1.6.so.*
%{_libdir}/libgdkmm-2.4.so.*
%{_libdir}/libgtkmm-2.4.so.*
%{_libdir}/libpangomm-1.4.so.*

%files devel
%defattr(-, root, root, 0755)
%doc CHANGES PORTING rpm-doc/*
%{_includedir}/atkmm-1.6/
%{_includedir}/gdkmm-2.4/
%{_includedir}/gtkmm-2.4/
%{_includedir}/pangomm-1.4/
%{_libdir}/libatkmm-1.6.so
%{_libdir}/libgdkmm-2.4.so
%{_libdir}/libgtkmm-2.4.so
%{_libdir}/libpangomm-1.4.so
%{_libdir}/gdkmm-2.4/
%{_libdir}/gtkmm-2.4/
%{_libdir}/pkgconfig/atkmm-1.6.pc
%{_libdir}/pkgconfig/gdkmm-2.4.pc
%{_libdir}/pkgconfig/gtkmm-2.4.pc
%{_libdir}/pkgconfig/pangomm-1.4.pc
%exclude %{_libdir}/libatkmm-1.6.la
%exclude %{_libdir}/libgdkmm-2.4.la
%exclude %{_libdir}/libgtkmm-2.4.la
%exclude %{_libdir}/libpangomm-1.4.la

%changelog
* Thu May 24 2007 Dag Wieers <dag@wieers.com> - 2.4.11-1
- Updated to release 2.4.11.

* Tue Feb 13 2007 Dag Wieers <dag@wieers.com> - 2.4.8-1
- Initial package. (using DAR)