Sisyphus repository
Last update: 22 october 2019 | SRPMs: 17517 | Visits: 15400110
en ru br
ALT Linux repos
S:2.32.1-alt4
5.0: 2.26.0-alt1
4.1: 2.22.0-alt5.M41.2
4.0: 2.16.0-alt1
3.0: 2.10.1-alt1

Group :: System/Libraries
RPM: libgnome

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define ver_major 2.10
%def_disable static

Name: libgnome
Version: %ver_major.1
Release: alt1

Summary: GNOME base library
License: LGPL
Group: System/Libraries
Url: ftp://ftp.gnome.org
Packager: Yuri N. Sedunov <aris at altlinux.ru>

Source: ftp://ftp.gnome.org/pub/gnome/sources/%name/%ver_major/%name-%version.tar.bz2
Source1: gnome-menu.svg
Source2: gnome-button.png

Obsoletes: %name-utils
#Obsoletes: drwright
Provides: %name-utils = %version-%release

%define GConf_ver 2.10.0
%define glibc_ver 2.3.3
%define ORBit_ver 2.12.1
%define glib_ver 2.6.3
%define gnome_vfs_ver 2.10.0
%define libbonobo_ver 2.8.1
%define esound_ver 0.2.34
%define audiofile_ver 0.2.3
%define intltool_ver 0.33
%define gnome_common_ver 2.8.0
%define gnome_settings_ver 2.6.0

PreReq: GConf2 >= %GConf_ver
Requires: glibc >= %glibc_ver
Requires: glib2 >= %glib_ver
Requires: libORBit2 >= %ORBit_ver
Requires: gnome-vfs2 >= %gnome_vfs_ver
Requires: libbonobo2 >= %libbonobo_ver

#design here

Requires: gnome-settings >= %gnome_settings_ver

BuildPreReq: GConf2 >= %GConf_ver
BuildPreReq: glib2-devel >= %glib_ver
BuildPreReq: gnome-vfs2-devel >= %gnome_vfs_ver
BuildPreReq: ORBit2-devel >= %ORBit_ver
BuildPreReq: libbonobo2-devel >= %libbonobo_ver
BuildPreReq: libGConf2-devel >= %GConf_ver
BuildPreReq: esound-devel >= %esound_ver
BuildPreReq: audiofile-devel >= %audiofile_ver
BuildPreReq: intltool >= %intltool_ver
BuildPreReq: gnome-common >= %gnome_common_ver

# Automatically added by buildreq on Tue Sep 07 2004

BuildRequires: GConf2 ORBit2-devel docbook-dtds docbook-style-xsl esound-devel gcc-c++ gcc-g77 glib2-devel gnome-vfs2-devel gtk-doc intltool libGConf2-devel libaudiofile-devel libbonobo2-devel libgpg-error libpopt-devel libstdc++-devel perl-XML-Parser pkgconfig xml-common xsltproc

%description
GNOME (GNU Network Object Model Environment) is a user-friendly set of
GUI applications and desktop tools to be used in conjunction with a
window manager for the X Window System. The libgnome package includes
non-GUI-related libraries that are needed to run GNOME. The libgnomeui
package contains X11-dependent GNOME library features.

%package devel
Summary: Libraries and headers for libgnome
Group: Development/GNOME and GTK+
Requires: %name = %version-%release
Requires: glib2-devel >= %glib_ver
Requires: gnome-vfs2-devel >= %gnome_vfs_ver
Requires: ORBit2-devel >= %ORBit_ver
Requires: libbonobo2-devel >= %libbonobo_ver
Requires: libGConf2-devel >= %GConf_ver
Requires: esound-devel >= %esound_ver
Requires: audiofile-devel >= %audiofile_ver
Requires: intltool >= %intltool_ver

%description devel
GNOME (GNU Network Object Model Environment) is a user-friendly set of
GUI applications and desktop tools to be used in conjunction with a
window manager for the X Window System. The libgnome-devel package
includes the libraries and include files that you will need to
use libgnome.

You should install the libgnome-devel package if you would like to
compile GNOME applications. You do not need to install libgnome-devel
if you just want to use the GNOME desktop environment.

%package devel-doc
Summary: Development documentation for %name
Group: Development/GNOME and GTK+
Conflicts: %name < %version-%release

%description devel-doc
GNOME (GNU Network Object Model Environment) is a user-friendly set of
GUI applications and desktop tools to be used in conjunction with a
window manager for the X Window System. The libgnome package includes
non-GUI-related libraries that are needed to run GNOME.

This package provides development documentation for %name.

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

%description devel-static
Static libraries and objects for gnome library infrastructure

%define _gtk_docdir %_datadir/gtk-doc/html
%define _libexecdir %_bindir

%prep
%setup -q
%__subst 's,\(CLEANFILES\)+=,\1=,g' monikers/Makefile.am

%build
export DATADIRNAME=share

%__rm -f missing
intltoolize --copy --force
%__libtoolize --copy --force
%__aclocal
%__autoheader
%__automake -a -c -f
%__autoconf

%configure \
%{subst_enable static} \
--disable-schemas-install \
--enable-gtk-doc

%make_build

%install
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
%makeinstall
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL

# remove non-packaged files

%__rm -f %buildroot%_libdir/bonobo/*/*.la

%__mkdir_p %buildroot%_menudir
%__cat <<__MENU__ > %buildroot%_menudir/gnome
?package(%name): needs="gnome" title="Gnome" \
section="Configuration/" icon="gnome-menu.svg"
__MENU__

%__install -pD -m644 %SOURCE1 %buildroot%_datadir/pixmaps/gnome-menu.svg
%__install -m644 %SOURCE2 %buildroot%_datadir/pixmaps/gnome-menu.png

%__bzip2 -9fk ChangeLog

%find_lang %name-2.0

%define schemas desktop_gnome_accessibility_keyboard desktop_gnome_accessibility_startup desktop_gnome_applications_browser desktop_gnome_applications_help_viewer desktop_gnome_applications_terminal desktop_gnome_applications_window_manager desktop_gnome_background desktop_gnome_file_views desktop_gnome_interface desktop_gnome_lockdown desktop_gnome_peripherals_keyboard desktop_gnome_peripherals_mouse desktop_gnome_sound desktop_gnome_thumbnailers desktop_gnome_typing_break

%post
%post_ldconfig
%gconf2_install %schemas

%preun
if [ $1 = 0 ]; then
%gconf2_uninstall %schemas
fi

%postun -p %postun_ldconfig

%files -f %name-2.0.lang
%_bindir/*
%_libdir/*.so.*
%_libdir/bonobo/*/*.so
%_libdir/bonobo/servers/*
%dir %_sysconfdir/sound
%dir %_sysconfdir/sound/events
%_menudir/*
%_datadir/pixmaps/*
%config %_sysconfdir/sound/events/*
%config %_sysconfdir/gconf/schemas/*

%files devel
%_includedir/*
%_libdir/*.so
%_libdir/pkgconfig/*
%doc NEWS ChangeLog*

%files devel-doc
%_gtk_docdir/*

%if_enabled static
%files devel-static
%_libdir/*.a
%_libdir/bonobo/*/*.a
%endif

%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