Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37726147
en ru br
ALT Linux repos
S:2.6.4-alt6
5.0: 2.6.4-alt1
4.1: 2.6.3-alt0.M41.1
4.0: 2.6.0-alt4
3.0: 0.17-alt9

Group :: System/Libraries
RPM: libglade

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: libglade
Version: 0.17
Release: alt9

Summary: %name library

License: LGPL
Group: System/Libraries
URL: http://www.daa.com.au/~james/gnome/

Packager: Vitaly Lipatov <lav at altlinux.ru>

Source: ftp://ftp.daa.com.au/pub/james/gnome/%name-%version.tar.bz2
Patch0: libglade-0.17-gnomedb.patch

# Note: there is some problem with gtk-doc included

# manually removed: gtk-doc hostinfo
# Automatically added by buildreq on Thu Nov 04 2004 (-bi)
BuildRequires: ORBit-devel docbook-dtds docbook-style-dsssl 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 mawk oaf-devel openjade sgml-common xorg-x11-Xvfb xorg-x11-devel xorg-x11-libs xorg-x11-locales xorg-x11-misc-fonts xorg-x11-server-common xorg-x11-xauth zlib-devel

%if 0
%package bonobo
Summary: Bonobo part of the %name
Group: System/Libraries
Requires: %name = %version-%release
%endif
%package gnome
Summary: Gnome part of the %name
Group: System/Libraries
Requires: %name = %version-%release

%package gnomedb
Summary: Gnome-DB part of the %name
Group: System/Libraries
Requires: %name = %version-%release
Conflicts: %name-gnome < 0.17-alt2

%package devel
Summary: Development environment for %name applications
Group: Development/GNOME and GTK+
Requires: %name = %version-%release
#Requires: %name-bonobo = %version-%release
Requires: %name-gnome = %version-%release
Requires: %name-gnomedb = %version-%release

%package devel-static
Summary: Static libraries for %name applications
Group: Development/GNOME and GTK+
Requires: %name-devel = %version-%release

%description
This library allows you to load user interfaces in your program, which are
stored externally.  This allows alteration of the interface without
recompilation of the program.

The interfaces can also be edited with GLADE.
%if 0
%description bonobo
This is the bonobo part of %name.
The library allows you to load user interfaces in your program, which are
stored externally.  This allows alteration of the interface without
recompilation of the program.
%endif
%description gnome
This is the gnome part of %name.
The library allows you to load user interfaces in your program, which are
stored externally.  This allows alteration of the interface without
recompilation of the program.

%description gnomedb
This is the gnome-db part of %name.
The library allows you to load user interfaces in your program, which are
stored externally.  This allows alteration of the interface without
recompilation of the program.

%description devel
Shared libraries, include files, etc you can use to develop %name applications.

%description devel-static
Static libraries that you can use to develop %name applications.

%prep
%setup -q
%patch0 -p1

%build
%configure --without-bonobo --disable-gtktest

%make_build

%install
%makeinstall

%post
%post_ldconfig

%postun
%postun_ldconfig

#post bonobo -p /sbin/ldconfig

#postun bonobo -p /sbin/postun_ldconfig

%post gnome -p /sbin/ldconfig
%postun gnome -p /sbin/postun_ldconfig

%post gnomedb -p /sbin/ldconfig
%postun gnomedb -p /sbin/postun_ldconfig

%files
%_libdir/%name.so.*
%if 0
%files bonobo
%_libdir/%name-bonobo.so.*
%endif
%files gnome
%_libdir/%name-gnome.so.*

%files gnomedb
%_libdir/%name-gnomedb.so.*

%files devel
%_bindir/*
%_libdir/*.so
#%_libdir/*.la
%_libdir/*.sh
%_includedir/*
%_datadir/aclocal/*
%_libdir/pkgconfig/*
%doc %_datadir/gnome/html/*
%doc AUTHORS ChangeLog NEWS README test-%name.c *.glade

%files devel-static
%_libdir/*.a

%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