Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37639362
en ru br
ALT Linux repositórios
S:3.36.0-alt2
5.0: 2.26.1-alt1
4.1: 2.22.2-alt0.M41.1
4.0: 2.16.0-alt1
3.0: 2.10.2-alt1

Group :: Desktop gráfico/GNOME
RPM: gnome-menus

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define ver_major 2.10

Name: gnome-menus
Version: %ver_major.2
Release: alt1

Summary: GNOME desktop menu
License: GPL
Group: Graphical desktop/GNOME
Url: http://www.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: gnome-applications.menu
Patch: %name-2.10.2-alt-layout.patch

%define glib_ver 2.6.3
%define gnome_vfs_ver 2.10.0

Requires: altlinux-menus

BuildPreReq: glib2-devel >= %glib_ver
BuildPreReq: gnome-vfs2-devel >= %gnome_vfs_ver

# Automatically added by buildreq on Mon Jan 31 2005

BuildRequires: ORBit2-devel gcc-c++ gcc-g77 glib2-devel gnome-vfs2-devel libGConf2-devel libbonobo2-devel libstdc++-devel perl-XML-Parser pkgconfig

%description
The package contains an implementation of the draft "Desktop Menu
Specification" from http://www.freedesktop.org/Standards/menu-spec/

%package -n lib%name
Summary: Desktop Menu Library for GNOME
Group: System/Libraries
Requires: glib2 >= %glib_ver
Requires: gnome-vfs2 >= %gnome_vfs_ver

%description -n lib%name
This package provides Desktop Menu Library for GNOME.

%package -n lib%name-devel
Summary: Development files for GNOME Desktop Menu Library
Group: Development/C
Requires: lib%name = %version-%release
Requires: glib2-devel >= %glib_ver
Requires: gnome-vfs2-devel >= %gnome_vfs_ver

%description -n lib%name-devel
This package provides files required to develop programs that use
Desktop Menu Library.

%prep
%setup -q -n %name-%version
%patch -p1

# change DefaultMergeDirs to *-gnome-merged

%__subst 's,\(\-merged\),-gnome\1,' libmenu/menu-tree.c

%build
%configure \
--disable-static

%make_build

%install
%makeinstall

%__install -pD -m644 %SOURCE1 %buildroot%_sysconfdir/xdg/menus/applications-gnome-merged/applications.menu
%__mv %buildroot%_sysconfdir/xdg/menus/applications.menu \
%buildroot%_sysconfdir/xdg/menus/applications-gnome-merged/applications-gnome.menu

%find_lang %name

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

%files -f %name.lang
%_datadir/desktop-directories/*
%dir %_sysconfdir/xdg/menus/applications-gnome-merged
%config %_sysconfdir/xdg/menus/applications-gnome-merged/applications.menu
%config %_sysconfdir/xdg/menus/applications-gnome-merged/applications-gnome.menu
%config %_sysconfdir/xdg/menus/preferences.menu
%config %_sysconfdir/xdg/menus/settings.menu
%doc AUTHORS ChangeLog NEWS README

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

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

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009