%define version 2.20.0 %define release %mkrel 1 %define pkgname glibmm %define api_version 2.4 %define major 1 %define libname_orig %mklibname %{pkgname} %{api_version} %define libname %mklibname %{pkgname} %{api_version} %{major} %define libnamedev %mklibname -d %{pkgname} %{api_version} %define libnamestaticdev %mklibname -s -d %{pkgname} %{api_version} Name: %{pkgname}%{api_version} Summary: C++ interface for glib 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: glib2-devel >= 2.17.4 BuildRequires: libsigc++2.0-devel BuildRequires: doxygen libxslt-proc %description Gtkmm provides a C++ interface to the GTK+ GUI library. %{pkgname} originally belongs to gtkmm, but is now separated, for use with non-GUI software written in C++. %package -n %{libname} Summary: C++ interface for glib Group: System/Libraries Provides: %{libname_orig} = %{version}-%{release} Provides: %{pkgname}%{api_version} = %{version}-%{release} %description -n %{libname} Gtkmm provides a C++ interface to the GTK+ GUI library. %{pkgname} originally belongs to gtkmm, but is now separated, for use with non-GUI software written in C++. This package contains the library needed to run programs dynamically linked with %{pkgname}. %package -n %{libnamedev} Summary: Headers and development files of %{pkgname} Group: Development/GNOME and GTK+ Requires: %{libname} = %{version} Provides: %{pkgname}%{api_version}-devel = %{version}-%{release} Provides: %{libname_orig}-devel = %{version}-%{release} Obsoletes: %mklibname -d %{pkgname} %{api_version} 1 %description -n %{libnamedev} This package contains the headers and development files that are needed, when trying to develop or compile applications which need %{pkgname}. %package -n %{libnamestaticdev} Summary: Static libraries of %{pkgname} Group: Development/GNOME and GTK+ Requires: %{libnamedev} = %{version} Provides: %{libname_orig}-static-devel = %{version}-%{release} Obsoletes: %mklibname -s -d %{pkgname} %{api_version} 1 %description -n %{libnamestaticdev} Gtkmm provides a C++ interface to the GTK+ GUI library. %{pkgname} originally belongs to gtkmm, but is now separated, for use with non-GUI software written in C++. This package contains the static libraries of %{pkgname}. %package doc Summary: Glibmm documentation Group: Books/Other %description doc Gtkmm provides a C++ interface to the GTK+ GUI library. %{pkgname} originally belongs to gtkmm, but is now separated, for use with non-GUI software written in C++. This package contains all API documentation for %{pkgname}. %prep %setup -q -n %{pkgname}-%{version} %build # mdk does not have libtool 1.5 yet %define __libtoolize /bin/true %configure2_5x --enable-static --enable-shared %make # make check does nothing %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 COPYING NEWS README %{_libdir}/libglibmm*%{api_version}.so.%{major}* %{_libdir}/libgiomm*%{api_version}.so.%{major}* %files -n %{libnamedev} %defattr(-, root, root) %doc AUTHORS ChangeLog %{_includedir}/* %attr(644,root,root) %{_libdir}/*.la %{_libdir}/*.so %{_libdir}/giomm-%api_version %{_libdir}/glibmm-%{api_version} %{_libdir}/pkgconfig/*.pc %{_datadir}/aclocal/*.m4 %_datadir/devhelp/books/glibmm-2.4 %files -n %{libnamestaticdev} %defattr(-, root, root) %{_libdir}/*.a %files doc %defattr(-, root, root) %doc %{_datadir}/doc/glibmm-%{api_version} %changelog * Mon Mar 16 2009 Götz Waschk <waschk@mandriva.org> 2.20.0-1mdv2009.1 + Revision: 355627 - update to new version 2.20.0 * Tue Mar 03 2009 Götz Waschk <waschk@mandriva.org> 2.19.8-1mdv2009.1 + Revision: 348117 - update to new version 2.19.8 * Sat Feb 21 2009 Götz Waschk <waschk@mandriva.org> 2.19.3-1mdv2009.1 + Revision: 343663 - update to new version 2.19.3 * Mon Jan 19 2009 Götz Waschk <waschk@mandriva.org> 2.19.2-2mdv2009.1 + Revision: 331372 - fix the tarball - update to new version 2.19.2 * Thu Dec 18 2008 Götz Waschk <waschk@mandriva.org> 2.19.1-1mdv2009.1 + Revision: 315822 - update to new version 2.19.1 * Wed Oct 22 2008 Götz Waschk <waschk@mandriva.org> 2.18.1-2mdv2009.1 + Revision: 296380 - rebuild for missing package - update to new version 2.18.1 * Sun Sep 21 2008 Götz Waschk <waschk@mandriva.org> 2.18.0-1mdv2009.0 + Revision: 286341 - new version * Fri Sep 05 2008 Götz Waschk <waschk@mandriva.org> 2.17.3-1mdv2009.0 + Revision: 281047 - new version * Wed Aug 06 2008 Götz Waschk <waschk@mandriva.org> 2.17.2-1mdv2009.0 + Revision: 264547 - new version * Wed Jul 23 2008 Götz Waschk <waschk@mandriva.org> 2.17.1-1mdv2009.0 + Revision: 242505 - new version - bump glib dep * Thu Jul 03 2008 Götz Waschk <waschk@mandriva.org> 2.17.0-1mdv2009.0 + Revision: 231058 - new version * Tue Jun 17 2008 Götz Waschk <waschk@mandriva.org> 2.16.3-1mdv2009.0 + Revision: 222145 - new version + Pixel <pixel@mandriva.com> - do not call ldconfig in %%post/%%postun, it is now handled by filetriggers * Sat Apr 19 2008 Götz Waschk <waschk@mandriva.org> 2.16.2-1mdv2009.0 + Revision: 195784 - new version * Sat Mar 29 2008 Götz Waschk <waschk@mandriva.org> 2.16.1-1mdv2008.1 + Revision: 191138 - new version * Mon Mar 10 2008 Götz Waschk <waschk@mandriva.org> 2.16.0-1mdv2008.1 + Revision: 183800 - new version * Mon Mar 03 2008 Götz Waschk <waschk@mandriva.org> 2.15.8-1mdv2008.1 + Revision: 178224 - new version * Tue Feb 26 2008 Götz Waschk <waschk@mandriva.org> 2.15.7-1mdv2008.1 + Revision: 175377 - new version * Mon Feb 25 2008 Götz Waschk <waschk@mandriva.org> 2.15.6-1mdv2008.1 + Revision: 174617 - fix buildrequires - new version - update file list * Tue Feb 12 2008 Götz Waschk <waschk@mandriva.org> 2.15.5-1mdv2008.1 + Revision: 165917 - new version - bump deps * Mon Jan 28 2008 Götz Waschk <waschk@mandriva.org> 2.15.3-1mdv2008.1 + Revision: 159243 - new version * Tue Jan 22 2008 Götz Waschk <waschk@mandriva.org> 2.15.2-1mdv2008.1 + Revision: 156157 - new version - bump deps * Mon Jan 14 2008 Götz Waschk <waschk@mandriva.org> 2.15.1-1mdv2008.1 + Revision: 151739 - new version - bump deps * Sun Dec 30 2007 Götz Waschk <waschk@mandriva.org> 2.15.0-1mdv2008.1 + Revision: 139607 - new version - bump glib dep - update file list + Olivier Blin <oblin@mandriva.com> - restore BuildRoot + Thierry Vignaud <tvignaud@mandriva.com> - kill re-definition of %%buildroot on Pixel's request * Mon Oct 22 2007 Götz Waschk <waschk@mandriva.org> 2.14.2-1mdv2008.1 + Revision: 101129 - new version * Fri Oct 05 2007 Götz Waschk <waschk@mandriva.org> 2.14.1-1mdv2008.1 + Revision: 95546 - new version - fix file list - update license tag * Wed Sep 12 2007 Götz Waschk <waschk@mandriva.org> 2.14.0-1mdv2008.0 + Revision: 84731 - new version - new devel name * Mon Jul 30 2007 Götz Waschk <waschk@mandriva.org> 2.13.9-1mdv2008.0 + Revision: 56508 - new version * Mon Jul 09 2007 Götz Waschk <waschk@mandriva.org> 2.13.8-1mdv2008.0 + Revision: 50631 - new version * Sat Jun 30 2007 Götz Waschk <waschk@mandriva.org> 2.13.7-1mdv2008.0 + Revision: 46033 - new version * Tue Jun 19 2007 Götz Waschk <waschk@mandriva.org> 2.13.6-2mdv2008.0 + Revision: 41429 - rebuild * Sun Jun 17 2007 Götz Waschk <waschk@mandriva.org> 2.13.6-1mdv2008.0 + Revision: 40598 - new version * Wed May 02 2007 Götz Waschk <waschk@mandriva.org> 2.13.5-1mdv2008.0 + Revision: 20386 - new version * Tue Apr 24 2007 Götz Waschk <waschk@mandriva.org> 2.13.4-1mdv2008.0 + Revision: 17810 - new version * Fri Dec 29 2006 Götz Waschk <waschk@mandriva.org> 2.13.3-1mdv2007.0 + Revision: 102579 - new version * Tue Nov 28 2006 Götz Waschk <waschk@mandriva.org> 2.13.2-2mdv2007.1 + Revision: 87922 - bot rebuild - new version * Tue Nov 21 2006 Götz Waschk <waschk@mandriva.org> 2.12.3-1mdv2007.1 + Revision: 85847 - new version - Import glibmm2.4 * Fri Sep 29 2006 Götz Waschk <waschk@mandriva.org> 2.12.2-1mdv2007.0 - New version 2.12.2 * Sun Sep 24 2006 Götz Waschk <waschk@mandriva.org> 2.12.1-1mdv2007.0 - New version 2.12.1 * Fri Aug 18 2006 Götz Waschk <waschk@mandriva.org> 2.12.0-1mdv2007.0 - New release 2.12.0 * Wed Jul 26 2006 Götz Waschk <waschk@mandriva.org> 2.11.3-1 - New release 2.11.3 * Tue Jul 18 2006 Götz Waschk <waschk@mandriva.org> 2.11.2-1 - New release 2.11.2 * Wed Jun 07 2006 Götz Waschk <waschk@mandriva.org> 2.10.4-1mdk - New release 2.10.4 * Sat May 20 2006 Götz Waschk <waschk@mandriva.org> 2.10.3-1mdk - New release 2.10.3 * Sat May 13 2006 Götz Waschk <waschk@mandriva.org> 2.10.2-1mdk - New release 2.10.2 * Sat Apr 15 2006 Götz Waschk <waschk@mandriva.org> 2.10.1-1mdk - New release 2.10.1 * Tue Apr 11 2006 Götz Waschk <waschk@mandriva.org> 2.10.0-1mdk - bump deps * Tue Apr 11 2006 Götz Waschk <waschk@mandriva.org> 2.10.0-1mdk - New release 2.10.0 * Wed Mar 08 2006 Götz Waschk <waschk@mandriva.org> 2.8.5-1mdk - New release 2.8.5 * Mon Jan 30 2006 Götz Waschk <waschk@mandriva.org> 2.8.4-1mdk - New release 2.8.4 * Fri Dec 16 2005 Götz Waschk <waschk@mandriva.org> 2.8.3-1mdk - New release 2.8.3 - use mkrel * Thu Nov 24 2005 Götz Waschk <waschk@mandriva.org> 2.8.2-1mdk - New release 2.8.2 * Thu Oct 20 2005 Götz Waschk <waschk@mandriva.org> 2.8.1-1mdk - New release 2.8.1 * Sun Oct 09 2005 Götz Waschk <waschk@mandriva.org> 2.8.0-1mdk - bump deps - New release 2.8.0 * Mon Mar 07 2005 Götz Waschk <waschk@linux-mandrake.com> 2.6.1-1mdk - fix source URL - New release 2.6.1 * Mon Mar 07 2005 Götz Waschk <waschk@linux-mandrake.com> 2.6.0-1mdk - fix source URL - New release 2.6.0 * Thu Feb 03 2005 Goetz Waschk <waschk@linux-mandrake.com> 2.4.7-1mdk - New release 2.4.7 * Thu Jan 27 2005 Goetz Waschk <waschk@linux-mandrake.com> 2.4.6-1mdk - New release 2.4.6 * Fri Oct 29 2004 Götz Waschk <waschk@linux-mandrake.com> 2.4.5-1mdk - fix description - New release 2.4.5 * Wed Aug 11 2004 Götz Waschk <waschk@linux-mandrake.com> 2.4.4-1mdk - fix source url - New release 2.4.4 * Sun Jun 20 2004 Abel Cheung <deaddog@mandrakesoft.com> 2.4.3-1mdk - New release 2.4.3 * Mon Jun 07 2004 Abel Cheung <deaddog@mandrakesoft.com> 2.4.2-1mdk - New release 2.4.2 * Wed May 05 2004 Abel Cheung <deaddog@deaddog.org> 2.4.1-1mdk - New version * Wed Apr 28 2004 Abel Cheung <deaddog@deaddog.org> 2.4.0-1mdk - First Mandrake package