ALT Linux repos
Group :: System/Libraries
RPM: libgnomeui
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define ver_major 2.16
#def_disable static
%define _disable_static --disable-static
%define _unpackaged_files_terminate_build 1
Name: libgnomeui
Version: %ver_major.1
Release: alt2
Summary: GNOME base GUI library
License: LGPL
Group: System/Libraries
Url: ftp://ftp.gnome.org
Source: ftp://ftp.gnome.org/pub/gnome/sources/%name/%ver_major/%name-%version.tar.bz2
# From configure.in
%define libgnome_ver 2.13.7
%define libgnomecanvas_ver 2.0.0
%define libbonoboui_ver 2.13.1
%define GConf_ver 1.1.11
%define pango_ver 1.1.2
%define glib_ver 2.8.0
%define gtk_ver 2.9.0
%define gtk_binary_ver 2.10.0
%define gnome_vfs_ver 2.7.3
%define gnome_keyring_ver 0.4
Obsoletes: %name-utils
Provides: %name-utils = %version-%release
# From configure.in
BuildPreReq: intltool >= 0.35
BuildPreReq: libgnome-devel >= %libgnome_ver
BuildPreReq: libgnomecanvas-devel >= %libgnomecanvas_ver
BuildPreReq: libbonoboui-devel >= %libbonoboui_ver
BuildPreReq: libGConf2-devel >= %GConf_ver
BuildPreReq: libpango-devel >= %pango_ver
BuildPreReq: glib2-devel >= %glib_ver
BuildPreReq: libgtk+2-devel >= %gtk_ver
BuildPreReq: gnome-vfs2-devel >= %gnome_vfs_ver
BuildPreReq: libgnome-keyring-devel >= %gnome_keyring_ver
BuildPreReq: libICE-devel libSM-devel libX11-devel libXt-devel
BuildPreReq: libjpeg-devel libpopt-devel
BuildPreReq: gtk-doc >= 1.0
BuildRequires: docbook-dtds docbook-style-xsl zlib-devel
BuildRequires: gnome-common
%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 libgnomeui package
includes GUI-related libraries that are needed to run GNOME. (The
libgnome package includes the library features that don't use the X
Window System.)
%package devel
Summary: Libraries and headers for libgnome
Group: Development/GNOME and GTK+
Requires: %name = %version-%release
Requires: libgtk+2-devel >= %gtk_ver
Requires: libgnome-devel >= %libgnome_ver
Requires: libgnomecanvas-devel >= %libgnomecanvas_ver
Requires: libbonoboui-devel >= %libbonoboui_ver
Requires: libGConf2-devel >= %GConf_ver
Requires: libgnome-keyring-devel >= %gnome_keyring_ver
Requires: libSM-devel
%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 libgnomeui-devel package
includes the libraries and include files that you will need to
use libgnomeui.
%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 libgnomeui package
includes GUI-related libraries that are needed to run GNOME.
This package provides development documentation for %name.
%package devel-static
Summary: Static libraries for libgnome
Group: Development/GNOME and GTK+
Requires: %name-devel = %version-%release
%description devel-static
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 libgnomeui-devel package
includes the libraries and include files that you will need to
use libgnomeui.
You should install the libgnomeui-devel-static package if you would like
to compile GNOME applications. You do not need to install libgnomeui-devel
if you just want to use the GNOME desktop environment.
%define _gtk_docdir %_datadir/gtk-doc/html
%prep
%setup -q
%build
export DATADIRNAME=share
%configure \
%{subst_enable static} \
--enable-gtk-doc
%make
%install
%makeinstall
%__bzip2 -9f ChangeLog
%find_lang %name-2.0
%post -p %post_ldconfig
%postun -p %postun_ldconfig
%files -f %name-2.0.lang
%_libexecdir/gnome_segv2
%_libdir/*.so.*
%_libdir/libglade/2.0/*.so
%_libdir/gtk-2.0/%gtk_binary_ver/filesystems/*.so
%_datadir/pixmaps/*
%doc AUTHORS ChangeLog.bz2 NEWS
%files devel
%_libdir/*.so
%_includedir/*
%_libdir/pkgconfig/*
%files devel-doc
%_gtk_docdir/*
%if_enabled static
%files devel-static
%_libdir/*.a
%_libdir/libglade/*/*.a
%endif
%exclude %_libdir/libglade/*/*.la
%exclude %_libdir/gtk-2.0/%gtk_binary_ver/filesystems/*.la
%changelog
…
Full changelog you can see here
#def_disable static
%define _disable_static --disable-static
%define _unpackaged_files_terminate_build 1
Name: libgnomeui
Version: %ver_major.1
Release: alt2
Summary: GNOME base GUI library
License: LGPL
Group: System/Libraries
Url: ftp://ftp.gnome.org
Source: ftp://ftp.gnome.org/pub/gnome/sources/%name/%ver_major/%name-%version.tar.bz2
# From configure.in
%define libgnome_ver 2.13.7
%define libgnomecanvas_ver 2.0.0
%define libbonoboui_ver 2.13.1
%define GConf_ver 1.1.11
%define pango_ver 1.1.2
%define glib_ver 2.8.0
%define gtk_ver 2.9.0
%define gtk_binary_ver 2.10.0
%define gnome_vfs_ver 2.7.3
%define gnome_keyring_ver 0.4
Obsoletes: %name-utils
Provides: %name-utils = %version-%release
# From configure.in
BuildPreReq: intltool >= 0.35
BuildPreReq: libgnome-devel >= %libgnome_ver
BuildPreReq: libgnomecanvas-devel >= %libgnomecanvas_ver
BuildPreReq: libbonoboui-devel >= %libbonoboui_ver
BuildPreReq: libGConf2-devel >= %GConf_ver
BuildPreReq: libpango-devel >= %pango_ver
BuildPreReq: glib2-devel >= %glib_ver
BuildPreReq: libgtk+2-devel >= %gtk_ver
BuildPreReq: gnome-vfs2-devel >= %gnome_vfs_ver
BuildPreReq: libgnome-keyring-devel >= %gnome_keyring_ver
BuildPreReq: libICE-devel libSM-devel libX11-devel libXt-devel
BuildPreReq: libjpeg-devel libpopt-devel
BuildPreReq: gtk-doc >= 1.0
BuildRequires: docbook-dtds docbook-style-xsl zlib-devel
BuildRequires: gnome-common
%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 libgnomeui package
includes GUI-related libraries that are needed to run GNOME. (The
libgnome package includes the library features that don't use the X
Window System.)
%package devel
Summary: Libraries and headers for libgnome
Group: Development/GNOME and GTK+
Requires: %name = %version-%release
Requires: libgtk+2-devel >= %gtk_ver
Requires: libgnome-devel >= %libgnome_ver
Requires: libgnomecanvas-devel >= %libgnomecanvas_ver
Requires: libbonoboui-devel >= %libbonoboui_ver
Requires: libGConf2-devel >= %GConf_ver
Requires: libgnome-keyring-devel >= %gnome_keyring_ver
Requires: libSM-devel
%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 libgnomeui-devel package
includes the libraries and include files that you will need to
use libgnomeui.
%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 libgnomeui package
includes GUI-related libraries that are needed to run GNOME.
This package provides development documentation for %name.
%package devel-static
Summary: Static libraries for libgnome
Group: Development/GNOME and GTK+
Requires: %name-devel = %version-%release
%description devel-static
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 libgnomeui-devel package
includes the libraries and include files that you will need to
use libgnomeui.
You should install the libgnomeui-devel-static package if you would like
to compile GNOME applications. You do not need to install libgnomeui-devel
if you just want to use the GNOME desktop environment.
%define _gtk_docdir %_datadir/gtk-doc/html
%prep
%setup -q
%build
export DATADIRNAME=share
%configure \
%{subst_enable static} \
--enable-gtk-doc
%make
%install
%makeinstall
%__bzip2 -9f ChangeLog
%find_lang %name-2.0
%post -p %post_ldconfig
%postun -p %postun_ldconfig
%files -f %name-2.0.lang
%_libexecdir/gnome_segv2
%_libdir/*.so.*
%_libdir/libglade/2.0/*.so
%_libdir/gtk-2.0/%gtk_binary_ver/filesystems/*.so
%_datadir/pixmaps/*
%doc AUTHORS ChangeLog.bz2 NEWS
%files devel
%_libdir/*.so
%_includedir/*
%_libdir/pkgconfig/*
%files devel-doc
%_gtk_docdir/*
%if_enabled static
%files devel-static
%_libdir/*.a
%_libdir/libglade/*/*.a
%endif
%exclude %_libdir/libglade/*/*.la
%exclude %_libdir/gtk-2.0/%gtk_binary_ver/filesystems/*.la
%changelog
…
Full changelog you can see here