]> git.pld-linux.org Git - packages/AfterStep.git/commitdiff
- conditional (off by default) wm-properties (only used in gnome2)
authorJan Rękorajski <baggins@pld-linux.org>
Thu, 28 Jul 2011 10:07:28 +0000 (10:07 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    AfterStep.spec -> 1.85

AfterStep.spec

index 0a75ad3a04d30ef1b964215832a03b069154e46c..3ee95df5409849ad4d13759e0d680242d99c222c 100644 (file)
@@ -1,6 +1,7 @@
 #
 # Conditional build:
-%bcond_with    mmx     # use MMX
+%bcond_with    mmx             # use MMX
+%bcond_with    gnome2          # build with support for GNOME2 wm-properties
 #
 %ifarch pentium3 pentium4 athlon %{x8664}
 %define                with_mmx        1
@@ -255,7 +256,7 @@ install -d $RPM_BUILD_ROOT{%{_wmpropsdir},%{_datadir}/xsessions,/etc/sysconfig/w
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-install AfterStep.desktop $RPM_BUILD_ROOT%{_wmpropsdir}
+%{?with_gnome2:install AfterStep.desktop $RPM_BUILD_ROOT%{_wmpropsdir}}
 
 #install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/wmstyle/afterstep.sh
 install %{SOURCE3} $RPM_BUILD_ROOT%{_datadir}/xsessions/AfterStep.desktop
@@ -303,7 +304,7 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/makeastheme.pl
 %attr(755,root,root) %{_bindir}/postcard.sh
 %attr(755,root,root) %{_libdir}/libAfter*.so.*.*
-%{_wmpropsdir}/AfterStep.desktop
+%{?with_gnome2:%{_wmpropsdir}/AfterStep.desktop}
 #%attr(755,root,root) /etc/sysconfig/wmstyle/*.sh
 %{_datadir}/afterstep
 %{_datadir}/xsessions/AfterStep.desktop
This page took 0.093771 seconds and 4 git commands to generate.