Summary: A C++ interface for libgnomeui Name: libgnomeuimm Version: 2.28.0 Release: 2%{?_dist_release} 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}-root BuildRequires: libgnomeui-devel >= 2.7.1 BuildRequires: libgnomemm-devel >= 2.16.0 BuildRequires: libgnomecanvasmm-devel >= 2.6.0 BuildRequires: gconfmm-devel >= 2.6.0 BuildRequires: libglademm2-devel >= 2.4.0 BuildRequires: gnome-vfsmm-devel >= 2.16.0 BuildRequires: libSM-devel %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 libgnomeuimm. Group: Development/Libraries Requires: %{name} = %{version} Requires: libgnomeui-devel >= 2.7.1 Requires: libgnomemm-devel >= 2.16.0 Requires: libgnomecanvasmm-devel >= 2.6.0 Requires: gconfmm-devel >= 2.6.0 Requires: libglademm2-devel >= 2.4.0 Requires: gnome-vfsmm-devel >= 2.16.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 # ...hope this can be removed soon %ifarch alpha ARCH_FLAGS="--host=alpha-linux-gnu" %endif export CXXFLAGS="$RPM_OPT_FLAGS -shared -fPIC" %configure --enable-shared --disable-static --enable-docs make %{?_smp_mflags} if [ "$SMP" != "" ]; then make -j$SMP "MAKE=make -j$SMP" make else make fi %install if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi %makeinstall find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';' %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %clean if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi %files %defattr(-, root, root) %doc AUTHORS COPYING ChangeLog INSTALL NEWS README %{_libdir}/*.so.* %files devel %defattr(-, root, root) %{_includedir}/libgnomeuimm-2.6 #{_libdir}/*.la #{prefix}/lib/*.a # uncomment this one for static libs %{_libdir}/*.so %{_libdir}/libgnomeuimm-2.6 %{_libdir}/pkgconfig/*.pc %changelog * Tue Sep 21 2010 IWAI, Masaharu 2.28.0-2 - build with rpm-4.8.1-1 for pkg-config file * Sun Mar 14 2010 Yoji TOYODA 2.28.0-1 - new upstream release - add BuildRequires: libSM-devel * Sat Oct 4 2008 Ryoichi INAGAKI 2.24.0-1vl5 - new upstream release * Fri Sep 19 2008 Shu KONNO 2.18.0-1vl5 - applied new versioning policy * Sat Jun 2 2007 NAKAMURA Kenta 2.18.0-0vl4 - build all object files with -fPIC so that sharlib is PIC * Sun May 27 2007 Ryoichi INAGAKI 2.18.0-0vl3 - rebuilt without libstdc++2_10 * Sun May 20 2007 Ryoichi INAGAKI 2.18.0-0vl2 - rebuilt with new toolchain - added -shared option to CXXFLAGS * Mon Apr 30 2007 Ryoichi INAGAKI 2.18.0-0vl1 - new upstream release * Sat Nov 4 2006 Ryoichi INAGAKI 2.16.0-1vl1 - initial build for Vine Linux * Sun Dec 21 2003 Eric Bourque - fixed dependency to gtkmm2 instead of gtkmm * Thu Sep 25 2003 Eric Bourque - updated for libgnomeuimm-2.0 * Tue Mar 20 2001 Eric Bourque - added gnome--.m4 to files devel section * Sat Mar 10 2001 Herbert Valerio Riedel - improved examples.conf - fixed example build problems * Thu May 11 2000 Herbert Valerio Riedel - removed lib/gtkmm from files section - removed empty obsolete tags * Sun Jan 30 2000 Karl Einar Nelson - adapted from gtk--.spec