2 # TODO: more updates in system.fvwm2rc (see warnings on run)
5 %bcond_without stroke # without mouse strokes (gestures) support
6 %bcond_without xft # without Xft (1 or 2) support
7 %bcond_with fribidi # with bidirectional text support
8 %bcond_with gnome # with gnome-libs
9 %bcond_with rplay # with internal sound support (through rplay)
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 # Source0-md5: b3c86e2af2a4eabe692c9c849ff4b243
28 Source1: fvwm-2.0.46.icons.tar.gz
29 # Source1-md5: 8d81420cf49442fca4bb2b61ae54eeb9
30 Source2: %{name}.desktop
31 Source3: %{name}-system.%{name}rc.tar.gz
32 # Source3-md5: 22c1f6c5ab4bd84376daa37debd3e889
33 Source4: %{name}.RunWM
34 Source6: %{name}-xsession.desktop
35 Patch0: %{name}-paths.patch
36 Patch1: FvwmIconMan.patch
37 Patch2: FvwmPager.patch
38 URL: http://www.fvwm.org/
39 %{?with_xft:BuildRequires: xft-devel}
40 BuildRequires: autoconf
41 BuildRequires: automake
42 %{?with_fribidi:BuildRequires: fribidi-devel}
43 %{?with_gnome:BuildRequires: gnome-libs-devel}
44 BuildRequires: gtk+-devel
45 BuildRequires: libpng-devel
46 %{?with_stroke:BuildRequires: libstroke-devel}
47 BuildRequires: readline-devel >= 4.2
48 %{?with_rplay:BuildRequires: rplay-devel}
49 BuildRequires: rpm-perlprov
50 Requires: fvwm2-icons = %{version}-%{release}
52 Requires: xinitrc >= 3.0
53 Requires: XFree86-tools
55 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
57 %define _sysconfdir /etc/X11/fvwm2
58 %define _wmpropsdir /usr/share/wm-properties
61 FVWM2 (the F stands for whatever you want, but the VWM stands for
62 Virtual Window Manager) is an improved version of the FVWM window
63 manager for the X Window System and shares the same characteristics as
67 Fvwm2 es una versión del popular administrador de ventanas "Feeble
68 Virtual Window Manager".
71 FVWM2 (F¤Ï¹¥¤¤Ê¤è¤¦¤Ë²ò¼á¤·¤Æ¤¯¤À¤µ¤¤¡£¤¿¤À¤·¡¢ VWM ¤Ï Virtual Window
72 Manager ¤ò¾Êά¤·¤¿¤â¤Î¤Ç¤¹¡£)¤Ï FVWM ¤ÈƱ¤¸ÆÃħ¤ò»ý¤Á ¹¹¤Ë³ÈÄ¥¤µ¤ì¤¿ X
73 Window System ÍÑ¥¦¥£¥ó¥É¥¦¥Þ¥Í¡¼¥¸¥ã¤Ç¤¹¡£
76 FVWM (za F mo¿na sobie podstawic co kto woli, lecz VWM pochodzi od
77 pierwszych liter "Virtual Window Manager", czyli wirtualny zarz±dca
78 okien) to ulepszona wersja zarz±dcy okien dla systemu X Window FVWM i
79 posiadaj±ca te same cechy.
82 Fvwm2 é uma versão do popular gerenciador de janelas "Feeble Virtual
86 fvwm2 - ÜÔÏ ×ÅÒÓÉÑ ÐÏÐÕÌÑÒÎÏÇÏ "Feeble Virtual Window Manager".
89 Summary: Graphic files used by the FVWM and FVWM2 window managers
90 Summary(de): Symbole und Pixmaps für fvwm
91 Summary(fr): Icônes et pixmaps pour fvwm
92 Summary(pl): Pliki graficzne u¿ywane przez zarz±dców okien FVWM i FVWM2
93 Summary(ru): ðÉËÔÏÇÒÁÍÍÙ É ÒÁÓÔÒÏ×ÙÅ ËÁÒÔÉÎËÉ ÄÌÑ fvwm2
94 Summary(tr): Fvwm için çeþitli minik görüntü ve simgeler
95 Group: X11/Window Managers
96 Obsoletes: fvwm95-icons
99 This package contains icons, bitmaps and pixmaps for fvwm and fvwm2.
101 %description icons -l de
102 Dieses Paket enthält Symbole, Bitmaps und Pixmaps für fvwm und fvwm2.
104 %description icons -l fr
105 Ce package contient des icones, bitmaps et pixmaps pour fvwm et fvwm2.
107 %description icons -l pl
108 Ten pakiet zawiera ikony, bitmapy i pixmapy dla fvwm i fvwm2.
110 %description icons -l ru
111 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÐÉËÔÏÇÒÁÍÍÙ É ÐÒÏÞÉÅ ËÁÒÔÉÎËÉ ÄÌÑ fvwm2.
113 %description icons -l tr
114 Fvwm için çeþitli minik görüntü ve simgeler.
117 Summary: fvwm-perllib, FvwmPerl and dependent modules
118 Summary(pl): fvwm-perllib, FvwmPerl i zale¿ne modu³y
119 Group: X11/Window Managers/Tools
120 Requires: %{name} = %{version}
123 fvwm-perllib, FvwmPerl and dependent modules.
125 %description perl -l pl
126 fvwm-perllib, FvwmPerl i zale¿ne modu³y.
129 %setup -n fvwm-%{version} -q -a1 -a3
142 --%{!?debug:dis}%{?debug:en}able-debug-msgs \
143 --disable-command-log \
144 %{!?with_fribidi:--disable-bidi} \
145 %{!?with_xft:--disable-xft} \
149 %{?with_gnome:--with-gnome}%{!?with_gnome:--without-gnome} \
151 %{!?with_rplay:--without-rplay-library} \
152 --with-stroke-library \
153 --with-ncurses-library \
154 --with-readline-library \
155 --with-ncurses-library \
156 --with-iconv-library=no \
157 --without-termcap-library
162 rm -rf $RPM_BUILD_ROOT
165 DESTDIR=$RPM_BUILD_ROOT
168 $RPM_BUILD_ROOT{%{_sysconfdir},/etc/sysconfig/wmstyle,%{_wmpropsdir}} \
169 $RPM_BUILD_ROOT{%{_datadir}/{locale,xsessions},%{_pixmapsdir}/mini}
171 sed -e 's@^ModulePath.*@ModulePath /usr/lib/fvwm:/usr/share/fvwm@;s@^PixmapPath.*@@' \
172 -e 's@^IconPath.*@ImagePath /usr/share/pixmaps:/usr/share/pixmaps/mini:/usr/X11R6/share/pixmaps:/usr/X11R6/include/X11/pixmaps:/usr/X11R6/include/X11/bitmaps:/usr/share/icons:/usr/share/icons/mini@' \
173 system.fvwm2rc > $RPM_BUILD_ROOT%{_sysconfdir}/system.fvwm2rc
175 install fvwm2.menu.m4 $RPM_BUILD_ROOT%{_sysconfdir}
177 install icons/*.xpm $RPM_BUILD_ROOT%{_pixmapsdir}
179 mv $RPM_BUILD_ROOT%{_pixmapsdir}/mini-*.xpm \
180 $RPM_BUILD_ROOT%{_pixmapsdir}/mini
182 # Conflicts with wmmaker
183 mv $RPM_BUILD_ROOT%{_pixmapsdir}/xv{,-fvwm}.xpm
185 install %{SOURCE2} $RPM_BUILD_ROOT%{_wmpropsdir}
186 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/wmstyle/%{name}.sh
187 install %{SOURCE6} $RPM_BUILD_ROOT%{_datadir}/xsessions/%{name}.desktop
189 %find_lang %{name} --all-name
192 rm -rf $RPM_BUILD_ROOT
194 %files -f %{name}.lang
195 %defattr(644,root,root,755)
196 %doc README AUTHORS NEWS docs
198 %config(noreplace) %verify(not size mtime md5) /etc/X11/fvwm2/*
199 %attr(755,root,root) /etc/sysconfig/wmstyle/*.sh
200 %attr(755,root,root) %{_bindir}/[!f]*
201 %attr(755,root,root) %{_bindir}/fvwm
202 %attr(755,root,root) %{_bindir}/fvwm2
203 %attr(755,root,root) %{_bindir}/fvwm-[!p]*
205 %attr(755,root,root) %{_libdir}/fvwm/Fvwm[!DGPW]*
206 %attr(755,root,root) %{_libdir}/fvwm/FvwmD[!e]*
207 %attr(755,root,root) %{_libdir}/fvwm/FvwmGtk
208 %attr(755,root,root) %{_libdir}/fvwm/FvwmP[!e]*
209 %attr(755,root,root) %{_libdir}/fvwm/FvwmW[!i]*
210 %attr(755,root,root) %{_libdir}/fvwm/FvwmWinList
211 %dir %{_datadir}/fvwm
212 %{_datadir}/fvwm/[!p]*
213 %{_datadir}/xsessions/%{name}.desktop
214 %{_wmpropsdir}/fvwm2.desktop
215 %{_mandir}/man1/[!Ff]*.1*
216 %{_mandir}/man1/Fvwm[!DGPW]*.1*
217 %{_mandir}/man1/FvwmD[!e]*.1*
218 %{_mandir}/man1/FvwmP[!e]*.1*
219 %{_mandir}/man1/FvwmW[!i]*.1*
220 %{_mandir}/man1/FvwmWinList.1*
221 %{_mandir}/man1/fvwm.1*
222 %{_mandir}/man1/fvwm-[!p]*.1*
225 %defattr(644,root,root,755)
227 %{_pixmapsdir}/mini/*.xpm
230 %defattr(644,root,root,755)
231 %attr(755,root,root) %{_bindir}/fvwm-perllib
232 %attr(755,root,root) %{_libdir}/fvwm/FvwmDebug
233 %attr(755,root,root) %{_libdir}/fvwm/FvwmGtkDebug
234 %attr(755,root,root) %{_libdir}/fvwm/FvwmPerl
235 %attr(755,root,root) %{_libdir}/fvwm/FvwmWindowMenu
236 %{_datadir}/fvwm/perllib
237 %{_mandir}/man1/fvwm-perllib.1*
238 %{_mandir}/man1/FvwmDebug.1*
239 %{_mandir}/man1/FvwmGtkDebug.1*
240 %{_mandir}/man1/FvwmPerl.1*
241 %{_mandir}/man1/FvwmWindowMenu.1*