author | chrisk |
Mon, 31 Aug 2009 16:23:04 +0000 | |
changeset 16434 | f21f22550fe9 |
parent 16429 | fe72291e50fd |
child 16555 | eb81aee8c14b |
permissions | -rw-r--r-- |
9397 | 1 |
# spec file for package gnome-menus |
2 |
# |
|
11414 | 3 |
# Copyright (c) 2008 Sun Microsystems, Inc. |
9397 | 4 |
# This file and all modifications and additions to the pristine |
5 |
# package are under the same license as the package itself. |
|
16434 | 6 |
%define owner mattman |
9397 | 7 |
# |
16429 | 8 |
|
9 |
%define OSR gnome.org:0 |
|
10 |
||
9397 | 11 |
%include l10n.inc |
12 |
Name: gnome-menus |
|
13 |
License: LGPL |
|
14 |
Group: System/GUI/GNOME |
|
16182 | 15 |
Version: 2.27.5 |
11836 | 16 |
Release: 1 |
9397 | 17 |
Distribution: Java Desktop System |
18 |
Vendor: Sun Microsystems, Inc. |
|
19 |
Summary: Implementation of Desktop Menu Specification for GNOME |
|
16084 | 20 |
Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/2.27/%{name}-%{version}.tar.bz2 |
9397 | 21 |
Source1: %{name}-po-sun-%{po_sun_version}.tar.bz2 |
12031 | 22 |
%if %build_l10n |
23 |
Source2: l10n-configure.sh |
|
24 |
%endif |
|
9397 | 25 |
# date:2006-04-28 owner:gman type:branding |
26 |
Patch1: gnome-menus-01-quickstart.diff |
|
27 |
# date:2006-04-28 owner:gman type:branding |
|
28 |
Patch2: gnome-menus-02-application-submenu-rename.diff |
|
29 |
# date:2006-04-28 owner:gman type:branding |
|
30 |
Patch3: gnome-menus-03-preferences.diff |
|
11812
a5e984fceb07
* base-specs/gnome-menus.spec : Fix gnome-panel crash stopper bug
mattman
parents:
11738
diff
changeset
|
31 |
# date:2008-03-06 type:bug owner:mattman bugzilla:504600 bugster:6666675 |
a5e984fceb07
* base-specs/gnome-menus.spec : Fix gnome-panel crash stopper bug
mattman
parents:
11738
diff
changeset
|
32 |
Patch4: gnome-menus-04-menu-monitor.diff |
9397 | 33 |
URL: http://www.gnome.org |
34 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
35 |
Docdir: %{_defaultdocdir}/%{name} |
|
36 |
Autoreqprov: on |
|
37 |
Prereq: /sbin/ldconfig |
|
38 |
Prereq: GConf |
|
39 |
||
40 |
%define gnome_vfs_version 2.8.2 |
|
41 |
%define pygtk2_version 2.7.0 |
|
42 |
%define python_version 2.4 |
|
43 |
||
44 |
Requires: pygtk2 >= %{pygtk2_version} |
|
45 |
BuildRequires: pygtk2 >= %{pygtk2_version} |
|
46 |
BuildRequires: gnome-vfs >= %{gnome_common_version} |
|
47 |
BuildRequires: intltool |
|
48 |
||
49 |
%description |
|
50 |
This package implements the freedesktop.org desktop menu specification for the GNOME |
|
51 |
desktop. Also contained in this package, are the menu layout configuration files, .directory |
|
52 |
and assorted menu utility programs. |
|
53 |
||
54 |
%package devel |
|
55 |
Summary: Implementation of Desktop Menu Specification for GNOME |
|
56 |
Group: System/Libraries/GNOME |
|
57 |
Autoreqprov: on |
|
58 |
Requires: %name = %version |
|
59 |
Requires: gnome-vfs-devel >= %{gnome_vfs_version} |
|
60 |
||
61 |
%description devel |
|
62 |
This package implements the freedesktop.org desktop menu specification for the GNOME |
|
63 |
desktop. Also contained in this package, are the menu layout configuration files, .directory |
|
64 |
and assorted menu utility programs. |
|
65 |
||
66 |
%prep |
|
67 |
%setup -q |
|
68 |
%if %build_l10n |
|
69 |
bzcat %SOURCE1 | tar xf - |
|
70 |
cd po-sun; make; cd .. |
|
71 |
%endif |
|
10706 | 72 |
# Remove the changes to the default menu for Indiana, so |
73 |
# patch these only when building a Sun product. |
|
74 |
%if %option_with_sun_branding |
|
9397 | 75 |
%patch1 -p1 |
10706 | 76 |
%endif |
9397 | 77 |
%patch2 -p1 |
10706 | 78 |
%if %option_with_sun_branding |
9397 | 79 |
%patch3 -p1 |
10706 | 80 |
%endif |
11812
a5e984fceb07
* base-specs/gnome-menus.spec : Fix gnome-panel crash stopper bug
mattman
parents:
11738
diff
changeset
|
81 |
%patch4 -p1 |
9397 | 82 |
|
83 |
%build |
|
84 |
%ifos linux |
|
85 |
if [ -x /usr/bin/getconf ]; then |
|
86 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
87 |
fi |
|
88 |
%else |
|
89 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
|
90 |
%endif |
|
91 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
92 |
CPUS=1 |
|
93 |
fi |
|
94 |
||
16014
657275c2abd8
* SUNWgnome-panel.spec : Update %doc for 2.26.3 tarballs
mattman
parents:
15621
diff
changeset
|
95 |
libtoolize --force |
657275c2abd8
* SUNWgnome-panel.spec : Update %doc for 2.26.3 tarballs
mattman
parents:
15621
diff
changeset
|
96 |
glib-gettextize -f |
10391 | 97 |
intltoolize --force --copy --automake |
12031 | 98 |
|
99 |
%if %build_l10n |
|
100 |
bash -x %SOURCE2 --enable-copyright |
|
101 |
%endif |
|
102 |
||
9397 | 103 |
aclocal $ACLOCAL_FLAGS |
104 |
automake -a -c -f |
|
105 |
autoconf |
|
106 |
./configure --prefix=%{_prefix} \ |
|
107 |
--sysconfdir=%{_sysconfdir} \ |
|
108 |
--mandir=%{_mandir} |
|
109 |
make -j $CPUS \ |
|
110 |
pyexecdir=%{_libdir}/python%{python_version}/vendor-packages \ |
|
111 |
pythondir=%{_libdir}/python%{python_version}/vendor-packages |
|
112 |
||
113 |
%install |
|
114 |
make DESTDIR=$RPM_BUILD_ROOT install \ |
|
115 |
pyexecdir=%{_libdir}/python%{python_version}/vendor-packages \ |
|
116 |
pythondir=%{_libdir}/python%{python_version}/vendor-packages |
|
117 |
find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';' |
|
118 |
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';' |
|
119 |
find $RPM_BUILD_ROOT -type f -name "*.pyo" -exec rm -f {} ';' |
|
120 |
# FIXME: Giga-hack part 1 of 2 follows... |
|
121 |
# file /etc/xdg/menus/applications.menu conflicts with desktop-data-SLES |
|
122 |
# Only on SuSE Linux !! |
|
123 |
%ifos linux |
|
124 |
mv $RPM_BUILD_ROOT%{_sysconfdir}/xdg/menus/applications.menu \ |
|
125 |
$RPM_BUILD_ROOT%{_sysconfdir}/xdg/menus/applications.menu.new |
|
126 |
%endif |
|
127 |
||
128 |
%post |
|
129 |
/sbin/ldconfig |
|
130 |
# FIXME: Giga-hack part 2 of 2 follows... |
|
131 |
# file /etc/xdg/menus/applications.menu conflicts with desktop-data-SLES |
|
132 |
MENU=/etc/xdg/menus/applications.menu |
|
133 |
cp $MENU $MENU.SuSE |
|
134 |
cp $MENU.new $MENU |
|
135 |
||
136 |
%postun |
|
137 |
/sbin/ldconfig |
|
138 |
||
139 |
%clean |
|
140 |
rm -rf $RPM_BUILD_ROOT |
|
141 |
||
142 |
%files |
|
143 |
%defattr(-,root,root) |
|
144 |
%{_bindir}/* |
|
145 |
%{_libdir}/libgnome-menu.so.* |
|
146 |
%{_datadir}/desktop-directories/* |
|
147 |
%config %{_sysconfdir}/xdg/menus/* |
|
148 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo |
|
149 |
%{_datadir}/applications/*.desktop |
|
150 |
%{_datadir}/gnome-menus |
|
151 |
%{_libdir}/python2.4/ |
|
152 |
||
153 |
%files devel |
|
154 |
%defattr(-, root, root) |
|
155 |
%{_libdir}/pkgconfig/* |
|
156 |
%{_libdir}/libgnome-menu.so |
|
157 |
%{_includedir}/gnome-menus/* |
|
158 |
||
159 |
%changelog |
|
16182 | 160 |
* Thu Jul 30 2009 - [email protected] |
161 |
- Bump to 2.27.5. |
|
162 |
- Remove upstream patch. |
|
16084 | 163 |
* Tue Jul 21 2009 - [email protected] |
164 |
- Correct download link. |
|
16014
657275c2abd8
* SUNWgnome-panel.spec : Update %doc for 2.26.3 tarballs
mattman
parents:
15621
diff
changeset
|
165 |
* Wed Jul 01 2009 - [email protected] |
657275c2abd8
* SUNWgnome-panel.spec : Update %doc for 2.26.3 tarballs
mattman
parents:
15621
diff
changeset
|
166 |
- Bump to 2.26.2 |
657275c2abd8
* SUNWgnome-panel.spec : Update %doc for 2.26.3 tarballs
mattman
parents:
15621
diff
changeset
|
167 |
- Fix d.o.o: 9306, add patch 05-disable-shave.diff |
15621 | 168 |
* Wed Apr 15 2009 - [email protected] |
169 |
- Bump to 2.26.1 |
|
15407 | 170 |
* Tue Mar 17 2009 - [email protected] |
171 |
- Bump to 2.26.0 |
|
15117 | 172 |
* Tue Feb 17 2009 - [email protected] |
173 |
- Bump to 2.25.91 |
|
14988
c1837618ac97
* patches/gnome-panel-11-lockdown-applets.diff : Re-worked
mattman
parents:
14697
diff
changeset
|
174 |
* Thu Jan 29 2009 - [email protected] |
c1837618ac97
* patches/gnome-panel-11-lockdown-applets.diff : Re-worked
mattman
parents:
14697
diff
changeset
|
175 |
- Bump to 2.25.5 |
14697 | 176 |
* Wed Dec 03 2008 - [email protected] |
177 |
- Bump to 2.25.2 |
|
14526
112885133b40
* base-specs/gnome-menus.spec: Remove invalid indiana branding patch
mattman
parents:
13796
diff
changeset
|
178 |
* Wed Oct 29 2008 - [email protected] |
112885133b40
* base-specs/gnome-menus.spec: Remove invalid indiana branding patch
mattman
parents:
13796
diff
changeset
|
179 |
- Remove indiana branding patch 05, #6765067 |
13796 | 180 |
* Sat Sep 27 2008 - [email protected] |
181 |
- Bump to 2.24.0. |
|
13763
d0dcb8c5ffdf
* base-specs/gnome-menus.spec : Add patch 05-indiana-branding.diff
mattman
parents:
13524
diff
changeset
|
182 |
* Thu Sep 25 2008 - [email protected] |
d0dcb8c5ffdf
* base-specs/gnome-menus.spec : Add patch 05-indiana-branding.diff
mattman
parents:
13524
diff
changeset
|
183 |
- Indiana branding, hide Devemoper Tools Menu #6752376 |
13524 | 184 |
* Wed Sep 10 2008 - [email protected] |
185 |
- Bump to 2.23.92. |
|
13361 | 186 |
* Tue Sep 02 2008 - [email protected] |
187 |
- Bump to 2.23.91. |
|
13075 | 188 |
* Thu Aug 08 2008 - [email protected] |
189 |
- Bump to 2.23.6. |
|
12898 | 190 |
* Wed Jul 22 2008 - [email protected] |
191 |
- Bump to 2.23.5. |
|
12687 | 192 |
* Tue Jun 17 2008 - [email protected] |
193 |
- Bump to 2.23.4. |
|
12607 | 194 |
* Fri Jun 06 2008 - [email protected] |
195 |
- Fixes broken download link. |
|
12580 | 196 |
* Wed Jun 04 2008 - [email protected] |
197 |
- Bump to 2.23.3. |
|
12527
ecafaa5ea72b
* base-specs/gnome-desktop.spec : Re-Apply patch which fixes bugster:6695640
mattman
parents:
12511
diff
changeset
|
198 |
* Thu May 29 2008 - [email protected] |
ecafaa5ea72b
* base-specs/gnome-desktop.spec : Re-Apply patch which fixes bugster:6695640
mattman
parents:
12511
diff
changeset
|
199 |
- Bump to 2.23.1. Re-factor patches |
12511 | 200 |
* Wed May 28 2008 - [email protected] |
201 |
- Bump to 2.22.2. |
|
12071 | 202 |
* Wed Apr 09 2008 - [email protected] |
203 |
- Bump to 2.22.1. |
|
11836 | 204 |
* Mon Mar 10 2008 - [email protected] |
205 |
- Bump to 2.22.0 |
|
11812
a5e984fceb07
* base-specs/gnome-menus.spec : Fix gnome-panel crash stopper bug
mattman
parents:
11738
diff
changeset
|
206 |
* Thu Mar 6 2008 - [email protected] |
a5e984fceb07
* base-specs/gnome-menus.spec : Fix gnome-panel crash stopper bug
mattman
parents:
11738
diff
changeset
|
207 |
- Add patch 04-menu-monitor.diff, fix bug 6666675 stopper |
11738 | 208 |
* Wed Feb 27 2008 - [email protected] |
209 |
- Bump to 2.21.92. |
|
11621 | 210 |
* Tue Feb 12 2008 - [email protected] |
211 |
- Bump to 2.21.91. |
|
11537 | 212 |
* Mon Jan 28 2008 - [email protected] |
213 |
- Bump to 2.21.90. |
|
11456 | 214 |
* Tue Jan 15 2008 - [email protected] |
215 |
- Bump to 2.21.5. Remove upstream patch, 04-gio. |
|
11414 | 216 |
* Tue Jan 08 2008 - [email protected] |
217 |
- Add upstream patch, 04-gio, to use correct gio variable type. |
|
218 |
* Sun Dec 23 2007 - [email protected] |
|
219 |
- Bump to 2.21.3. |
|
11180 | 220 |
* Tue Nov 13 2007 - [email protected] |
221 |
- Bump to 2.21.2. |
|
11159 | 222 |
* Fri Nov 09 2007 - [email protected] |
223 |
- Remove 04-support-alacarte.diff. |
|
10674 | 224 |
* Fri Oct 19 2007 - [email protected] |
225 |
- Bump to 2.20.1. |
|
10635 | 226 |
* Wed Oct 10 2007 - [email protected] |
227 |
- Don't delete *.pyc files - they are needed. |
|
10517 | 228 |
* Tue Sep 18 2007 - [email protected] |
229 |
- Bump to 2.20.0. |
|
10448 | 230 |
* Wed Sep 05 2007 - [email protected] |
231 |
- Bump to 2.19.92. |
|
10391 | 232 |
* Tue Aug 28 2007 - [email protected] |
233 |
- Replace 05-iconv-solaris patch with call to intltoolize. |
|
10337 | 234 |
* Thu Aug 16 2007 - [email protected] |
235 |
- Add patch 05-iconv-solaris to fix #467309.Modify intltool-merge.in to allow |
|
236 |
use of non-GNU iconv. |
|
10327 | 237 |
* Wed Aug 15 2007 - [email protected] |
238 |
- Bump to 2.19.90. |
|
10237 | 239 |
* Tue Jul 31 2007 - [email protected] |
240 |
- Bump to 2.19.6. |
|
10169 | 241 |
* Mon Jul 09 2007 - [email protected] |
242 |
- Bump to 2.19.5. |
|
10068 | 243 |
* Mon Jun 18 2007 - [email protected] |
244 |
- Bump to 2.19.4. |
|
9988 | 245 |
* Tue Jun 05 2007 - [email protected] |
246 |
- Bump to 2.19.3. |
|
9889 | 247 |
* Mon May 14 2007 - [email protected] |
248 |
- Bump to 2.19.2. |
|
9538 | 249 |
* Tue Mar 13 2007 - [email protected] |
250 |
- Bump to 2.18.0. |
|
9397 | 251 |
* Tue Feb 27 2007 - [email protected] |
252 |
- Bump to 2.17.92. |
|
253 |
* Tue Feb 13 2007 - [email protected] |
|
254 |
- Bump to 2.17.91. |
|
255 |
* Tue Jan 16 2007 - [email protected] |
|
256 |
- Add l10n tarball. |
|
257 |
* Wed Jan 10 2007 - [email protected] |
|
258 |
- Bump to 2.17.5. |
|
259 |
* Wed Nov 22 2006 - [email protected] |
|
260 |
- Bump to 2.17.2. |
|
261 |
* Tue Oct 03 2006 - [email protected] |
|
262 |
- Bump to 2.16.1. |
|
263 |
* Mon Sep 04 2006 - [email protected] |
|
264 |
- Bump to 2.16.0. |
|
265 |
* Thu Aug 16 2006 - [email protected] |
|
266 |
- add patch gnome-menus-04-support-alacarte.diff to fix bug 6460249. |
|
267 |
* Tue Aug 08 2006 - [email protected] |
|
268 |
- Bump to 2.15.91. |
|
269 |
* Tue Aug 08 2006 - [email protected] |
|
270 |
- Remove alacarte patch, and reorder. |
|
271 |
* Mon Jul 24 2006 - [email protected] |
|
272 |
- Bump to 2.15.90. |
|
273 |
* Wed May 03 2006 - [email protected] |
|
274 |
- Remove Accessibility submenu from preferences |
|
275 |
* Fri Apr 28 2006 - [email protected] |
|
276 |
- Add patch to rename some submenus, like |
|
277 |
Universal Access, and Developer Tools. |
|
278 |
* Fri Apr 28 2006 - [email protected] |
|
279 |
- Add quickstart.menu, along with ability to edit |
|
280 |
in the simple menu editor. |
|
281 |
* Fri Apr 21 2006 - [email protected] |
|
282 |
- Add alacarte patch which adds exec in terminal |
|
283 |
and no display options needed for the menu editor. |
|
284 |
* Thu Apr 13 2006 - [email protected] |
|
285 |
- Bump to 2.14.0. |
|
286 |
* Fri Jan 21 2006 - [email protected] |
|
287 |
- Bump to 2.13.5. |
|
288 |
* Thu Oct 27 2005 - [email protected] |
|
289 |
- move python stuff from site-packages to vendor-packages |
|
290 |
* Sat Sep 17 2005 - [email protected] |
|
291 |
- Bump to 2.12.0 |
|
292 |
* Wed Aug 24 2005 - [email protected] |
|
293 |
- remove upstream patch |
|
294 |
* Mon Aug 15 2005 - [email protected] |
|
295 |
- Bump to 2.11.91. |
|
296 |
* Fri May 13 2005 - [email protected] |
|
297 |
- Add unisntalled-pc files since they are needed on Solaris to build. |
|
298 |
* Tue May 10 2005 - [email protected] |
|
299 |
- Initial spec file for gnome-menus |