Репозитории 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 |
Группа :: Графические оболочки/GNOME
Пакет: gnome-desktop
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define ver_major 2.16
%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: LGPL
Group: Graphical desktop/GNOME
Url: ftp://ftp.gnome.org
Source: ftp://ftp.gnome.org/pub/gnome/sources/%name/%ver_major/%name-%version.tar.bz2
Source1: gnome-about.png
Icon: gnome-desktop-icon.xpm
Conflicts: gnome-core
# From configure.in
%define gtk_ver 2.8.0
%define glib_ver 2.8.0
%define libgnomecanvas_ver 2.0.0
%define libgnomeui_ver 2.6.0
%define gnome_vfs_ver 2.0.0
%define startup_notification_ver 0.5
Requires: lib%name = %version-%release
Requires: yelp icon-theme-hicolor gnome-filesystem
# FIXME: What is it for?
Requires: menu
BuildPreReq: intltool >= 0.35
BuildPreReq: libgtk+2-devel >= %gtk_ver
BuildPreReq: glib2-devel >= %glib_ver
BuildPreReq: libgnomecanvas-devel >= %libgnomecanvas_ver
BuildPreReq: libgnomeui-devel >= %libgnomeui_ver
BuildPreReq: gnome-vfs2-devel >= %gnome_vfs_ver
BuildPreReq: libstartup-notification-devel >= %startup_notification_ver
BuildPreReq: gnome-doc-utils scrollkeeper
BuildPreReq: gtk-doc >= 1.4
BuildPreReq: gnome-common >= 2.8.0
BuildPreReq: pkgconfig >= 0.8
BuildRequires: libSM-devel perl-XML-Parser
%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
Icon: gnome-desktop-icon-l.xpm
Requires: libgtk+2 >= %gtk_ver
Requires: libgnomeui >= %libgnomeui_ver
Requires: gnome-vfs2 >= %gnome_vfs_ver
Requires: libgnomecanvas >= %libgnomecanvas_ver
%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+
Icon: gnome-desktop-icon-d.xpm
Requires: lib%name = %version-%release
Requires: libgnomeui-devel >= %libgnomeui_ver
Requires: libstartup-notification-devel >= %startup_notification_ver
%description -n lib%name-devel
Gnome 2 desktop libraries and header files for creating GNOME panels.
%package -n lib%name-devel-static
Summary: GNOME desktop develop libraries and includes
Group: Development/GNOME and GTK+
Requires: lib%name-devel = %version-%release
Icon: gnome-desktop-icon-ds.xpm
%description -n lib%name-devel-static
Gnome 2 desktop static libraries for creating GNOME panels.
%prep
%setup -q
# xsltproc stumbles upon © (something wrong with DTD?),
# so we replace it with a Unicode representation.
%__subst 's|\©|\©|' desktop-docs/fdl/C/fdl.xml
%build
%configure \
%{subst_enable static} \
--disable-scrollkeeper \
--disable-install-schemas \
--with-gnome-distributor=%gnome_distributor \
--with-gnome-date=%gnome_date
%make_build
%install
%makeinstall
# Menu
%__install -p -m644 %SOURCE1 %buildroot%_datadir/pixmaps/
#%__mkdir_p %buildroot%_datadir/gnome/distribution-menus/ALTLinux
#%__mkdir_p %buildroot%_datadir/application-registry
%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/*
%_datadir/applications/*
%_datadir/gnome-about
%_datadir/pixmaps/*
%_man1dir/*
%doc AUTHORS ChangeLog NEWS README
%files -n lib%name -f %name.lang
%_libdir/*.so.*
%files -n lib%name-devel
%_includedir/*
%_libdir/*.so
%_libdir/pkgconfig/*
%doc %_datadir/gtk-doc/html/%name
%if_enabled static
%files -n lib%name-devel-static
%_libdir/*.a
%endif
%changelog
…
Полный changelog можно просмотреть здесь
%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: LGPL
Group: Graphical desktop/GNOME
Url: ftp://ftp.gnome.org
Source: ftp://ftp.gnome.org/pub/gnome/sources/%name/%ver_major/%name-%version.tar.bz2
Source1: gnome-about.png
Icon: gnome-desktop-icon.xpm
Conflicts: gnome-core
# From configure.in
%define gtk_ver 2.8.0
%define glib_ver 2.8.0
%define libgnomecanvas_ver 2.0.0
%define libgnomeui_ver 2.6.0
%define gnome_vfs_ver 2.0.0
%define startup_notification_ver 0.5
Requires: lib%name = %version-%release
Requires: yelp icon-theme-hicolor gnome-filesystem
# FIXME: What is it for?
Requires: menu
BuildPreReq: intltool >= 0.35
BuildPreReq: libgtk+2-devel >= %gtk_ver
BuildPreReq: glib2-devel >= %glib_ver
BuildPreReq: libgnomecanvas-devel >= %libgnomecanvas_ver
BuildPreReq: libgnomeui-devel >= %libgnomeui_ver
BuildPreReq: gnome-vfs2-devel >= %gnome_vfs_ver
BuildPreReq: libstartup-notification-devel >= %startup_notification_ver
BuildPreReq: gnome-doc-utils scrollkeeper
BuildPreReq: gtk-doc >= 1.4
BuildPreReq: gnome-common >= 2.8.0
BuildPreReq: pkgconfig >= 0.8
BuildRequires: libSM-devel perl-XML-Parser
%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
Icon: gnome-desktop-icon-l.xpm
Requires: libgtk+2 >= %gtk_ver
Requires: libgnomeui >= %libgnomeui_ver
Requires: gnome-vfs2 >= %gnome_vfs_ver
Requires: libgnomecanvas >= %libgnomecanvas_ver
%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+
Icon: gnome-desktop-icon-d.xpm
Requires: lib%name = %version-%release
Requires: libgnomeui-devel >= %libgnomeui_ver
Requires: libstartup-notification-devel >= %startup_notification_ver
%description -n lib%name-devel
Gnome 2 desktop libraries and header files for creating GNOME panels.
%package -n lib%name-devel-static
Summary: GNOME desktop develop libraries and includes
Group: Development/GNOME and GTK+
Requires: lib%name-devel = %version-%release
Icon: gnome-desktop-icon-ds.xpm
%description -n lib%name-devel-static
Gnome 2 desktop static libraries for creating GNOME panels.
%prep
%setup -q
# xsltproc stumbles upon © (something wrong with DTD?),
# so we replace it with a Unicode representation.
%__subst 's|\©|\©|' desktop-docs/fdl/C/fdl.xml
%build
%configure \
%{subst_enable static} \
--disable-scrollkeeper \
--disable-install-schemas \
--with-gnome-distributor=%gnome_distributor \
--with-gnome-date=%gnome_date
%make_build
%install
%makeinstall
# Menu
%__install -p -m644 %SOURCE1 %buildroot%_datadir/pixmaps/
#%__mkdir_p %buildroot%_datadir/gnome/distribution-menus/ALTLinux
#%__mkdir_p %buildroot%_datadir/application-registry
%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/*
%_datadir/applications/*
%_datadir/gnome-about
%_datadir/pixmaps/*
%_man1dir/*
%doc AUTHORS ChangeLog NEWS README
%files -n lib%name -f %name.lang
%_libdir/*.so.*
%files -n lib%name-devel
%_includedir/*
%_libdir/*.so
%_libdir/pkgconfig/*
%doc %_datadir/gtk-doc/html/%name
%if_enabled static
%files -n lib%name-devel-static
%_libdir/*.a
%endif
%changelog
…
Полный changelog можно просмотреть здесь