libgnomecanvasmm2/libgnomecanvasmm2.spec

Name: libgnomecanvasmm2
Summary: C++ wrappers for libglade, for use with gtkmm
Version: 2.0.1
Release: 0
License: LGPL
Group: System Environment/Libraries
URL: http://gtkmm.sourceforge.net/
Description: libgnomemm provides C++ wrappers for libgnome, for use with gtkmm.

CentOS 7 x86_64

The build could not start because of the following missing build requirements:

Build Status

CentOS 6 x86_64

The build could not start because of the following missing build requirements:

Build Status

Contents

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

# $Id$
# Authority: matthias

%define real_name libgnomecanvasmm

Summary: C++ wrappers for libglade, for use with gtkmm
Name: libgnomecanvasmm2
Version: 2.0.1
Release: 0%{?dist}
License: LGPL
Group: System Environment/Libraries
URL: http://gtkmm.sourceforge.net/

Source: http://dl.sf.net/gtkmm/libgnomecanvasmm-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildRequires: gtkmm2-devel >= 2.2.5, libsigc++ >= 1.2, glib2-devel >= 2.0
BuildRequires: pango-devel >= 1.0, freetype-devel >= 2.0
BuildRequires: atk-devel >= 1.0, libgnomecanvas-devel >= 1.113.0, libart_lgpl-devel >= 2.0
BuildRequires: gcc-c++

%description
libgnomemm provides C++ wrappers for libgnome, for use with gtkmm.

%package devel
Summary: Header files, libraries and development documentation for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}

%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 %{real_name}-%{version}

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

%install
%{__rm} -rf %{buildroot}
%makeinstall

### Clean up buildroot
%{__rm} -f %{buildroot}%{_libdir}/*.la

%post
/sbin/ldconfig &>/dev/null

%postun
/sbin/ldconfig &>/dev/null

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

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

%files devel
%defattr(-, root, root, 0755)
%{_includedir}/libgnomecanvasmm-2.0/
%{_libdir}/*.a
%{_libdir}/*.so
%{_libdir}/libgnomecanvasmm-2.0/
%{_libdir}/pkgconfig/*.pc
#exclude %{_libdir}/*.la

%changelog
* Wed Feb 04 2004 Dag Wieers <dag@wieers.com> - 2.0.1-0
- Updated to release 2.0.1.

* Sat Mar 29 2003 Dag Wieers <dag@wieers.com> - 2.0.0-0
- Initial package. (using DAR)