%define version 2.24.0 %define release %mkrel 1 %define libgnomemm_version 2.14.0 %define libgnomecanvasmm_version 2.6.0 %define gconfmm_version 2.6.0 %define gnomevfsmm_version 2.6.0 %define libglademm_version 2.4.0 %define pkgname libgnomeuimm %define major 1 %define api_version 2.6 %define libname_orig %mklibname gnomeuimm %{api_version} %define libname %mklibname gnomeuimm %{api_version} %{major} %define develname %mklibname -d gnomeuimm %{api_version} Summary: A C++ wrapper for GNOME UI library Name: %{pkgname}%{api_version} Version: %{version} Release: %{release} License: LGPLv2+ Group: System/Libraries URL: http://gtkmm.sourceforge.net/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot Source: http://ftp.gnome.org/pub/GNOME/sources/%{pkgname}/%{pkgname}-%{version}.tar.bz2 BuildRequires: libgnomeui2-devel >= 2.7.1 BuildRequires: gnome-vfsmm2.6-devel >= %{gnomevfsmm_version} BuildRequires: gconfmm2.6-devel >= %{gconfmm_version} BuildRequires: libgnomemm2.6-devel >= %{libgnomemm_version} BuildRequires: libgnomecanvasmm2.6-devel >= %{libgnomecanvasmm_version} BuildRequires: libglademm2.4-devel >= %{libglademm_version} BuildRequires: libexpat-devel BuildRequires: doxygen %description This library provides a C++ wrapper for GNOME UI library. It is a subpackage of the gnomemm project, which provides C++ binding of various GNOME libraries. %package -n %{libname} Summary: A C++ wrapper for GNOME UI library Group: System/Libraries Provides: %{libname_orig} = %{version}-%{release} Provides: %{pkgname} = %{version}-%{release} %description -n %{libname} This library provides a C++ wrapper for GNOME UI library. It is a subpackage of the gnomemm project, which provides C++ binding of various GNOME libraries. %package -n %develname Summary: Development files for libgnomeui C++ wrapper Group: Development/GNOME and GTK+ Requires: %{libname} = %{version} Provides: %{name}-devel = %{version}-%{release} Provides: %{pkgname}-devel = %{version}-%{release} Obsoletes: %mklibname -d gnomeuimm %api_version 1 %description -n %develname This package contains all necessary files, including libraries and headers, that C++ programmers will need to develop applications which use %{pkgname}, the C++ interface to libgnomeui. It is necessary when compiling applications which use %{pkgname} as well. %package doc Summary: Documentation of %{pkgname} library Group: Books/Other %description doc This package provides API documentation of %{pkgname} library. %prep %setup -q -n %{pkgname}-%{version} %build %configure2_5x --enable-static %make ### Build doc pushd docs/reference perl -pi -e 's/^(HAVE_DOT.*=) YES$/$1 NO/' Doxyfile make all popd %install rm -rf %{buildroot} %makeinstall_std find %buildroot -name \*.la|xargs chmod 644 %if %mdkversion < 200900 %post -n %{libname} -p /sbin/ldconfig %endif %if %mdkversion < 200900 %postun -n %{libname} -p /sbin/ldconfig %endif %clean rm -rf %{buildroot} %files -n %{libname} %defattr(-, root, root) %doc AUTHORS COPYING %{_libdir}/libgnomeuimm-%{api_version}.so.%{major}* %files -n %develname %defattr(-, root, root) %doc COPYING ChangeLog TODO %{_includedir}/* %{_libdir}/lib*.a %{_libdir}/lib*.la %{_libdir}/lib*.so %{_libdir}/pkgconfig/*.pc %{_libdir}/%{pkgname}-%{api_version} %files doc %defattr(-, root, root) %doc docs/reference/html %changelog * Mon Sep 22 2008 Götz Waschk <waschk@mandriva.org> 2.24.0-1mdv2009.0 + Revision: 286532 - new version - update license + Thierry Vignaud <tvignaud@mandriva.com> - rebuild + Pixel <pixel@mandriva.com> - do not call ldconfig in %%post/%%postun, it is now handled by filetriggers * Sun Mar 09 2008 Götz Waschk <waschk@mandriva.org> 2.22.0-1mdv2008.1 + Revision: 182993 - new version * Sun Feb 10 2008 Götz Waschk <waschk@mandriva.org> 2.20.2-1mdv2008.1 + Revision: 164909 - new version * Mon Jan 28 2008 Götz Waschk <waschk@mandriva.org> 2.20.1-1mdv2008.1 + Revision: 159486 - new version * Sun Jan 13 2008 Thierry Vignaud <tvignaud@mandriva.com> 2.20.0-2mdv2008.1 + Revision: 150650 - rebuild - kill re-definition of %%buildroot on Pixel's request + Olivier Blin <oblin@mandriva.com> - restore BuildRoot * Fri Sep 14 2007 Götz Waschk <waschk@mandriva.org> 2.20.0-1mdv2008.0 + Revision: 85544 - new version - new devel name - bump deps * Sat Mar 10 2007 Götz Waschk <waschk@mandriva.org> 2.18.0-1mdv2007.1 + Revision: 140352 - new version * Tue Jan 02 2007 Götz Waschk <waschk@mandriva.org> 2.16.0-2mdv2007.1 + Revision: 103079 - Import libgnomeuimm2.6 * Tue Jan 02 2007 Götz Waschk <waschk@mandriva.org> 2.16.0-2mdv2007.1 - Rebuild * Wed Aug 23 2006 Götz Waschk <waschk@mandriva.org> 2.16.0-1mdv2007.0 - New release 2.16.0 * Tue Aug 08 2006 Götz Waschk <waschk@mandriva.org> 2.14.0-3mdv2007.0 - fix buildrequires * Wed Aug 02 2006 Frederic Crozat <fcrozat@mandriva.com> 2.14.0-2mdv2007.0 - Rebuild with latest dbus * Tue Apr 11 2006 Götz Waschk <waschk@mandriva.org> 2.14.0-1mdk - New release 2.14.0 - use mkrel * Sun Oct 09 2005 Götz Waschk <waschk@mandriva.org> 2.12.0-1mdk - New release 2.12.0 * Tue May 10 2005 Götz Waschk <waschk@mandriva.org> 2.10.0-2mdk - fix devel provides * Mon Mar 07 2005 Götz Waschk <waschk@linux-mandrake.com> 2.10.0-1mdk - source URL - New release 2.10.0 * Thu Jan 06 2005 Frederic Crozat <fcrozat@mandrakesoft.com> 2.8.0-2mdk - Rebuild with latest howl * Wed Nov 10 2004 Götz Waschk <waschk@linux-mandrake.com> 2.8.0-1mdk - requires new libgnomeui - fix source URL - New release 2.8.0 * Tue Jul 06 2004 Abel Cheung <deaddog@deaddog.org> 2.6.0-2mdk - Rebuild with new g++ - Reenable libtoolize * Fri Apr 30 2004 Abel Cheung <deaddog@deaddog.org> 2.6.0-1mdk - New major release * Fri Apr 30 2004 Abel Cheung <deaddog@deaddog.org> 2.0.0-3mdk - Rebuild - Split documentation