%define pkgname glade Summary: GTK+ / GNOME 2 widget builder Name: %{pkgname}2 Version: 2.6.8 Release: 4mdk License: LGPL Url: http://glade.gnome.org/ Group: Development/GNOME and GTK+ Source0: ftp://ftp.gnome.org/pub/GNOME/sources/%{pkgname}/%{pkgname}-%{version}.tar.bz2 Source2: %{pkgname}_icons.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: libxml2-devel BuildRequires: libgnomeprintui-devel BuildRequires: gnome-db2.0-devel BuildRequires: scrollkeeper BuildRequires: perl-XML-Parser PreReq: scrollkeeper >= 0.3 %description Glade is a Widget builder for Gtk/gnome. It allows to create a gtk/gnome interface in C, C++, Ada and Perl %prep %setup -q -a 2 -n %{pkgname}-%{version} %build %configure2_5x %make %install rm -fr %buildroot %makeinstall_std ## menu install -m 755 -d %{buildroot}%{_menudir} cat > %{buildroot}%{_menudir}/%{name} <<EOF ?package(%{name}): command="%{_bindir}/glade-2" needs="X11" icon="%{name}.png"\ section="Applications/Development/Development Environments" \ title="Glade 2" longtitle="GTK/GNOME 2 Widget Builder" startup_notify="true" EOF mkdir -p %{buildroot}%{_miconsdir} %{buildroot}%{_liconsdir} install -m 644 %{pkgname}_16.png %{buildroot}%{_miconsdir}/%{name}.png install -m 644 %{pkgname}_32.png %{buildroot}%{_iconsdir}/%{name}.png install -m 644 %{pkgname}_48.png %{buildroot}%{_liconsdir}/%{name}.png %{find_lang} %{name}-2.0 --with-gnome --all-name %clean rm -fr %buildroot %post if [ -x %{_bindir}/scrollkeeper-update ]; then %{_bindir}/scrollkeeper-update -q || true ; fi %{update_menus} %postun if [ -x %{_bindir}/scrollkeeper-update ]; then %{_bindir}/scrollkeeper-update -q || true ; fi %{clean_menus} %files -f %{name}-2.0.lang %defattr(-, root, root) %doc AUTHORS COPYING ChangeLog NEWS README FAQ TODO %{_bindir}/* %{_datadir}/applications/* %{_datadir}/glade-2 %dir %{_datadir}/omf/glade-2 %{_datadir}/omf/glade-2/*-C.omf %lang(ro) %{_datadir}/omf/glade-2/*-ro.omf %{_datadir}/pixmaps/* %{_menudir}/%{name} %{_iconsdir}/%{name}.png %{_miconsdir}/%{name}.png %{_liconsdir}/%{name}.png %changelog * Mon Mar 07 2005 Frederic Crozat <fcrozat@mandrakesoft.com> 2.6.8-4mdk - Rebuild with latest gda * Wed Jan 05 2005 Frederic Crozat <fcrozat@mandrakesoft.com> 2.6.8-3mdk - Rebuild with latest howl * Tue Dec 28 2004 Götz Waschk <waschk@linux-mandrake.com> 2.6.8-2mdk - rebuild for new gnome-db * Tue Dec 21 2004 Goetz Waschk <waschk@linux-mandrake.com> 2.6.8-1mdk - New release 2.6.8 * Thu Dec 2 2004 Goetz Waschk <waschk@linux-mandrake.com> 2.6.7-1mdk - New release 2.6.7 * Tue Nov 30 2004 Goetz Waschk <waschk@linux-mandrake.com> 2.6.6-1mdk - New release 2.6.6 * Wed Nov 10 2004 Götz Waschk <waschk@linux-mandrake.com> 2.6.5-2mdk - new gnome-db * Mon Oct 25 2004 2.6.5-1mdk - * Mon Oct 25 2004 2.6.5-1mdk - * Mon Oct 25 2004 Frederic Crozat <fcrozat@mandrakesoft.com> 2.6.5-1mdk - New release 2.6.5 * Tue Sep 14 2004 Götz Waschk <waschk@linux-mandrake.com> 2.6.0-4mdk - renable libtoolize - fix menu entry * Mon Aug 16 2004 Laurent MONTEL <lmontel@mandrakesoft.com> 2.6.0-3mdk - Rebuild with new menu * Wed Apr 21 2004 Frederic Crozat <fcrozat@mandrakesoft.com> 2.6.0-2mdk - Fix BuildRequires * Fri Apr 16 2004 Götz Waschk <waschk@linux-mandrake.com> 2.6.0-1mdk - new version * Wed Apr 07 2004 Frederic Crozat <fcrozat@mandrakesoft.com> 2.5.1-1mdk - Release 2.5.1 (with Götz help) - drop patch 1 * Mon Nov 10 2003 Götz Waschk <waschk@linux-mandrake.com> 2.0.1-2mdk - enable gnome-db support - fix buildrequires * Sun Nov 9 2003 Götz Waschk <waschk@linux-mandrake.com> 2.0.1-1mdk - new version * Wed Aug 6 2003 Frederic Crozat <fcrozat@mandrakesoft.com> 2.0.0-3mdk - tag language dependent OMF files with lang macro * Fri Jun 13 2003 Frederic Crozat <fcrozat@mandrakesoft.com> - 2.0.0-1mdk - Rebuild against latest libbonobo * Wed Apr 16 2003 Frederic Crozat <fcrozat@mandrakesoft.com> - 2.0.0-1mdk - Release 2.0.0 * Thu Jan 16 2003 Frederic Crozat <fcrozat@mandrakesoft.com> 1.1.3-2mdk - Rebuild against latest openssl - Generate yelp cache * Mon Dec 16 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 1.1.3-1mdk - From Quel Qun <kelk1@hotmail.com> : - New version. - Removed Patch0: merged upstream. - Regenerated Patch1. * Wed Dec 4 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 1.1.1-3mdk - Patch1: fix compilation with libgnomeprint(ui) 2.2 * Fri Aug 2 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 1.1.1-2mdk - Patch0: use DTD compliant OMF files * Tue Jul 16 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 1.1.1-1mdk - Release 1.1.1 * Thu Jul 11 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 1.1.0-1mdk - Release 1.1.0 (GNOME 2) * Thu May 30 2002 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 0.6.4-2mdk - Automated rebuild with gcc 3.1-1mdk * Mon Feb 4 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 0.6.4-1mdk - Release 0.6.4 * Thu Jan 31 2002 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.6.3-2mdk - xpm -> png icons * Mon Jan 28 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 0.6.3-1mdk - Release 0.6.3 - Remove patch0 (merged upstream) * Tue Jan 15 2002 Stefan van der Eijk <stefan@eijk.nu> 0.6.2-5mdk - BuildRequires * Fri Nov 9 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 0.6.2-4mdk - Regenerate patch 0 to work with gnome-db >= 0.2.90 * Thu Jul 10 2001 Stefan van der Eijk <stefan@eijk.nu> 0.6.2-3mdk - BuildRequires: db1-devel - BuildRequires: GConf-devel - BuildRequires: gdk-pixbuf-devel - BuildRequires: gnome-print-devel - BuildRequires: libxml-devel - BuildRequires: oaf-devel - BuildRequires: popt-devel - Removed BuildRequires: XFree86-devel - Removed BuildRequires: audiofile-devel - Removed BuildRequires: esound-devel - Removed BuildRequires: gnome-libs-devel - Removed BuildRequires: imlib-devel - Removed BuildRequires: libgda0-devel - Removed BuildRequires: zlib-devel * Thu Jun 28 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 0.6.2-2mdk - Patch0: fix to compile with gnome-db 0.2.10 * Tue Apr 3 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 0.6.2-1mdk - Release 0.6.2 - Really remove tar call in prep section - Add scrollkeeper support * Thu Mar 22 2001 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.6.1-2mdk - s!tar xvfy %{SOURCE2}!%setup -q -a2, thus removing stupid bzip2 warning about obsolete flags - capitalize menu title * Wed Mar 21 2001 Vincent Saugey <vince@mandrakesoft.com> 0.6.1-1mdk - new release stable now !!! * Tue Oct 03 2000 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.5.11-1mdk - new release * Tue Sep 26 2000 Vincent Saugey <vince@mandrakesoft.com> 0.5.10-1mdk - Up to 0.5.10 * Thu Sep 7 2000 Vincent Saugey <vince@mandrakesoft.com> 0.5.9-7mdk - Correct icon attribut in menu file * Wed Aug 23 2000 Vincent Saugey <vince@mandrakesoft.com> 0.5.9-6mdk - use find_lang macro - More Macro * Mon Aug 07 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.5.9-5mdk - automatically added BuildRequires * Tue Jul 25 2000 Geoffrey Lee <snailtalk@mandrakesoft.com> 0.5.9-4mdk - _menudir - _prefix - bzip2 menu entry to shut up rpmlint - remove stupid docdir: tag * Mon Jul 10 2000 Thierry Vignaud <tvignaud@mandrakesoft.com> - fix makeinstall (Stefan van der Eijk) - spec simplification * Thu Jun 08 2000 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.5.9-2mdk - fix buildroot directory which conflicts with ImageMagic (cut&paste :-( ) * Wed Jun 7 2000 Vincent Saugey <vince@mandrakesoft.com> 0.5.9-1mdk - Up to 0.5.9 - Clean in spec file * Sat Apr 22 2000 Vincent Saugey <vince@mandrakesoft.com> 0.5.5-8mdk - Add requires gettext * Fri Mar 24 2000 Vincent Saugey <vince@mandrakesoft.com> 0.5.5-7mdk - corrected group - add menu entry - add a icon for nenu * Sat Nov 27 1999 Pablo Saratxaga <pablo@mandrakesoft.com> - corrected the Franch description (it is '%%description -l lang' and not '%%description(lang)' !) - added an icon for the rpm * Mon Nov 15 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com> - 0.5.5. * Sun Oct 31 1999 Axalon Bloodstone <axalon@linux-mandrake.com> - Enable SMP build/check - bzip2 source - update Source: url * Wed Sep 29 1999 Obiwan Kenobi <kenobi@mandrakesoft.com> - Nothing. * Wed Jun 23 1999 Jose Mercado <jmercado@mit.edu> - Changed the Source variable to use %{var}. - Fixed glade.desktop's path so rpm will find it.