Summary: 	A C++ interface for Gnome libs (a GUI library for X).
Name: 		libgnomemm
Version: 	2.10.0
Release: 	1asp
License: 	LGPL
Group: 		System Environment/Libraries
Source: 	ftp://download.sourceforge.net/gtkmm/%{name}-%{version}.tar.bz2
URL: 		http://gtkmm.sourceforge.net
BuildRoot: 	%{_tmppath}/%{name}-%{version}
Requires:	libgnome >= 2.10.0, gtkmm2 >= 2.6.0

%description
This package provides a C++ interface for GnomeUI.  It is a subpackage
of the Gtk-- project.  The interface provides a convenient interface for C++
programmers to create Gnome GUIs with GTK+'s flexible object-oriented 
framework.

%package	devel
Summary: 	Headers for developing programs that will use Gnome--.
Group: 		Development/Libraries
Requires:	%{name} = %{version}, libgnome-devel >= 2.10.0

%description	devel
This package contains the headers that programmers will need to develop
applications which will use Gnome--, part of Gtk-- the C++ interface to 
the GTK+ (the Gimp ToolKit) GUI library.

%prep
%setup -q

%build
%configure --disable-static --enable-shared --enable-docs
make

%install
rm -rf %{buildroot}
make DESTDIR=%{buildroot} install

%post
/sbin/ldconfig

%postun
/sbin/ldconfig

%clean
rm -rf %{buildroot}

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

%files  devel
%defattr(-, root, root)
%doc AUTHORS COPYING ChangeLog INSTALL NEWS README
%{_includedir}/libgnomemm-2.6/*
%{_libdir}/*.la
%{_libdir}/*.so
%{_libdir}/pkgconfig/libgnomemm-2.6.pc
%{_libdir}/libgnomemm-2.6/include/*.h
%{_libdir}/libgnomemm-2.6/proc/m4/

%changelog
* Wed Mar  9 2005 Arkady L. Shane <shejn@msiu.ru> 2.10.0-1asp
- 2.10.0

* Sun Nov 21 2004 Arkady L. Shane <shejn@msiu.ru> 2.8.0-1asp
- initial build for ASPLinux 9.2
