glibmm24/glibmm24-2.22.spec

Name: glibmm24
Summary: C++ interface for GTK2 (a GUI library for X)
Version: 2.22.2
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
# ExcludeDist el3 el4 el5

%define glibmm_version 2.22

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

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

BuildRequires: libsigc++20-devel >= 2.0.0
BuildRequires: glib2-devel >= 2.21.1

%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
Requires: libsigc++20-devel
Requires: pkgconfig

%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.

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

%build
%configure \
	--disable-static
%{__make} %{?_smp_mflags}

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

%{__install} -dp -m0755 rpm-doc/
%{__mv} -f %{buildroot}%{_docdir}/glibmm-2.4/* rpm-doc/

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

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

%files
%defattr(-, root, root, 0755)
%doc AUTHORS ChangeLog COPYING NEWS README
%{_libdir}/*.so.*

%files devel
%defattr(-, root, root, 0755)
%doc CHANGES rpm-doc/*
%{_datadir}/aclocal/glibmm_check_perl.m4
%{_includedir}/*
%{_libdir}/glibmm-2.4/
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%exclude %{_libdir}/libglibmm-2.4.la
%exclude %{_libdir}/libglibmm_generate_extra_defs-2.4.la

%changelog
* Fri May 07 2010 Steve Huff <shuff@vecna.org> - 2.22.2-1
- Updated to release 2.22.2.

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

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