Summary(pt_BR): Gerenciador de janelas semelhante ao mwm
Summary(ru): ÷ÉÒÔÕÁÌØÎÙÊ ÏËÏÎÎÙÊ ÍÅÎÅÄÖÅÒ F(?)
Name: fvwm2
-Version: 2.5.5
-Release: 1
+Version: 2.4.15
+Release: 0.1
License: GPL
Group: X11/Window Managers
Source0: ftp://ftp.fvwm.org/pub/fvwm/version-2/fvwm-%{version}.tar.bz2
Source3: %{name}-system.%{name}rc.tar.gz
Source4: %{name}.RunWM
Source5: %{name}.wm_style
-Patch0: %{name}-paths.patch
+#Patch0: %{name}-paths.patch
+#Patch1: FvwmIconMan.patch
URL: http://www.fvwm.org/
%{!?_without_xft:BuildRequires: Xft-devel}
BuildRequires: autoconf
%prep
%setup -n fvwm-%{version} -q -a1 -a3
-%patch0 -p1
+#%patch0 -p1
+#%patch1 -p1
%build
rm -f missing
%configure \
--disable-dmalloc \
--disable-efence \
- --disable-debug-msgs \
+ --%{!?debug:dis}%{?debug:en}able-debug-msgs \
--disable-command-log \
%{!?_with_fribidi:--disable-bidi} \
%{?_without_xft:--disable-xft} \
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/sysconfig/wmstyle,%{_wmpropsdir}}
+install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/sysconfig/wmstyle,%{_wmpropsdir},%{_datadir}/locale}
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
+#%find_lang %{name} --all-name
+
sed -e 's@^ModulePath.*@ModulePath /usr/lib/fvwm:/usr/share/fvwm@;s@^PixmapPath.*@@' \
-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@' \
system.fvwm2rc > $RPM_BUILD_ROOT%{_sysconfdir}/system.fvwm2rc
%clean
rm -rf $RPM_BUILD_ROOT
-%files
+#%files -f %{name}.lang
%defattr(644,root,root,755)
%doc README AUTHORS NEWS docs
%dir /etc/X11/fvwm2
%attr(755,root,root) %{_libdir}/fvwm/FvwmDebug
%attr(755,root,root) %{_libdir}/fvwm/FvwmGtkDebug
%attr(755,root,root) %{_libdir}/fvwm/FvwmPerl
-%attr(755,root,root) %{_libdir}/fvwm/FvwmWindowLister
+%attr(755,root,root) %{_libdir}/fvwm/FvwmWindowMenu
%{_datadir}/fvwm/perllib
%{_mandir}/man1/fvwm-perllib.1*
%{_mandir}/man1/FvwmDebug.1*
%{_mandir}/man1/FvwmGtkDebug.1*
%{_mandir}/man1/FvwmPerl.1*
-%{_mandir}/man1/FvwmWindowLister.1*
+%{_mandir}/man1/FvwmWindowMenu.1*