Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37399081
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 

# This spec is backported to ALTLinux 4.1 automatically by rpmbph script. Do not edit it.
#
%define ver_major 2.22
%define gnome_distributor "%vendor"
%define gnome_date "%(date "+%%B %%e %%Y"), Moscow"
%def_disable static

Name: gnome-desktop
Version: %ver_major.2
Release: alt0.M41.1

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
Patch2: %name-add-randr-12.patch
Patch4: %name-multires.patch
Patch7: %name-refcount-slideshow.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: libxml2-devel >= 2.4.20
BuildPreReq: libgtk+2-devel >= 2.11.3
BuildPreReq: glib2-devel >= 2.15.4
BuildPreReq: libgio-devel >= 2.15.4
BuildPreReq: libGConf-devel >= 2.0.0
BuildPreReq: libgnomecanvas-devel
BuildPreReq: libgnomeui-devel >= 2.6.0
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
BuildRequires: libSM-devel

BuildRequires: rpm-build-compat >= 0.95

%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.

%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
%patch2 -p1 -b .add-randr-12
%patch4 -p1 -b .multires
%patch7 -p1 -b .refcount-slideshow


# 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 \
   --enable-gtk-doc \
   --with-gnome-distributor=%gnome_distributor \
   --with-gnome-date=%gnome_date

%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

%post
%update_scrollkeeper

%postun
%clean_scrollkeeper

%post -n lib%name -p %post_ldconfig
%postun -n lib%name -p %post_ldconfig

%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/*
%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