Sisyphus repository
Last update: 18 september 2019 | SRPMs: 17444 | Visits: 15115560
en ru br
ALT Linux repos
S:3.22.1-alt3
3.0: 0.6.4-alt3

Group :: Development/GNOME and GTK+
RPM: glade

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: glade
Version: 0.6.4
Release: alt3

Summary: Gtk/gnome widget builder
License: LGPL
Group: Development/GNOME and GTK+
Url: http://glade.pn.org/
Packager: Nazar Yurpeak <phoenix at altlinux.org>

Source: http://glade.pn.org/glade-%version.tar.bz2
Source1: %{name}_icons.tar.bz2

#Patch: %name-0.6.4-mdk-scrollkeeper_dtd.patch.bz2


%define libgda_ver 0.2.96

PreReq: scrollkeeper
Requires: gnome-libs-devel >= 1.0.14
Requires: libgnome-db >= 0.2.10
Requires: gtk+-devel >= 1.2.8
Requires: gettext >= 0.10.35
Requires: libgda >= %libgda_ver

BuildPreReq: libgda-devel >= %libgda_ver
BuildPreReq: libgnome-db-devel >= 0.2.95
BuildPreReq: libbonobo-devel >= 0.27

# Automatically added by buildreq on Fri Oct 24 2003

BuildRequires: ORBit-devel XFree86-devel XFree86-libs esound-devel freetype2-devel gdk-pixbuf-devel glib-devel glibc-devel-static gnome-libs-devel gtk+-devel imlib-devel libGConf-devel libaudiofile-devel libbonobo-devel libdb1-devel libgda-devel libgnome-db-devel libgnomeprint-devel libpopt-devel libwrap-devel libxml-devel libxslt oaf-devel scrollkeeper zlib-devel

#BuildRequires: ORBit-devel XFree86-devel XFree86-libs esound-devel freetype2-devel gdk-pixbuf-devel glib-devel glibc-devel-static gnome-libs-devel gtk+-devel imlib-devel libGConf-devel libaudiofile-devel libbonobo-devel libdb1-devel libgda-devel libgnome-db-devel libgnomeprint-devel libpopt-devel libxml-devel libxml2 libxslt oaf-devel scrollkeeper zlib-devel


%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 -a1
#%patch -p1

%build
%configure  --with-bonobo
%make_build

%install
export OMF_DIR=%buildroot/%_var/lib/scrollkeeper
%makeinstall
unset OMF_DIR

%__mkdir_p %buildroot{%_menudir,%_iconsdir,%_liconsdir,%_miconsdir}

## menu

%__cat <<__MENU__ >%buildroot%_menudir/%name
?package(%name): command="%_bindir/%name" needs="X11" \
icon="%name.xpm" section="Applications/Development/Development environments" \
title="Glade" longtitle="Gtk/gnome widget builder"
__MENU__

%__install -m644 %{name}_16.xpm %buildroot%_miconsdir/%name.xpm
%__install -m644 %{name}_32.xpm %buildroot%_iconsdir/%name.xpm
%__install -m644 %{name}_48.xpm %buildroot%_liconsdir/%name.xpm

%find_lang %name

%post
%update_scrollkeeper
%update_menus

%postun
%clean_scrollkeeper
%clean_menus

%files -f %name.lang
%_bindir/*
%_datadir/glade
%_datadir/gnome/help/*
%_datadir/gnome/apps/*/*
%_datadir/omf/*
%_datadir/pixmaps/*

%_menudir/%name
%_iconsdir/%name.xpm
%_miconsdir/%name.xpm
%_liconsdir/%name.xpm

%doc AUTHORS ChangeLog NEWS README FAQ TODO doc/*.txt

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin