2 # TODO: more updates in system.fvwm2rc (see warnings on run)
5 # _with_fribidi - with bidirectional text support
6 # _with_gnome - with gnome-libs
7 # _with_rplay - with internal sound support (through rplay)
8 # _without_stroke - without mouse strokes (gestures) support
9 # _without_xft - without Xft (1 or 2) support
11 %include /usr/lib/rpm/macros.perl
12 Summary: An improved version of the FVWM X-based window manager
13 Summary(de): F(?) Virtual Window Manager
14 Summary(es): Administrador de ventanas semejante al mwm
15 Summary(fr): F(?) Virtual Window Manager
16 Summary(ja): ²þÎÉÈÇ FVWM - X ÍÑ¥¦¥£¥ó¥É¥¦¥Þ¥Í¡¼¥¸¥ã
17 Summary(tr): Yaygýn bir pencere denetleyicisi
18 Summary(pl): Ulepszona wersja zarz±dcy okien FVWM
19 Summary(pt_BR): Gerenciador de janelas semelhante ao mwm
20 Summary(ru): ÷ÉÒÔÕÁÌØÎÙÊ ÏËÏÎÎÙÊ ÍÅÎÅÄÖÅÒ F(?)
25 Group: X11/Window Managers
26 Source0: ftp://ftp.fvwm.org/pub/fvwm/version-2/fvwm-%{version}.tar.bz2
27 Source1: fvwm-2.0.46.icons.tar.gz
28 Source2: %{name}.desktop
29 Source3: %{name}-system.%{name}rc.tar.gz
30 Source4: %{name}.RunWM
31 Source5: %{name}.wm_style
32 Patch0: %{name}-paths.patch
33 Patch1: FvwmIconMan.patch
34 URL: http://www.fvwm.org/
35 %{!?_without_xft:BuildRequires: Xft-devel}
36 BuildRequires: autoconf
37 BuildRequires: automake
38 %{?_with_fribidi:BuildRequires: fribidi-devel}
39 %{?_with_gnome:BuildRequires: gnome-libs-devel}
40 BuildRequires: gtk+-devel
41 BuildRequires: libpng-devel
42 %{!?_without_stroke:BuildRequires: libstroke-devel}
43 BuildRequires: readline-devel >= 4.2
44 %{?_with_rplay:BuildRequires: rplay-devel}
45 BuildRequires: rpm-perlprov
47 Requires: wmconfig >= 0.9.10-6
49 Requires: xinitrc >= 3.0
51 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
53 %define _sysconfdir /etc/X11/fvwm2
54 %define _wmpropsdir /usr/share/wm-properties
57 FVWM2 (the F stands for whatever you want, but the VWM stands for
58 Virtual Window Manager) is an improved version of the FVWM window
59 manager for the X Window System and shares the same characteristics as
63 Fvwm2 es una versión del popular administrador de ventanas "Feeble
64 Virtual Window Manager".
67 FVWM2 (F¤Ï¹¥¤¤Ê¤è¤¦¤Ë²ò¼á¤·¤Æ¤¯¤À¤µ¤¤¡£¤¿¤À¤·¡¢ VWM ¤Ï Virtual Window
68 Manager ¤ò¾Êά¤·¤¿¤â¤Î¤Ç¤¹¡£)¤Ï FVWM ¤ÈƱ¤¸ÆÃħ¤ò»ý¤Á ¹¹¤Ë³ÈÄ¥¤µ¤ì¤¿ X
69 Window System ÍÑ¥¦¥£¥ó¥É¥¦¥Þ¥Í¡¼¥¸¥ã¤Ç¤¹¡£
72 FVWM (za F mo¿na sobie podstawic co kto woli, lecz VWM pochodzi od
73 pierwszych liter "Virtual Window Manager", czyli wirtualny zarz±dca
74 okien) to ulepszona wersja zarz±dcy okien dla systemu X Window FVWM i
75 posiadaj±ca te same cechy.
78 Fvwm2 é uma versão do popular gerenciador de janelas "Feeble Virtual
82 fvwm2 - ÜÔÏ ×ÅÒÓÉÑ ÐÏÐÕÌÑÒÎÏÇÏ "Feeble Virtual Window Manager".
85 Summary: Graphic files used by the FVWM and FVWM2 window managers
86 Summary(de): Symbole und Pixmaps für fvwm
87 Summary(fr): Icônes et pixmaps pour fvwm
88 Summary(pl): Pliki graficzne u¿ywane przez zarz±dców okien FVWM i FVWM2
89 Summary(ru): ðÉËÔÏÇÒÁÍÍÙ É ÒÁÓÔÒÏ×ÙÅ ËÁÒÔÉÎËÉ ÄÌÑ fvwm2
90 Summary(tr): Fvwm için çeþitli minik görüntü ve simgeler
91 Group: X11/Window Managers
92 Obsoletes: fvwm95-icons
95 This package contains icons, bitmaps and pixmaps for fvwm and fvwm2.
97 %description icons -l de
98 Dieses Paket enthält Symbole, Bitmaps und Pixmaps für fvwm und fvwm2.
100 %description icons -l fr
101 Ce package contient des icones, bitmaps et pixmaps pour fvwm et fvwm2.
103 %description icons -l pl
104 Ten pakiet zawiera ikony, bitmapy i pixmapy dla fvwm i fvwm2.
106 %description icons -l ru
107 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÐÉËÔÏÇÒÁÍÍÙ É ÐÒÏÞÉÅ ËÁÒÔÉÎËÉ ÄÌÑ fvwm2.
109 %description icons -l tr
110 Fvwm için çeþitli minik görüntü ve simgeler.
113 Summary: fvwm-perllib, FvwmPerl and dependent modules
114 Summary(pl): fvwm-perllib, FvwmPerl i zale¿ne modu³y
115 Group: X11/Window Managers/Tools
116 Requires: %{name} = %{version}
119 fvwm-perllib, FvwmPerl and dependent modules.
121 %description perl -l pl
122 fvwm-perllib, FvwmPerl i zale¿ne modu³y.
125 %setup -n fvwm-%{version} -q -a1 -a3
137 --%{!?debug:dis}%{?debug:en}able-debug-msgs \
138 --disable-command-log \
139 %{!?_with_fribidi:--disable-bidi} \
140 %{?_without_xft:--disable-xft} \
144 %{?_with_gnome:--with-gnome}%{!?_with_gnome:--without-gnome} \
146 %{!?_with_rplay:--without-rplay-library} \
147 --with-stroke-library \
148 --with-ncurses-library \
149 --with-readline-library \
150 --with-ncurses-library \
151 --without-termcap-library
156 rm -rf $RPM_BUILD_ROOT
157 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/sysconfig/wmstyle,%{_wmpropsdir},%{_datadir}/locale}
160 DESTDIR=$RPM_BUILD_ROOT
162 %find_lang %{name} --all-name
164 sed -e 's@^ModulePath.*@ModulePath /usr/lib/fvwm:/usr/share/fvwm@;s@^PixmapPath.*@@' \
165 -e 's@^IconPath.*@ImagePath /usr/share/pixmaps:/usr/X11R6/share/pixmaps:/usr/X11R6/include/X11/pixmaps:/usr/X11R6/include/X11/bitmaps:/usr/share/icons:/usr/share/icons/mini@' \
166 system.fvwm2rc > $RPM_BUILD_ROOT%{_sysconfdir}/system.fvwm2rc
167 install fvwm2.menu.m4 $RPM_BUILD_ROOT%{_sysconfdir}
169 rm -rf $RPM_BUILD_ROOT%{_datadir}/icons
170 install -d $RPM_BUILD_ROOT%{_datadir}/icons/mini
172 install icons/*.xpm $RPM_BUILD_ROOT%{_datadir}/icons
173 mv -f $RPM_BUILD_ROOT%{_datadir}/icons/mini-*.xpm $RPM_BUILD_ROOT%{_datadir}/icons/mini
175 install %{SOURCE2} $RPM_BUILD_ROOT%{_wmpropsdir}
177 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/wmstyle/%{name}.sh
178 install %{SOURCE5} $RPM_BUILD_ROOT/etc/sysconfig/wmstyle/%{name}.names
180 # conflicts with gimp
181 rm -f $RPM_BUILD_ROOT%{_datadir}/icons/{folder,question}.xpm
184 rm -rf $RPM_BUILD_ROOT
186 %files -f %{name}.lang
187 %defattr(644,root,root,755)
188 %doc README AUTHORS NEWS docs
190 %config(noreplace) %verify(not size mtime md5) /etc/X11/fvwm2/*
191 %attr(755,root,root) /etc/sysconfig/wmstyle/*.sh
192 /etc/sysconfig/wmstyle/*.names
193 %attr(755,root,root) %{_bindir}/[!f]*
194 %attr(755,root,root) %{_bindir}/fvwm
195 %attr(755,root,root) %{_bindir}/fvwm2
196 %attr(755,root,root) %{_bindir}/fvwm-[!p]*
198 %attr(755,root,root) %{_libdir}/fvwm/Fvwm[!DGPW]*
199 %attr(755,root,root) %{_libdir}/fvwm/FvwmD[!e]*
200 %attr(755,root,root) %{_libdir}/fvwm/FvwmGtk
201 %attr(755,root,root) %{_libdir}/fvwm/FvwmP[!e]*
202 %attr(755,root,root) %{_libdir}/fvwm/FvwmW[!i]*
203 %attr(755,root,root) %{_libdir}/fvwm/FvwmWinList
204 %dir %{_datadir}/fvwm
205 %{_datadir}/fvwm/[!p]*
206 %{_wmpropsdir}/fvwm2.desktop
207 %{_mandir}/man1/[!Ff]*.1*
208 %{_mandir}/man1/Fvwm[!DGPW]*.1*
209 %{_mandir}/man1/FvwmD[!e]*.1*
210 %{_mandir}/man1/FvwmGtk.1*
211 %{_mandir}/man1/FvwmP[!e]*.1*
212 %{_mandir}/man1/FvwmW[!i]*.1*
213 %{_mandir}/man1/FvwmWinList.1*
214 %{_mandir}/man1/fvwm.1*
215 %{_mandir}/man1/fvwm-[!p]*.1*
218 %defattr(644,root,root,755)
219 %dir %{_datadir}/icons
220 %dir %{_datadir}/icons/mini
221 %{_datadir}/icons/*.xpm
222 %{_datadir}/icons/mini/*.xpm
225 %defattr(644,root,root,755)
226 %attr(755,root,root) %{_bindir}/fvwm-perllib
227 %attr(755,root,root) %{_libdir}/fvwm/FvwmDebug
228 %attr(755,root,root) %{_libdir}/fvwm/FvwmGtkDebug
229 %attr(755,root,root) %{_libdir}/fvwm/FvwmPerl
230 %attr(755,root,root) %{_libdir}/fvwm/FvwmWindowMenu
231 %{_datadir}/fvwm/perllib
232 %{_mandir}/man1/fvwm-perllib.1*
233 %{_mandir}/man1/FvwmDebug.1*
234 %{_mandir}/man1/FvwmGtkDebug.1*
235 %{_mandir}/man1/FvwmPerl.1*
236 %{_mandir}/man1/FvwmWindowMenu.1*