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
13 Summary: An improved version of the FVWM X-based window manager
14 Summary(de): F(?) Virtual Window Manager
15 Summary(es): Administrador de ventanas semejante al mwm
16 Summary(fr): F(?) Virtual Window Manager
17 Summary(ja): ²þÎÉÈÇ FVWM - X ÍÑ¥¦¥£¥ó¥É¥¦¥Þ¥Í¡¼¥¸¥ã
18 Summary(tr): Yaygýn bir pencere denetleyicisi
19 Summary(pl): Ulepszona wersja zarz±dcy okien FVWM
20 Summary(pt_BR): Gerenciador de janelas semelhante ao mwm
21 Summary(ru): ÷ÉÒÔÕÁÌØÎÙÊ ÏËÏÎÎÙÊ ÍÅÎÅÄÖÅÒ F(?)
26 Group: X11/Window Managers
27 Source0: ftp://ftp.fvwm.org/pub/fvwm/devel/snapshots/fvwm-snap-%{snap}.tar.gz
28 # Source0-md5: f1139cb5c5f82097a4bbfd3e5e7d4957
29 Source1: fvwm-2.0.46.icons.tar.gz
30 # Source1-md5: 8d81420cf49442fca4bb2b61ae54eeb9
31 Source2: %{name}.desktop
32 Source3: %{name}-system.%{name}rc.tar.gz
33 # Source3-md5: 22c1f6c5ab4bd84376daa37debd3e889
34 Source4: %{name}.RunWM
35 Source5: %{name}.wm_style
36 Source6: %{name}-xsession.desktop
37 Patch0: %{name}-paths.patch
38 Patch1: FvwmIconMan.patch
39 Patch2: FvwmPager.patch
40 URL: http://www.fvwm.org/
41 %{!?_without_xft:BuildRequires: Xft-devel}
42 BuildRequires: autoconf
43 BuildRequires: automake
44 %{?_with_fribidi:BuildRequires: fribidi-devel}
45 %{?_with_gnome:BuildRequires: gnome-libs-devel}
46 BuildRequires: gtk+-devel
47 BuildRequires: libpng-devel
48 %{!?_without_stroke:BuildRequires: libstroke-devel}
49 BuildRequires: readline-devel >= 4.2
50 %{?_with_rplay:BuildRequires: rplay-devel}
51 BuildRequires: rpm-perlprov
53 Requires: wmconfig >= 0.9.10-6
55 Requires: xinitrc >= 3.0
56 Requires: XFree86-tools
58 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
60 %define _sysconfdir /etc/X11/fvwm2
61 %define _wmpropsdir /usr/share/wm-properties
64 FVWM2 (the F stands for whatever you want, but the VWM stands for
65 Virtual Window Manager) is an improved version of the FVWM window
66 manager for the X Window System and shares the same characteristics as
70 Fvwm2 es una versión del popular administrador de ventanas "Feeble
71 Virtual Window Manager".
74 FVWM2 (F¤Ï¹¥¤¤Ê¤è¤¦¤Ë²ò¼á¤·¤Æ¤¯¤À¤µ¤¤¡£¤¿¤À¤·¡¢ VWM ¤Ï Virtual Window
75 Manager ¤ò¾Êά¤·¤¿¤â¤Î¤Ç¤¹¡£)¤Ï FVWM ¤ÈƱ¤¸ÆÃħ¤ò»ý¤Á ¹¹¤Ë³ÈÄ¥¤µ¤ì¤¿ X
76 Window System ÍÑ¥¦¥£¥ó¥É¥¦¥Þ¥Í¡¼¥¸¥ã¤Ç¤¹¡£
79 FVWM (za F mo¿na sobie podstawic co kto woli, lecz VWM pochodzi od
80 pierwszych liter "Virtual Window Manager", czyli wirtualny zarz±dca
81 okien) to ulepszona wersja zarz±dcy okien dla systemu X Window FVWM i
82 posiadaj±ca te same cechy.
85 Fvwm2 é uma versão do popular gerenciador de janelas "Feeble Virtual
89 fvwm2 - ÜÔÏ ×ÅÒÓÉÑ ÐÏÐÕÌÑÒÎÏÇÏ "Feeble Virtual Window Manager".
92 Summary: Graphic files used by the FVWM and FVWM2 window managers
93 Summary(de): Symbole und Pixmaps für fvwm
94 Summary(fr): Icônes et pixmaps pour fvwm
95 Summary(pl): Pliki graficzne u¿ywane przez zarz±dców okien FVWM i FVWM2
96 Summary(ru): ðÉËÔÏÇÒÁÍÍÙ É ÒÁÓÔÒÏ×ÙÅ ËÁÒÔÉÎËÉ ÄÌÑ fvwm2
97 Summary(tr): Fvwm için çeþitli minik görüntü ve simgeler
98 Group: X11/Window Managers
99 Obsoletes: fvwm95-icons
102 This package contains icons, bitmaps and pixmaps for fvwm and fvwm2.
104 %description icons -l de
105 Dieses Paket enthält Symbole, Bitmaps und Pixmaps für fvwm und fvwm2.
107 %description icons -l fr
108 Ce package contient des icones, bitmaps et pixmaps pour fvwm et fvwm2.
110 %description icons -l pl
111 Ten pakiet zawiera ikony, bitmapy i pixmapy dla fvwm i fvwm2.
113 %description icons -l ru
114 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÐÉËÔÏÇÒÁÍÍÙ É ÐÒÏÞÉÅ ËÁÒÔÉÎËÉ ÄÌÑ fvwm2.
116 %description icons -l tr
117 Fvwm için çeþitli minik görüntü ve simgeler.
120 Summary: fvwm-perllib, FvwmPerl and dependent modules
121 Summary(pl): fvwm-perllib, FvwmPerl i zale¿ne modu³y
122 Group: X11/Window Managers/Tools
123 Requires: %{name} = %{version}
126 fvwm-perllib, FvwmPerl and dependent modules.
128 %description perl -l pl
129 fvwm-perllib, FvwmPerl i zale¿ne modu³y.
132 %setup -n fvwm-snap-%{snap} -q -a1 -a3
145 --%{!?debug:dis}%{?debug:en}able-debug-msgs \
146 --disable-command-log \
147 %{!?_with_fribidi:--disable-bidi} \
148 %{?_without_xft:--disable-xft} \
152 %{?_with_gnome:--with-gnome}%{!?_with_gnome:--without-gnome} \
154 %{!?_with_rplay:--without-rplay-library} \
155 --with-stroke-library \
156 --with-ncurses-library \
157 --with-readline-library \
158 --with-ncurses-library \
159 --without-termcap-library
164 rm -rf $RPM_BUILD_ROOT
165 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/sysconfig/wmstyle,%{_wmpropsdir},%{_datadir}/{locale,xsessions}}
168 DESTDIR=$RPM_BUILD_ROOT
170 %find_lang %{name} --all-name
172 sed -e 's@^ModulePath.*@ModulePath /usr/lib/fvwm:/usr/share/fvwm@;s@^PixmapPath.*@@' \
173 -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@' \
174 system.fvwm2rc > $RPM_BUILD_ROOT%{_sysconfdir}/system.fvwm2rc
175 install fvwm2.menu.m4 $RPM_BUILD_ROOT%{_sysconfdir}
177 rm -rf $RPM_BUILD_ROOT%{_datadir}/icons
178 install -d $RPM_BUILD_ROOT%{_datadir}/icons/mini
180 install icons/*.xpm $RPM_BUILD_ROOT%{_datadir}/icons
181 mv -f $RPM_BUILD_ROOT%{_datadir}/icons/mini-*.xpm $RPM_BUILD_ROOT%{_datadir}/icons/mini
183 install %{SOURCE2} $RPM_BUILD_ROOT%{_wmpropsdir}
185 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/wmstyle/%{name}.sh
186 install %{SOURCE5} $RPM_BUILD_ROOT/etc/sysconfig/wmstyle/%{name}.names
187 install %{SOURCE6} $RPM_BUILD_ROOT%{_datadir}/xsessions/%{name}.desktop
189 # conflicts with gimp
190 rm -f $RPM_BUILD_ROOT%{_datadir}/icons/{folder,question}.xpm
193 rm -rf $RPM_BUILD_ROOT
195 %files -f %{name}.lang
196 %defattr(644,root,root,755)
197 %doc README AUTHORS NEWS docs
199 %config(noreplace) %verify(not size mtime md5) /etc/X11/fvwm2/*
200 %attr(755,root,root) /etc/sysconfig/wmstyle/*.sh
201 /etc/sysconfig/wmstyle/*.names
202 %attr(755,root,root) %{_bindir}/[!f]*
203 %attr(755,root,root) %{_bindir}/fvwm
204 %attr(755,root,root) %{_bindir}/fvwm2
205 %attr(755,root,root) %{_bindir}/fvwm-[!p]*
207 %attr(755,root,root) %{_libdir}/fvwm/Fvwm[!DGPW]*
208 %attr(755,root,root) %{_libdir}/fvwm/FvwmD[!e]*
209 %attr(755,root,root) %{_libdir}/fvwm/FvwmGtk
210 %attr(755,root,root) %{_libdir}/fvwm/FvwmP[!e]*
211 %attr(755,root,root) %{_libdir}/fvwm/FvwmW[!i]*
212 %attr(755,root,root) %{_libdir}/fvwm/FvwmWinList
213 %dir %{_datadir}/fvwm
214 %{_datadir}/fvwm/[!p]*
215 %{_datadir}/xsessions/%{name}.desktop
216 %{_wmpropsdir}/fvwm2.desktop
217 %{_mandir}/man1/[!Ff]*.1*
218 %{_mandir}/man1/Fvwm[!DGPW]*.1*
219 %{_mandir}/man1/FvwmD[!e]*.1*
220 %{_mandir}/man1/FvwmP[!e]*.1*
221 %{_mandir}/man1/FvwmW[!i]*.1*
222 %{_mandir}/man1/FvwmWinList.1*
223 %{_mandir}/man1/fvwm.1*
224 %{_mandir}/man1/fvwm-[!p]*.1*
227 %defattr(644,root,root,755)
228 %dir %{_datadir}/icons
229 %dir %{_datadir}/icons/mini
230 %{_datadir}/icons/*.xpm
231 %{_datadir}/icons/mini/*.xpm
234 %defattr(644,root,root,755)
235 %attr(755,root,root) %{_bindir}/fvwm-perllib
236 %attr(755,root,root) %{_libdir}/fvwm/FvwmDebug
237 %attr(755,root,root) %{_libdir}/fvwm/FvwmGtkDebug
238 %attr(755,root,root) %{_libdir}/fvwm/FvwmPerl
239 %attr(755,root,root) %{_libdir}/fvwm/FvwmWindowMenu
240 %{_datadir}/fvwm/perllib
241 %{_mandir}/man1/fvwm-perllib.1*
242 %{_mandir}/man1/FvwmDebug.1*
243 %{_mandir}/man1/FvwmGtkDebug.1*
244 %{_mandir}/man1/FvwmPerl.1*
245 %{_mandir}/man1/FvwmWindowMenu.1*