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

Revision 1901, 12.9 KB checked in by Takemikaduchi, 14 years ago (diff)

rebuild with rpm-4.8.1

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