source: projects/specs/branches/6/f/fvwm2/fvwm2-vl.spec @ 4148

Revision 4148, 8.9 KB checked in by mkato, 13 years ago (diff)
Line 
1Summary: An improved version of the FVWM window manager for X.
2Summary(ja): fvwm2 (F(?) Virtual Window Manager version 2) の日本語対応版
3Name: fvwm2
4Version: 2.7.0
5Release: 2%{?_dist_release}
6License: GPLv2
7Group: User Interface/Desktops
8Url: http://www.fvwm.org
9Source0: ftp://ftp.fvwm.org/pub/fvwm/version-2/fvwm-%{version}.tar.bz2
10Source1: fvwm-2.0.46.icons.tar.gz
11##Source2: compat-icons.tar.gz
12Source3: fvwm2rc.vine
13Source4: fvwm2rc.vine.ja
14Source10: start_fvwm2
15Source11: fvwm.desktop
16Source12: fvwm-setwallpaper
17Source13: fvwm-resetwallpaper
18Source20: fvwm.ja.po
19Source21: FvwmTaskBar.ja.po
20Source22: FvwmScript.ja.po
21Source30: Blue-Vine-theme.tar.bz2
22Source31: fvwm2-backgrounds.tar.bz2
23Source32: fvwm-system-styles.tar.bz2
24Source40: Exit.png
25Source41: fvwm-start.png
26Source42: mlterm.png
27##Patch0: fvwm-2.2.5-I18N_mb-2.1.patch
28##Patch1: fvwm-2.2.2-vine.patch
29##Patch2: fvwm-2.2.2-adhoc.patch
30Patch10: fvwm2-config.patch
31Patch11: fvwm-form-setup.patch
32Patch12: fvwm-script-setup95.patch
33
34BuildRequires: glibc-devel xorg-x11-proto-devel  libXpm-devel readline-devel
35BuildRequires: ncurses-devel perl gtk+-devel imlib-devel libXft-devel
36##BuildRequires: fribidi-devel libpng-devel librsvg2-devel libSM-devel
37BuildRequires: libpng-devel librsvg2-devel libSM-devel
38BuildRequires: libxslt-devel libXrender-devel libXinerama-devel libXt-devel
39BuildRequires: libstroke-devel
40BuildRequires: gnome-libs-devel audiofile-devel esound-devel alsa-lib-devel
41Requires: glibc libXpm readline
42Requires: ncurses perl >= 5.004 gtk+ imlib libXft
43##Requires: fribidi libpng librsvg2 libSM
44Requires: libpng librsvg2 libSM
45Requires: libxslt libXrender libXinerama libXt libstroke
46Requires: Gtk-Perl zenity xsri ImageMagick w3m
47Requires: gnome-libs audiofile esound esound-libs alsa-lib
48Buildroot: %{_tmppath}/%{name}-%{version}-root
49
50
51%description
52FVWM2 (the F stands for whatever you want, but the VWM stands for
53Virtual Window Manager) is an improved version of the FVWM window
54manager for the X Window System and shares the same characteristics as
55FVWM. 
56
57Install the fvwm2 package if you'd like to use the FVWM2 window manager.
58If you install fvwm2, you'll also need to install fvwm2-icons.
59
60%description -l ja
61高機能でカラフルな X 用ウィンドウマネージャ fvwm2 (FVWM version 2) の
62日本語版です。ウィンドウマネージャとは、X 上の各クライアントのウィンド
63ウを操作(移動・リサイズ等)したり、枠を装飾したりするソフトウェアです。
64
65%prep
66%setup -n fvwm-%{version} -q -a 1 -a 30 -a 31 -a 32
67##%patch0 -p1 -b .mb
68##%patch1 -p1 -b .redhat
69##%ifarch ppc
70##%patch2 -p1 -b .adhoc
71##%endif
72%patch10 -p1
73%patch11 -p1
74%patch12 -p1
75
76cp -p %{SOURCE3} sample.fvwmrc/system.fvwm2rc
77cp -p %{SOURCE4} sample.fvwmrc/system.fvwm2rc.ja
78#cp -p %{SOURCE10} .
79#cp -p %{SOURCE11} .
80cp -p %{SOURCE20} %{SOURCE21} %{SOURCE22} po/
81
82%build
83%configure --enable-htmldoc --disable-bidi --disable-rplay
84
85if [ "$SMP" != "" ]; then
86  make -j$SMP "MAKE=make -j$SMP"
87else
88  make
89fi
90
91pushd po
92make fvwm.ja.gmo
93make FvwmScript.ja.gmo
94make FvwmTaskBar.ja.gmo
95popd
96
97%install
98# fvwm2 package
99rm -rf %{buildroot}
100mkdir -p %{buildroot}/%{_libexecdir}/%{name}/%{version}
101%makeinstall
102#----- startup script
103%__install %{SOURCE10} %{buildroot}/%{_bindir}/
104#----- wallpaper utility
105%__install %{SOURCE12} %{SOURCE13} %{buildroot}%{_bindir}/
106####%__install %{SOURCE13} %{buildroot}/%{_bindir}/
107#----- desktop session entry file
108%__mkdir -p %{buildroot}%{_datadir}/xsessions/
109%__install -m0644 %{SOURCE11} %{buildroot}%{_datadir}/xsessions/
110#----- fvwm config files
111%__mkdir -p %{buildroot}%{_datadir}/fvwm/Blue-Vine-theme
112%__install -m0644 Blue-Vine-theme/.fvwm2rc %{buildroot}%{_datadir}/fvwm/Blue-Vine-theme
113%__install -m0644 Blue-Vine-theme/* %{buildroot}%{_datadir}/fvwm/Blue-Vine-theme
114#----- wallpaper
115%__mkdir -p %{buildroot}%{_datadir}/fvwm/backgrounds
116%__install -m0644 fvwm2-backgrounds/* %{buildroot}%{_datadir}/fvwm/backgrounds
117#----- mini icons
118mkdir -p %{buildroot}%{_datadir}/icons/mini
119install -m 644 icons/*.xpm %{buildroot}%{_datadir}/icons/mini/
120install -m 644 %{SOURCE40} %{SOURCE41} %{SOURCE42} %{buildroot}%{_datadir}/icons/mini/
121#----- modified styles
122mkdir %{buildroot}%{_datadir}/fvwm/fvwm-system-styles/
123install -m 644 fvwm-system-styles/* %{buildroot}%{_datadir}/fvwm/fvwm-system-styles/
124
125# eliminate executable bit in %doc
126#find docs/ -type f -perm +111 | xargs -r chmod -x
127
128
129%clean
130rm -rf %{buildroot}
131
132#-----------------------------------
133%files
134%defattr(-,root,root)
135#%doc AUTHORS COPYING INSTALL INSTALL.fvwm NEWS README
136#%doc docs/ANNOUNCE docs/BUGS docs/COMMANDS docs/DEVELOPERS docs/FAQ docs/TODO
137#%doc docs/error_codes docs/fvwm.lsm
138%{_bindir}/*
139%{_datadir}/*
140%{_libexecdir}/fvwm/%{version}/*
141#%dir %{_libexecdir}/fvwm/%{version}
142
143
144
145%changelog
146* Sat Jun  4 2011 KATO Masashi <mkato@par.odn.ne.jp> 2.7.0-2
147- added BuildRequires: gnome-libs-devel audiofile-devel \
148    esound-devel alsa-lib-devel
149- added Requires: gnome-libs audiofile esound esound-libs alsa-lib
150
151* Mon May 16 2011 KATO Masashi <mkato@par.odn.ne.jp> 2.7.0-1
152- new upstream release
153- added configure option "--disable-bidi"
154
155* Mon Aug 30 2010 KATO Masashi <mkato@par.odn.ne.jp> 2.5.31-1
156- new upstream release
157- added BUildRequires libstroke-devel, Requires libstroke
158-     (for mouse stroke support)
159- update Japanese document
160- added some wallpapers
161
162* Wed May 26 2010 KATO Masashi <mkato@par.odn.ne.jp> 2.5.30-1
163- new upstream release
164
165* Wed Apr  2 2010 KATO Masashi <mkato@par.odn.ne.jp> 2.5.29-1
166- new upstream release
167
168* Fri Feb 19 2010 KATO Masashi <mkato@par.odn.ne.jp> 2.5.28-2
169- moved desktop-entry to %{_datadir}/xsessions/
170
171* Sat Oct  3 2009 KATO Masashi <mkato@par.odn.ne.jp> 2.5.28-1
172- new upstream release
173
174* Sun Aug 30 2009 KATO Masashi <mkato@par.odn.ne.jp> 2.5.27-2
175- update documents(converted text to html)
176
177* Mon Aug 17 2009 KATO Masashi <mkato@par.odn.ne.jp> 2.5.27-1
178- new upstream release
179- dropped patchs(0-2)
180- added patch10(for Japanese translation)
181- added patch11,12(prevents garbled characters)
182- added po files(fvwm.ja.po,FvwmScript.ja.po,FvwmTaskBar.ja.po).
183- added theme files(Blue-Vine)
184- added dm-session entry
185- added startup script
186
187* Thu Nov 28 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.2.5-0vl4
188- rebuilt with new toolchain
189
190* Tue Jan 29 2002 Toru Sagami <sagami@vinelinux.org> 2.2.5-0vl3
191- eliminate executable bit in %doc (requierment for /bin/sh)
192
193* Thu Jul 12 2001 <sagami@vinelinux.org>
194- 2.2.5-0vl2: added COPYING README.mb docs
195
196* Mon Feb 26 2001 Toru Sagami <czs14350@mb.infoweb.ne.jp>
197- 2.2.5-0vl1
198
199* Mon Dec 25 2000 Toru Sagami <czs14350@mb.infoweb.ne.jp>
200- 2.2.4-0vl4
201- fixed fvwm2rc for Vine 2.1+
202
203* Sun Nov 12 2000 MACHINO, Satoshi <machino@vinelinux.org> 2.2.4-0vl2
204- build on gcc-2.95.3
205- partially used rpmmacros
206
207* Mon Oct 16 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
208- 2.2.4-0vl2
209- added ad-hoc patch to stop segfaults on ppc
210  (va_* in fvwm/{read,misc}.c should be faulty though...)
211
212* Mon Feb  7 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
213- update to 2.2.4
214
215* Mon Nov  8  1999 Yasuyuki Furukawa <furukawa@vinelinux.or>, Vine vl3,vl4
216- update fontset_wrapper patch(I18N)
217- make default menu NLS (English/Japanese).
218
219* Wed Oct 20 1999 Jun Nishii <jun@flatout.org>
220- modify default menu
221
222* Tue Oct 19 1999 Jun Nishii <jun@flatout.org>
223- build with jp patch by Mr. Furukawa
224
225* Thu Sep 23 1999 Preston Brown <pbrown@redhat.com>
226- added ability to read wmconfig generated menu (# 2665)
227
228* Thu Sep 09 1999 Preston Brown <pbrown@redhat.com>
229- removed compatibility icon pak.
230
231* Fri Aug 27 1999 Preston Brown <pbrown@redhat.com>
232- 2.2.2 bugfix release
233
234* Fri Apr 09 1999 Preston Brown <pbrown@redhat.com>
235- added some icons from kdebase back to this package for upgrade
236- compatibility.
237
238* Wed Mar 24 1999 Bill Nottingham <notting@redhat.com>
239- don't require xterm-color
240
241* Mon Mar 22 1999 Preston Brown <pbrown@redhat.com>
242- better default system.fvwm2rc
243
244* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
245- auto rebuild in the new build environment (release 2)
246
247* Fri Feb 26 1999 Cristian Gafton <gafton@redhat.com>
248- package is still not finished yet
249- upgraded to 2.2, got rid of all the cruft in the spec file
250
251* Thu Sep 24 1998 Cristian Gafton <gafton@redhat.com>
252- updated to 2.0.47
253- mark config files as %config files
254
255* Mon Jun 29 1998 Michael Maher <mike@redhat.com>
256- removed duplicate files found in the package Another level.
257- fixes bug: 651
258
259* Thu May 07 1998 Prospector System <bugs@redhat.com>
260- translations modified for de, fr, tr
261
262* Fri May 01 1998 Cristian Gafton <gafton@redhat.com>
263- long time no new version released :-(. -> misc patch
264- major spec file cleanups
265
266* Mon Nov 03 1997 Cristian Gafton <gafton@redhat.com>
267- Fixed more bugs (bugs patch)
268
269* Fri Oct 24 1997 Cristian Gafton <gafton@redhat.com>
270- fixed Alpha build
271
272* Thu Oct 16 1997 Cristian Gafton <gafton@redhat.com>
273- fixed FvwmTaskBar severe bug (taskbar patch)
274- misc fixes
275
276* Mon Oct 13 1997 Cristian Gafton <gafton@redhat.com>
277- built against glibc; added -rh and -fixes patches
278
Note: See TracBrowser for help on using the repository browser.