Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37046750
en ru br
Репозитории ALT
5.1: 2.26.3-alt1
4.1: 2.22.2-alt0.M41.1
4.0: 2.16.3-alt1
3.0: 2.10.1-alt1
www.altlinux.org/Changes

Группа :: Графические оболочки/GNOME
Пакет: gnome-desktop

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define ver_major 2.26
%define gnome_distributor "%vendor"
%define gnome_date "%(date "+%%B %%e %%Y"), Moscow"
%def_disable static

Name: gnome-desktop
Version: %ver_major.3
Release: alt1

Summary: The gnome desktop programs for the GNOME GUI desktop environment
License: %gpl2plus, %fdl
Group: Graphical desktop/GNOME
Url: ftp://ftp.gnome.org
Packager: GNOME Maintainers Team <gnome at packages.altlinux.org>

Source: %gnome_ftp/%name/%ver_major/%name-%version.tar.bz2
Source1: gnome-about.png
Icon: gnome-desktop-icon.xpm
Patch1: %name-2.9.91-desktop.patch

Conflicts: gnome-core

Requires: lib%name = %version-%release
Requires: icon-theme-hicolor
# FIXME: What is it for?
Requires: menu

BuildPreReq: rpm-build-licenses rpm-build-gnome

# From configure.in

BuildPreReq: intltool >= 0.35
BuildPreReq: libgtk+2-devel >= 2.14.0
BuildPreReq: glib2-devel >= 2.19.1
BuildPreReq: libgio-devel >= 2.15.4
BuildPreReq: libGConf-devel >= 2.0.0
BuildPreReq: libgnomecanvas-devel
BuildPreReq: libstartup-notification-devel >= 0.5
BuildPreReq: gnome-doc-utils librarian-devel
BuildPreReq: gtk-doc >= 1.4

BuildPreReq: gnome-common >= 2.8.0
BuildPreReq: pkgconfig >= 0.8

BuildRequires: gcc-c++ gnome-doc-utils imake libXrandr-devel python-devel python-modules-compiler time xorg-cf-files
BuildRequires: libSM-devel

%description
GNOME (GNU Network Object Model Environment) is a user-friendly
set of applications and desktop tools to be used in conjunction with a
window manager for the X Window System.  GNOME is similar in purpose and
scope to CDE and KDE, but GNOME is based completely on free
software.  The %name package includes the basic programs and
libraries that are needed to install GNOME.

GNOME Desktop provides the core icons and libraries for the gnome
desktop.

%package -n lib%name
Summary: GNOME desktop core libraries
Group: Graphical desktop/GNOME
License: %lgpl2plus

Icon: gnome-desktop-icon-l.xpm

%description -n lib%name
Gnome 2 desktop libraries.

%package -n lib%name-devel
Summary: GNOME desktop develop libraries and includes
Group: Development/GNOME and GTK+
Requires: lib%name = %version-%release
License: %lgpl2plus, %fdl

Icon: gnome-desktop-icon-d.xpm

%description -n lib%name-devel
Gnome 2 desktop libraries and header files for creating GNOME panels.

%package -n lib%name-devel-doc
Summary: GNOME desktop development documentation
Group: Development/GNOME and GTK+
Conflicts: lib%name < %version
License: %lgpl2plus, %fdl
BuildArch: noarch

%description -n lib%name-devel-doc
Development documentation for Gnome desktop library.

%if_enabled static
%package -n lib%name-devel-static
Summary: GNOME desktop develop libraries and includes
Group: Development/GNOME and GTK+
Requires: lib%name-devel = %version-%release
License: %lgpl2plus

Icon: gnome-desktop-icon-ds.xpm

%description -n lib%name-devel-static
Gnome 2 desktop static libraries for creating GNOME panels.
%endif

%prep
%setup -q
%patch1 -p1 -b .menu

# xsltproc stumbles upon &copy; (something wrong with DTD?),

# so we replace it with a Unicode representation.
%__subst 's|\&copy;|\&#169;|' desktop-docs/fdl/C/fdl.xml

# A dirty murder just to get rid of the error reported by xml2po:

# UnicodeEncodeError: 'ascii' codec can't encode character u'\u1ea7'
# in position 7: ordinal not in range(128)
rm -rf desktop-docs/gpl/vi

%build
%autoreconf
%configure \
   %{subst_enable static} \
   --disable-rebuilds \
   --disable-scrollkeeper \
   --with-gnome-distributor=%gnome_distributor

%make_build

%install
%make_install DESTDIR=%buildroot install

# Menu

install -p -m644 %SOURCE1 %buildroot%_datadir/pixmaps/

%find_lang --with-gnome --output=%name.lang %name %name-2.0 fdl gnome-feedback gpl lgpl

%files
%_bindir/*
%_desktopdir/*
%_datadir/gnome-about
%_pixmapsdir/*
%_man1dir/*
%doc AUTHORS ChangeLog NEWS README

%files -n lib%name -f %name.lang
%_libdir/*.so.*

%files -n lib%name-devel
%_includedir/*
%_libdir/*.so
%_pkgconfigdir/*

%files -n lib%name-devel-doc
%_datadir/gtk-doc/html/%name

%if_enabled static
%files -n lib%name-devel-static
%_libdir/*.a
%endif

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin