source: projects/specs/trunk/m/metacity/metacity-vl.spec @ 4616

Revision 4616, 14.7 KB checked in by Takemikaduchi, 13 years ago (diff)

X.Org, compiz, GNOME3, etc...

Line 
1%define gettext_package metacity
2
3Summary: Metacity window manager
4Summary(ja): Metacity ウインドウマネージャ
5Name: metacity
6Version: 2.34.1
7Release: 1%{?_dist_release}
8URL: http://ftp.gnome.org/pub/gnome/sources/metacity/
9License: GPL
10Group: User Interface/Desktops
11
12Source0: http://ftp.gnome.org/pub/GNOME/sources/metacity/2.34/%{name}-%{version}.tar.xz
13Source10: metacity-theme-vine-6.tar.bz2
14
15# update ja.po from git
16# http://git.gnome.org/browse/metacity/commit/?id=8c407025fb3c83262c17bbb28fe175a416fb29ab
17Source20: metacity-2.34.0-ja.po
18
19# change default theme to Vine
20Patch0: metacity-2.34.0-default-theme.patch
21# ctrl-alt-del call logout session
22Patch1: metacity-2.26.0-ctrlaltdel.patch
23# change default number of workspace
24# Patch2: metacity-2.26.0-num_workspace.patch
25# http://bugzilla.gnome.org/show_bug.cgi?id=558723
26Patch4: stop-spamming-xsession-errors.patch
27# enable compositing_manager
28Patch10: metacity-2.30.3-enable-compositing-manager.patch
29# change deafult (revert to 2.30 default)
30Patch11: metacity-2.34.0-revert-default-setting.patch
31
32# revert patch to work with compiz
33# http://git.gnome.org/browse/metacity/commit/?id=6a52883c2b670ad645257373515d1e704408b93d
34Patch20: metacity-2.34.0-revert-6a5288.patch
35
36BuildRoot: %{_tmppath}/%{name}-%{version}-root
37BuildRequires: gtk2-devel >= 2.20
38BuildRequires: pango-devel >= 1.28.0
39BuildRequires: GConf2-devel >= 2.28.0
40BuildRequires: desktop-file-utils >= 0.3
41BuildRequires: intltool >= 0.22
42BuildRequires: startup-notification-devel >= 0.7
43BuildRequires: libtool, automake, autoconf
44BuildRequires: xorg-x11-proto-devel
45BuildRequires: libSM-devel, libICE-devel, libX11-devel
46BuildRequires: libXext-devel, libXinerama-devel, libXrandr-devel
47BuildRequires: libXcursor-devel, libXrender-devel
48BuildRequires: libXcomposite-devel, libXdamage-devel
49BuildRequires: zenity
50BuildRequires: libcanberra-devel
51BuildRequires: libgtop2-devel
52BuildRequires: gnome-doc-utils
53Requires(post): GConf2
54
55Vendor: Project Vine
56Distribution: Vine Linux
57Packager: daisuke
58
59%description
60Metacity is a simple window manager that integrates nicely with
61the GNOME desktop.
62
63%package devel
64Summary: Development files for metacity
65Group: Development/Libraries
66Requires: gtk2-devel, libX11-devel
67Requires: pkgconfig
68Requires: %{name} = %{version}-%{release}
69
70%description devel
71This package contains the files needed for compiling programs using
72the metacity-private library. Note that you are not supposed to write
73programs using the metacity-private library, since it is a private
74API. This package exists purely for technical reasons.
75
76%prep
77%setup -q
78
79%patch0 -p1 -b .default-theme
80%patch1 -p1 -b .ctrlaltdel
81# patch2 -p1 -b .num_workspace
82%patch4 -p1 -b .stop-spamming-xsession-errors
83%patch10 -p1 -b .enable-compositing-manager
84%patch11 -p1 -b .revert-default-settings
85
86%patch20 -p1 -b .revert-6a5288
87
88cp -a %{SOURCE20} po/ja.po
89
90%build
91intltoolize --copy --force
92libtoolize --copy --force
93autoreconf
94%configure
95%__make %{?_smp_mflags} INTLTOOL_MERGE=/usr/bin/intltool-merge
96
97%install
98rm -rf $RPM_BUILD_ROOT
99
100export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
101make install DESTDIR=$RPM_BUILD_ROOT
102unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
103
104/bin/rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
105/bin/rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
106
107# install Vine Theme (default theme)
108tar xzvf %{SOURCE10} -C $RPM_BUILD_ROOT%{_datadir}/themes
109
110%find_lang %{gettext_package}
111
112%clean
113rm -rf $RPM_BUILD_ROOT
114
115%post
116export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
117SCHEMAS="metacity.schemas"
118for S in $SCHEMAS; do
119  gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S > /dev/null
120done
121
122%files -f %{gettext_package}.lang
123%defattr(-,root,root)
124%doc README AUTHORS COPYING NEWS HACKING doc/theme-format.txt doc/metacity-theme.dtd
125%{_bindir}/metacity
126%{_bindir}/metacity-message
127#{_libexecdir}/*
128%{_sysconfdir}/gconf/schemas/*.schemas
129%{_datadir}/metacity
130%{_datadir}/themes
131%{_libdir}/lib*.so.*
132%{_mandir}/man1/metacity.1.gz
133%{_mandir}/man1/metacity-message.1.gz
134%{_datadir}/gnome-control-center/keybindings/*
135%{_datadir}/applications/metacity.desktop
136%{_datadir}/gnome/wm-properties/metacity-wm.desktop
137%{_datadir}/gnome/help/creating-metacity-themes
138
139%files devel
140%defattr(-,root,root)
141%{_bindir}/metacity-theme-viewer
142%{_bindir}/metacity-window-demo
143%{_includedir}/*
144%{_libdir}/lib*.so
145%{_libdir}/pkgconfig/*
146%{_mandir}/man1/metacity-theme-viewer.1.gz
147%{_mandir}/man1/metacity-window-demo.1.gz
148
149%changelog
150* Mon Aug 15 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.34.1-1
151- new upstream release
152
153* Tue Aug 02 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.34.0-5
154- fix Vine theme to use fixed size window buttons.
155  - some fonts breaks window title design..
156
157* Wed Jun 22 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.34.0-4
158- update metacity theme
159
160* Sun Jun 12 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.34.0-3
161- add patch20 (revert patch)
162  - this commit breaks compiz window decoration.
163
164* Sun Jun 12 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.34.0-2
165- update ja.po from git
166
167* Sat Jun 11 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.34.0-1
168- update to 2.34.0
169- add patch11 to revert default settings
170  - default title font to Sans Bold 10
171  - add icon menu on titlebar
172- disable patch2 to change workspace num to 4 (factory default).
173
174* Sat Jun 11 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.30.3-3
175- update metacity theme
176
177* Wed Jun 01 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.30.3-2
178- update metacity theme
179- drop old old theme
180- add patch10 to enable compositing_manager by default
181
182* Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.3-1
183- new upstream release
184
185* Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1-2
186- rebuild with rpm-4.8.1 for pkg-config file
187- add BuildRequires: gnome-doc-utils
188
189* Fri Apr 30 2010 Shu KONNO <owa@bg.wakwak.com> 2.30.1-1
190- updated metacity to 2.30.1
191  - fixed crash when right-clicking on window frame
192
193* Sun Apr 04 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1
194- new upstream release
195
196* Mon Nov 02 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2.28.0-2
197- add BR: libgtop2-devel
198
199* Sat Oct 31 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.28.0-1
200- new upstream release
201- dropped Patch5, 6 and 7 (merged into upstream)
202- removed BR: libglade2-devel
203
204* Thu Apr 30 2009 NAKAMURA Kenta <kenta@vinelinux.org> 2.26.0-4
205- added BuildRequires: zenity, libcanberra-devel
206
207* Thu Apr 30 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-3
208- Patch4: don't spam .xsession-errors so hard
209- Patch5: use libcanberra to play the alert sound
210- Patch6: don't force bell
211- Patch7: fix interaction with autohide panels
212
213* Wed Mar 25 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-2
214- update Patch0,1,2
215  - apply patches to ".in.in" insread of ".in"
216
217* Sat Mar 21 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-1
218- new upstream release
219- split development file to -devel subpackage
220  - remove static libs
221
222* Tue Sep 23 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-1
223- new upstream release
224
225* Fri May 09 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.22.0-2
226- rebuild to fix strange color problem.
227
228* Tue Mar 25 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.0-1vl5
229- new upstream release
230
231* Wed Dec 12 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.20.1-0vl1
232- new upstream release
233- added Requires(post): GConf2
234
235* Thu Apr 26 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.18.2-0vl1
236- new upstream release
237
238* Thu Jul 27 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.15.13-0vl1
239- new upstream release
240
241* Mon Jun 05 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.5-0vl1
242- new upstream release
243
244* Sun Apr 16 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.3-0vl1
245- new upstream release
246- remove Patch20 which is merged in upstream
247- include ClearVine theme as default theme.
248
249* Wed Apr 12 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.2-0vl1
250- new upstream release
251
252* Fri Apr 07 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.1-0vl2
253- add Patch20 to make configurable new window focus (bug 326159)
254
255* Tue Mar 14 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.1-0vl1
256- new upstream release
257
258* Tue Mar 07 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.13.144-0vl1
259- new upstream release
260
261* Wed Nov 30 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.2-0vl1
262- new upstream release
263
264* Wed Oct 05 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.1-0vl1
265- new upstream release
266
267* Mon Sep 19 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.0-0vl1
268- new upstream release
269
270* Sun Aug 21 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.11.2-0vl1
271- new upstream release
272
273* Fri Aug 05 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.11.1-0vl1
274- new upstream release
275
276* Sun Jul 24 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10.3-0vl1
277- new upstream release
278
279* Sun Mar 20 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10.0-0vl1
280- new upstream version
281- include Vine metacity theme as default theme.
282- update Patch0 to change deafult theme.
283
284* Wed Nov 10 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.9.0-0vl2
285- update NeoVine metacity theme.
286
287* Mon Nov 08 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.9.0-0vl1
288- new upstream release
289
290* Wed Nov 03 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.5-0vl1
291- new upstream release
292
293* Sun Jun 20 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.1-0vl1
294- new upstream release
295- add BuildRequires: libtoo,automake14, autoconf
296
297* Wed Dec 24 2003 Tomoya TAKA <taka@vinelinux.org> 2.6.3-0vl1
298- new upstream release
299- build with new toolchain
300
301* Sat Oct 18 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.2-0vl1
302- new upstream release
303
304* Thu Sep 11 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.1-0vl1
305- new upstream release
306
307* Wed Sep 10 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.0-0vl2
308- fixed missing locale files
309
310* Wed Sep 10 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.0-0vl1
311- new upstream release
312
313* Mon Sep 08 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.5.5-0vl2
314- add patch10 to increase workspaces (4->6).
315
316* Fri Sep 05 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.5.5-0vl1
317- new upstream release
318
319* Wed Sep 03 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.5.3-0vl1
320- new upstream release
321
322* Mon Jun 09 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.5.2-0vl2
323- update ja.po
324- update NeoVine theme
325
326* Sat May 31 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.5.2-0vl1
327- new upstream release
328
329* Sat Feb 15 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.34-0vl1
330- fixed typo
331- NeoVine Metatheme moved to gnome-themes package.
332
333* Sat Feb 15 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.34-0vl1
334- new upstream release
335- add patch2 from rawhide.
336- drop patch1, merged in upstream.
337
338* Fri Jan 31 2003 Tomoya TAKA <taka@vinelinux.org> 2.4.21-0vl2
339- add Patch1 to fix hang on all 64-bit platforms
340
341* Fri Jan 24 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.21-0vl1
342- new upstream release
343
344* Wed Jan 22 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.13-0vl3
345- update NeoVine metatheme (use gnome default icons)
346
347* Sun Jan 12 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.13-0vl2
348- update neovine theme
349
350* Sat Jan 11 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.13-0vl1
351- new upstream release
352
353* Sat Dec 28 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.8-0vl6
354- drop patch0 to use system fonts.
355
356* Sat Dec 28 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.8-0vl6
357- update ja.po
358
359* Fri Dec 27 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.8-0vl5
360- fixed NeoVine theme
361
362* Wed Dec 25 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.8-0vl4
363- add NeoVine theme ported from sawfish.
364- use neoVine as default theme. (Patch0)
365
366* Mon Dec 16 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.8-0vl3
367- change URL
368- add BuildRequires
369
370* Sun Dec 15 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.8-0vl2
371- add include files
372
373* Sun Dec 15 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.8-0vl1
374- build for Vine Linux
375- new upstream release from gnome-2.1.4
376
377* Tue Oct 29 2002 Havoc Pennington <hp@redhat.com>
378- 2.4.3
379- remove patches that have gone upstream
380
381* Tue Aug 27 2002 Havoc Pennington <hp@redhat.com>
382- fix shaded window decorations in Bluecurve theme
383
384* Sat Aug 24 2002 Havoc Pennington <hp@redhat.com>
385- fix the mplayer-disappears-on-de-fullscreen bug
386
387* Sat Aug 24 2002 Havoc Pennington <hp@redhat.com>
388- add some fixes from CVS for #71163 #72379 #72478 #72513
389
390* Thu Aug 22 2002 Havoc Pennington <hp@redhat.com>
391- patch .schemas.in instead of .schemas so we get right default theme/fonts
392
393* Tue Aug 20 2002 Havoc Pennington <hp@redhat.com>
394- grow size of top resize, and display proper cursor on enter notify
395- require latest intltool to try and fix metacity.schemas by
396  regenerating it in non-UTF-8 locale
397
398* Thu Aug 15 2002 Havoc Pennington <hp@redhat.com>
399- default to Sans Bold font, fixes #70920 and matches graphic design spec
400
401* Thu Aug 15 2002 Havoc Pennington <hp@redhat.com>
402- 2.4.0.91 with raise/lower keybindings for msf, fixes to fullscreen
403- more apps that probably intend to be, fix for changing number of
404  workspaces, fix for moving windows in multihead
405
406* Tue Aug 13 2002 Havoc Pennington <hp@redhat.com>
407- update build requires
408
409* Mon Aug 12 2002 Havoc Pennington <hp@redhat.com>
410- upgrade to cvs snap 2.4.0.90 with pile of bugfixes from
411  this weekend
412- change default theme to bluecurve and require new redhat-artwork
413
414* Tue Aug  6 2002 Havoc Pennington <hp@redhat.com>
415- 2.4.0
416- themes are moved, require appropriate redhat-artwork
417
418* Thu Aug  1 2002 Havoc Pennington <hp@redhat.com>
419- munge the desktop file to be in toplevel menus and
420  not show in KDE
421
422* Tue Jul 23 2002 Havoc Pennington <hp@redhat.com>
423- don't use system font by default as metacity's
424  font is now in the system font dialog
425
426* Tue Jul 23 2002 Havoc Pennington <hp@redhat.com>
427- 2.3.987.92 cvs snap
428
429* Fri Jul 12 2002 Havoc Pennington <hp@redhat.com>
430- 2.3.987.91 cvs snap
431
432* Mon Jun 24 2002 Havoc Pennington <hp@redhat.com>
433- 2.3.987.90 cvs snap
434
435* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
436- automated rebuild
437
438* Sun Jun 16 2002 Havoc Pennington <hp@redhat.com>
439- rebuild for new libraries
440
441* Mon Jun 10 2002 Havoc Pennington <hp@redhat.com>
442- rebuild in different environment
443
444* Mon Jun 10 2002 Havoc Pennington <hp@redhat.com>
445- 2.3.987
446- default to redhat theme
447
448* Fri Jun 07 2002 Havoc Pennington <hp@redhat.com>
449- rebuild in different environment
450
451* Tue Jun  4 2002 Havoc Pennington <hp@redhat.com>
452- 2.3.610.90 cvs snap
453
454* Sun May 26 2002 Tim Powers <timp@redhat.com>
455- automated rebuild
456
457* Mon May 20 2002 Havoc Pennington <hp@redhat.com>
458- rebuild in different environment
459
460* Fri May 17 2002 Havoc Pennington <hp@redhat.com>
461- 2.3.377
462
463* Thu May  2 2002 Havoc Pennington <hp@redhat.com>
464- 2.3.233
465
466* Thu Apr 25 2002 Havoc Pennington <hp@redhat.com>
467- rebuild in different environment
468- add gconf schemas boilerplate
469
470* Mon Apr 15 2002 Havoc Pennington <hp@pobox.com>
471- 2.3.89
472
473* Tue Oct 30 2001 Havoc Pennington <hp@redhat.com>
474- 2.3.34
475
476* Fri Oct 13 2001 Havoc Pennington <hp@redhat.com>
477- 2.3.21
478
479* Mon Sep 17 2001 Havoc Pennington <hp@redhat.com>
480- 2.3.8
481- 2.3.13
482
483* Wed Sep  5 2001 Havoc Pennington <hp@redhat.com>
484- Initial build.
485
486
Note: See TracBrowser for help on using the repository browser.