View | Details | Raw Unified | Return to bug 9592
Collapse All | Expand All

(-)gnome-menus-2.13.5~/gnome-menus.spec (-9 / +13 lines)
Line 0 Link Here
1
--- gnome-menus-2.13.5/libmenu/gmenu-tree.c~	2005-12-08 11:19:24 +0300
Lines 18-23 Url: http://www.gnome.org Link Here
18
Source: ftp://ftp.gnome.org/pub/gnome/sources/%name/%ver_major/%name-%version.tar.bz2
18
Source: ftp://ftp.gnome.org/pub/gnome/sources/%name/%ver_major/%name-%version.tar.bz2
19
#Source1: gnome-applications.menu
19
#Source1: gnome-applications.menu
20
#Patch: %name-2.10.2-alt-layout.patch
20
#Patch: %name-2.10.2-alt-layout.patch
21
Patch1: gnome-menus-2.13.5-alt-add-merge-dir.patch
21
22
22
%define glib_ver 2.6.3
23
%define glib_ver 2.6.3
23
%define gnome_vfs_ver 2.10.0
24
%define gnome_vfs_ver 2.10.0
Lines 87-97 В этом пакете Ð½Ð°Ñ…Ð¾Ð´Ð¸Ñ‚Ñ Link Here
87
%prep
88
%prep
88
%setup -q -n %name-%version
89
%setup -q -n %name-%version
89
#%patch -p1
90
#%patch -p1
91
%patch1 -p1
90
92
91
# change DefaultMergeDirs to *-gnome-merged and remove the link to it
93
# cleanup merging entries
92
# in applications.menu to avoid inclusion of the directory from itself.
94
%__subst 's,<DefaultMergeDirs[^>]*>,<!-- <DefaultMergeDirs/> -->,' layout/applications.menu
93
%__subst 's,\(\-merged\),-gnome\1,' libmenu/gmenu-tree.c
95
%__subst 's,<KDELegacyDirs[^>]*>,<!-- <KDELegacyDirs/> -->,' layout/applications.menu
94
%__subst 's,<DefaultMergeDirs[^>]*>,<!--DefaultMergeDirs-->,' layout/applications.menu
95
96
96
%build
97
%build
97
%configure \
98
%configure \
Lines 103-111 В этом пакете Ð½Ð°Ñ…Ð¾Ð´Ð¸Ñ‚Ñ Link Here
103
%makeinstall
104
%makeinstall
104
105
105
# These are no more needed
106
# These are no more needed
106
#%%__install -pD -m644 %SOURCE1 %buildroot%_sysconfdir/xdg/menus/applications-gnome-merged/applications.menu
107
#%%__install -pD -m644 %%SOURCE1 %buildroot%_sysconfdir/gnome/xdg/menus/applications-merged/applications.menu
107
%__install -pD -m644 %buildroot%_sysconfdir/xdg/menus/applications.menu \
108
%__install -pD -m644 %buildroot%_sysconfdir/xdg/menus/applications.menu \
108
%buildroot%_sysconfdir/xdg/menus/applications-gnome-merged/applications.menu
109
%buildroot%_sysconfdir/gnome/xdg/menus/applications-merged/applications.menu
109
110
110
%find_lang %name
111
%find_lang %name
111
112
Lines 114-122 В этом пакете Ð½Ð°Ñ…Ð¾Ð´Ð¸Ñ‚Ñ Link Here
114
115
115
%files -f %name.lang
116
%files -f %name.lang
116
%_datadir/desktop-directories/*
117
%_datadir/desktop-directories/*
117
%dir %_sysconfdir/xdg/menus/applications-gnome-merged
118
%dir %_sysconfdir/gnome/
118
%config %_sysconfdir/xdg/menus/applications-gnome-merged/applications.menu
119
%dir %_sysconfdir/gnome/xdg/
119
#config %_sysconfdir/xdg/menus/applications-gnome-merged/applications-gnome.menu
120
%dir %_sysconfdir/gnome/xdg/menus/
121
%dir %_sysconfdir/gnome/xdg/menus/applications-merged
122
%config %_sysconfdir/gnome/xdg/menus/applications-merged/applications.menu
120
%config %_sysconfdir/xdg/menus/preferences.menu
123
%config %_sysconfdir/xdg/menus/preferences.menu
121
%config %_sysconfdir/xdg/menus/settings.menu
124
%config %_sysconfdir/xdg/menus/settings.menu
122
%doc AUTHORS ChangeLog NEWS README
125
%doc AUTHORS ChangeLog NEWS README

Return to bug 9592