]> git.pld-linux.org Git - packages/fvwm2.git/blobdiff - fvwm2.spec
- massive attack: adding Source-md5
[packages/fvwm2.git] / fvwm2.spec
index 6f7584aae280459696ebb263d66cbeef26ff4484..b238ab5799553d6e172af3b7850c74f3d5768675 100644 (file)
@@ -19,17 +19,19 @@ Summary(pl):        Ulepszona wersja zarz
 Summary(pt_BR):        Gerenciador de janelas semelhante ao mwm
 Summary(ru):   ÷ÉÒÔÕÁÌØÎÙÊ ÏËÏÎÎÙÊ ÍÅÎÅÄÖÅÒ F(?)
 Name:          fvwm2
-Version:       2.5.5
+Version:       2.5.6
 Release:       1
 License:       GPL
 Group:         X11/Window Managers
 Source0:       ftp://ftp.fvwm.org/pub/fvwm/version-2/fvwm-%{version}.tar.bz2
+# Source0-md5: 2966bd304449604ce5fb21f2cfbb3a80
 Source1:       fvwm-2.0.46.icons.tar.gz
 Source2:       %{name}.desktop
 Source3:       %{name}-system.%{name}rc.tar.gz
 Source4:       %{name}.RunWM
 Source5:       %{name}.wm_style
 Patch0:                %{name}-paths.patch
+Patch1:                FvwmIconMan.patch
 URL:           http://www.fvwm.org/
 %{!?_without_xft:BuildRequires:        Xft-devel}
 BuildRequires: autoconf
@@ -50,7 +52,7 @@ Obsoletes:    fvwm95
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _sysconfdir     /etc/X11/fvwm2
-%define                _wmpropsdir     /usr/X11R6/share/wm-properties
+%define                _wmpropsdir     /usr/share/wm-properties
 
 %description
 FVWM2 (the F stands for whatever you want, but the VWM stands for
@@ -123,6 +125,7 @@ fvwm-perllib, FvwmPerl i zale
 %prep
 %setup -n fvwm-%{version} -q -a1 -a3
 %patch0 -p1
+%patch1 -p1
 
 %build
 rm -f missing
@@ -132,7 +135,7 @@ 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} \
@@ -152,11 +155,13 @@ rm -f missing
 
 %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
@@ -179,7 +184,7 @@ rm -f $RPM_BUILD_ROOT%{_datadir}/icons/{folder,question}.xpm
 %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
@@ -223,10 +228,10 @@ rm -rf $RPM_BUILD_ROOT
 %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*
This page took 0.069391 seconds and 4 git commands to generate.