]> git.pld-linux.org Git - packages/fvwm2.git/commitdiff
- rel 2
authorJan Rękorajski <baggins@pld-linux.org>
Wed, 27 Jul 2011 20:29:10 +0000 (20:29 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- package wm-properties only if built with gnome (2) support

Changed files:
    fvwm2.spec -> 1.91

fvwm2.spec

index b5f1010877b731d08c01f87cde7f0d0a4437b6db..ea162d5cfcf833cf65837ce402bc51467c8c84f1 100644 (file)
@@ -5,7 +5,7 @@
 %bcond_without stroke          # without mouse strokes (gestures) support
 %bcond_without xft             # without Xft (1 or 2) support
 %bcond_with    fribidi         # with bidirectional text support
-%bcond_with    gnome           # with gnome-libs
+%bcond_with    gnome           # with gnome-libs and wm-properties
 %bcond_with    rplay           # with internal sound support (through rplay)
 #
 %include       /usr/lib/rpm/macros.perl
@@ -20,7 +20,7 @@ Summary(ru.UTF-8):    Виртуальный оконный менеджер F(?)
 Summary(tr.UTF-8):     Yaygın bir pencere denetleyicisi
 Name:          fvwm2
 Version:       2.5.28
-Release:       1
+Release:       2
 License:       GPL
 Group:         X11/Window Managers
 Source0:       ftp://ftp.fvwm.org/pub/fvwm/version-2/fvwm-%{version}.tar.bz2
@@ -194,7 +194,7 @@ mv $RPM_BUILD_ROOT%{_pixmapsdir}/xv{,-fvwm}.xpm
 
 install %{SOURCE3} $RPM_BUILD_ROOT%{_bindir}/%{name}-session
 install %{SOURCE4} $RPM_BUILD_ROOT%{_datadir}/xsessions/%{name}.desktop
-install %{SOURCE5} $RPM_BUILD_ROOT%{_wmpropsdir}
+%{?with_gnome:install %{SOURCE5} $RPM_BUILD_ROOT%{_wmpropsdir}}
 install %{SOURCE6} $RPM_BUILD_ROOT%{_pixmapsdir}
 
 touch $RPM_BUILD_ROOT%{_sysconfdir}/fvwm2.menu2
@@ -237,7 +237,7 @@ rm -rf $RPM_BUILD_ROOT
 %dir %{_datadir}/fvwm
 %{_datadir}/fvwm/[!p]*
 %{_datadir}/xsessions/%{name}.desktop
-%{_wmpropsdir}/fvwm2.desktop
+%{?with_gnome:%{_wmpropsdir}/fvwm2.desktop}
 %{_mandir}/man1/[!Ff]*.1*
 %{_mandir}/man1/Fvwm[!DGPW]*.1*
 %{_mandir}/man1/FvwmD[!e]*.1*
This page took 0.034962 seconds and 4 git commands to generate.