Репозитории ALT
S: | 3.50.0-alt1 |
5.1: | 2.26.3-alt4 |
4.1: | 2.22.2-alt0.M41.2 |
4.0: | 2.16.2-alt1 |
3.0: | 2.10.2-alt1 |
Другие репозитории
Upstream: | 2.22.0 |
Группа :: Графические оболочки/GNOME
Пакет: gnome-panel
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define ver_major 2.10
%def_disable static
%def_disable eds
Name: gnome-panel
Version: %ver_major.2
Release: alt1
Summary: The core programs for the GNOME GUI desktop environment
License: LGPL
Group: Graphical desktop/GNOME
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: altlinux.png
Source2: altlinux.svg
Patch3: %name-2.9.92-alt-default_setup.patch
Patch5: %name-2.5.93-alt-fish_schemas.patch
%define rpm_ver 0.4-alt14
%define ORBit_ver 2.12.1
%define gtk_ver 2.6.4
%define libbonoboui_ver 2.8.1
%define libgnomeui_ver 2.10.0
%define libwnck_ver 2.10.0
%define desktop_ver 2.10.0
%define glade_ver 2.5.1
%define gnome_vfs_ver 2.10.0
%define intltool_ver 0.33
%define pkgconfig_ver 0.15-alt3.2
%define scrollkeeper_ver 0.3.14
%define GConf_ver 2.10.0
%define gnome_menus_ver 2.10.2
%define gnome_common_ver 2.8.0
PreReq: GConf2 >= %GConf_ver scrollkeeper >= %scrollkeeper_ver
Requires: lib%name = %version-%release
Requires: gnome-menus >= %gnome_menus_ver
Requires: ORBit2 >= %ORBit_ver
Requires: libgtk+2 >= %gtk_ver
Requires: libgnomeui >= %libgnomeui_ver
Requires: libbonoboui >= %libbonoboui_ver
Requires: libwnck >= %libwnck_ver
Requires: gnome-desktop >= %desktop_ver
Requires: libglade2 >= %glade_ver
Requires: gnome-vfs2 >= %gnome_vfs_ver
#Requires: menu >= 2.1.20
# for Wanda
Requires: fortune-mod
BuildPreReq: GConf2 >= %GConf_ver
BuildPreReq: rpm >= %rpm_ver
BuildPreReq: gnome-common >= %gnome_common_ver
BuildPreReq: intltool >= %intltool_ver
BuildPreReq: pkgconfig >= %pkgconfig_ver
BuildPreReq: ORBit2-devel >= %ORBit_ver
BuildPreReq: libgtk+2-devel >= %gtk_ver
BuildPreReq: libgnomeui-devel >= %libgnomeui_ver
BuildPreReq: libbonoboui-devel >= %libbonoboui_ver
BuildPreReq: libwnck-devel >= %libwnck_ver
BuildPreReq: libglade2-devel >= %glade_ver
BuildPreReq: gnome-vfs2-devel >= %gnome_vfs_ver
BuildPreReq: libgnome-desktop-devel >= %desktop_ver
BuildPreReq: libgnome-menus >= %gnome_menus_ver
%if_enabled eds
BuildPreReq: evolution-data-server-devel
%endif
# Automatically added by buildreq on Sun Feb 06 2005
BuildRequires: GConf2 ORBit2-devel XFree86-devel-static XFree86-libs XFree86-utils docbook-dtds docbook-style-xsl esound fontconfig freetype2 gcc-c++ gcc-g77 glib2-devel gnome-common gnome-vfs2-devel gtk-doc intltool libGConf2-devel libart_lgpl-devel libatk-devel libbonobo2-devel libbonoboui-devel libglade2-devel libgnome-desktop-devel libgnome-devel libgnome-keyring libgnome-menus-devel libgnomecanvas-devel libgnomeui-devel libgpg-error libgtk+2-devel libpango-devel libpopt-devel libstartup-notification-devel libstdc++-devel libwnck-devel libxml2-devel perl-XML-Parser pkgconfig scrollkeeper xml-common xsltproc
%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 gnome-core package includes the basic programs and
libraries that are needed to install GNOME.
The GNOME panel packages provides the gnome panel, menu's and some
basic applets for the panel.
%package -n lib%name
Summary: GNOME panel shared libraries
Group: System/Libraries
%description -n lib%name
Panel shared libraries for creating GNOME panels.
%package -n lib%name-devel
Summary: GNOME panel libraries, includes, and more
Group: Development/GNOME and GTK+
Requires: lib%name = %version-%release
Requires: pkgconfig >= %pkgconfig_ver
Requires: ORBit2-devel >= %ORBit_ver
Requires: libgtk+2-devel >= %gtk_ver
Requires: libgnomeui-devel >= %libgnomeui_ver
Requires: libbonoboui-devel >= %libbonoboui_ver
Requires: libwnck-devel >= %libwnck_ver
Requires: libglade2-devel >= %glade_ver
Requires: gnome-vfs2-devel >= %gnome_vfs_ver
Requires: libgnome-desktop-devel >= %desktop_ver
%description -n lib%name-devel
Panel libraries and header files for creating GNOME panels.
%package -n lib%name-devel-static
Summary: GNOME panel static libraries
Group: Development/GNOME and GTK+
Requires: lib%name-devel = %version-%release
%description -n lib%name-devel-static
Panel static libraries for creating GNOME panels.
%define _gtk_docdir %_datadir/gtk-doc/html
%define _libexecdir %_libdir/%name-2.0/applets
%prep
%setup -q
%patch3 -p1
%patch5 -p1
%__subst 's,\(msgstr \"\)ш╡ш╢\(\"\),\124\2,' po/fa.po
%__subst 's,\(msgstr \"\)Ю╖╗Ю╖╙\(\"\),\124\2,' po/bn.po
%build
%__rm -f missing
intltoolize --copy --force
%__libtoolize --copy --force
%__aclocal
gnome-doc-common --copy
%__automake -a -c -f
%__autoconf
export DATADIRNAME=share
%configure \
%{subst_enable static} \
%{subst_enable eds} \
--disable-schemas-install \
--enable-gtk-doc
# SMP-incompatible build
%make
%install
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
%makeinstall
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
# install menu icon
%__mkdir_p %buildroot%_datadir/pixmaps
%__install -m644 %SOURCE1 %buildroot%_datadir/pixmaps/
%__install -m644 %SOURCE2 %buildroot%_iconsdir/
%find_lang --with-gnome --output=%name.lang %name %name-2.0 clock fish-applet-2 window-list workspace-switcher
# remove non-packaged files
%__rm -rf %buildroot/var
%__bzip2 -9fk ChangeLog NEWS
%define schemas clock fish panel-general panel-global panel-object panel-toplevel window-list workspace-switcher
%define schemas_compat panel-compatibility
%post
%gconf2_install %schemas %schemas_compat
%_gconf2_bin --direct --config-source=%gconf2_default_source \
--load=%_sysconfdir/gconf/schemas/panel-default-setup.entries
%update_scrollkeeper
%preun
if [ $1 = 0 ]; then
%gconf2_uninstall %schemas %schemas_compat
fi
%postun
%clean_scrollkeeper
%post -n lib%name -p %post_ldconfig
%postun -n lib%name -p %postun_ldconfig
%files -f %name.lang
%_bindir/*
%dir %_libdir/%name-2.0
%dir %_libexecdir
%_libexecdir/*
%_libdir/bonobo/*/*
%dir %_datadir/gnome/panel
%_datadir/gnome/panel/*
%_datadir/gnome-2.0/ui/*
%_datadir/idl/*
%_datadir/pixmaps/*
%_iconsdir/altlinux.svg
%_iconsdir/*/*/*/*.png
%_man1dir/*
%config %_datadir/gnome-panelrc
%config %_sysconfdir/gconf/*/*
%doc AUTHORS ChangeLog* NEWS* README
%files -n lib%name
%_libdir/libpanel-applet-2.so.*
%files -n lib%name-devel
%_includedir/*
%_libdir/libpanel-applet-2.so
%_libdir/pkgconfig/*
%doc %_gtk_docdir/*
%if_enabled static
%files -n lib%name-devel-static
%_libdir/*.a
%endif
%changelog
…
Полный changelog можно просмотреть здесь
%def_disable static
%def_disable eds
Name: gnome-panel
Version: %ver_major.2
Release: alt1
Summary: The core programs for the GNOME GUI desktop environment
License: LGPL
Group: Graphical desktop/GNOME
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: altlinux.png
Source2: altlinux.svg
Patch3: %name-2.9.92-alt-default_setup.patch
Patch5: %name-2.5.93-alt-fish_schemas.patch
%define rpm_ver 0.4-alt14
%define ORBit_ver 2.12.1
%define gtk_ver 2.6.4
%define libbonoboui_ver 2.8.1
%define libgnomeui_ver 2.10.0
%define libwnck_ver 2.10.0
%define desktop_ver 2.10.0
%define glade_ver 2.5.1
%define gnome_vfs_ver 2.10.0
%define intltool_ver 0.33
%define pkgconfig_ver 0.15-alt3.2
%define scrollkeeper_ver 0.3.14
%define GConf_ver 2.10.0
%define gnome_menus_ver 2.10.2
%define gnome_common_ver 2.8.0
PreReq: GConf2 >= %GConf_ver scrollkeeper >= %scrollkeeper_ver
Requires: lib%name = %version-%release
Requires: gnome-menus >= %gnome_menus_ver
Requires: ORBit2 >= %ORBit_ver
Requires: libgtk+2 >= %gtk_ver
Requires: libgnomeui >= %libgnomeui_ver
Requires: libbonoboui >= %libbonoboui_ver
Requires: libwnck >= %libwnck_ver
Requires: gnome-desktop >= %desktop_ver
Requires: libglade2 >= %glade_ver
Requires: gnome-vfs2 >= %gnome_vfs_ver
#Requires: menu >= 2.1.20
# for Wanda
Requires: fortune-mod
BuildPreReq: GConf2 >= %GConf_ver
BuildPreReq: rpm >= %rpm_ver
BuildPreReq: gnome-common >= %gnome_common_ver
BuildPreReq: intltool >= %intltool_ver
BuildPreReq: pkgconfig >= %pkgconfig_ver
BuildPreReq: ORBit2-devel >= %ORBit_ver
BuildPreReq: libgtk+2-devel >= %gtk_ver
BuildPreReq: libgnomeui-devel >= %libgnomeui_ver
BuildPreReq: libbonoboui-devel >= %libbonoboui_ver
BuildPreReq: libwnck-devel >= %libwnck_ver
BuildPreReq: libglade2-devel >= %glade_ver
BuildPreReq: gnome-vfs2-devel >= %gnome_vfs_ver
BuildPreReq: libgnome-desktop-devel >= %desktop_ver
BuildPreReq: libgnome-menus >= %gnome_menus_ver
%if_enabled eds
BuildPreReq: evolution-data-server-devel
%endif
# Automatically added by buildreq on Sun Feb 06 2005
BuildRequires: GConf2 ORBit2-devel XFree86-devel-static XFree86-libs XFree86-utils docbook-dtds docbook-style-xsl esound fontconfig freetype2 gcc-c++ gcc-g77 glib2-devel gnome-common gnome-vfs2-devel gtk-doc intltool libGConf2-devel libart_lgpl-devel libatk-devel libbonobo2-devel libbonoboui-devel libglade2-devel libgnome-desktop-devel libgnome-devel libgnome-keyring libgnome-menus-devel libgnomecanvas-devel libgnomeui-devel libgpg-error libgtk+2-devel libpango-devel libpopt-devel libstartup-notification-devel libstdc++-devel libwnck-devel libxml2-devel perl-XML-Parser pkgconfig scrollkeeper xml-common xsltproc
%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 gnome-core package includes the basic programs and
libraries that are needed to install GNOME.
The GNOME panel packages provides the gnome panel, menu's and some
basic applets for the panel.
%package -n lib%name
Summary: GNOME panel shared libraries
Group: System/Libraries
%description -n lib%name
Panel shared libraries for creating GNOME panels.
%package -n lib%name-devel
Summary: GNOME panel libraries, includes, and more
Group: Development/GNOME and GTK+
Requires: lib%name = %version-%release
Requires: pkgconfig >= %pkgconfig_ver
Requires: ORBit2-devel >= %ORBit_ver
Requires: libgtk+2-devel >= %gtk_ver
Requires: libgnomeui-devel >= %libgnomeui_ver
Requires: libbonoboui-devel >= %libbonoboui_ver
Requires: libwnck-devel >= %libwnck_ver
Requires: libglade2-devel >= %glade_ver
Requires: gnome-vfs2-devel >= %gnome_vfs_ver
Requires: libgnome-desktop-devel >= %desktop_ver
%description -n lib%name-devel
Panel libraries and header files for creating GNOME panels.
%package -n lib%name-devel-static
Summary: GNOME panel static libraries
Group: Development/GNOME and GTK+
Requires: lib%name-devel = %version-%release
%description -n lib%name-devel-static
Panel static libraries for creating GNOME panels.
%define _gtk_docdir %_datadir/gtk-doc/html
%define _libexecdir %_libdir/%name-2.0/applets
%prep
%setup -q
%patch3 -p1
%patch5 -p1
%__subst 's,\(msgstr \"\)ш╡ш╢\(\"\),\124\2,' po/fa.po
%__subst 's,\(msgstr \"\)Ю╖╗Ю╖╙\(\"\),\124\2,' po/bn.po
%build
%__rm -f missing
intltoolize --copy --force
%__libtoolize --copy --force
%__aclocal
gnome-doc-common --copy
%__automake -a -c -f
%__autoconf
export DATADIRNAME=share
%configure \
%{subst_enable static} \
%{subst_enable eds} \
--disable-schemas-install \
--enable-gtk-doc
# SMP-incompatible build
%make
%install
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
%makeinstall
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
# install menu icon
%__mkdir_p %buildroot%_datadir/pixmaps
%__install -m644 %SOURCE1 %buildroot%_datadir/pixmaps/
%__install -m644 %SOURCE2 %buildroot%_iconsdir/
%find_lang --with-gnome --output=%name.lang %name %name-2.0 clock fish-applet-2 window-list workspace-switcher
# remove non-packaged files
%__rm -rf %buildroot/var
%__bzip2 -9fk ChangeLog NEWS
%define schemas clock fish panel-general panel-global panel-object panel-toplevel window-list workspace-switcher
%define schemas_compat panel-compatibility
%post
%gconf2_install %schemas %schemas_compat
%_gconf2_bin --direct --config-source=%gconf2_default_source \
--load=%_sysconfdir/gconf/schemas/panel-default-setup.entries
%update_scrollkeeper
%preun
if [ $1 = 0 ]; then
%gconf2_uninstall %schemas %schemas_compat
fi
%postun
%clean_scrollkeeper
%post -n lib%name -p %post_ldconfig
%postun -n lib%name -p %postun_ldconfig
%files -f %name.lang
%_bindir/*
%dir %_libdir/%name-2.0
%dir %_libexecdir
%_libexecdir/*
%_libdir/bonobo/*/*
%dir %_datadir/gnome/panel
%_datadir/gnome/panel/*
%_datadir/gnome-2.0/ui/*
%_datadir/idl/*
%_datadir/pixmaps/*
%_iconsdir/altlinux.svg
%_iconsdir/*/*/*/*.png
%_man1dir/*
%config %_datadir/gnome-panelrc
%config %_sysconfdir/gconf/*/*
%doc AUTHORS ChangeLog* NEWS* README
%files -n lib%name
%_libdir/libpanel-applet-2.so.*
%files -n lib%name-devel
%_includedir/*
%_libdir/libpanel-applet-2.so
%_libdir/pkgconfig/*
%doc %_gtk_docdir/*
%if_enabled static
%files -n lib%name-devel-static
%_libdir/*.a
%endif
%changelog
…
Полный changelog можно просмотреть здесь