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

e16.spec

index 4ce58672928c5b4a0b74dbfe631d414d272f776c..c2e3a1085b9de03fdd34a65e39f437a636714638 100644 (file)
--- a/e16.spec
+++ b/e16.spec
@@ -1,3 +1,7 @@
+#
+# Conditional build:
+%bcond_with    gnome2          # build with support for GNOME2 wm-properties
+#
 Summary:       Enlightenment Window Manager
 Summary(pl.UTF-8):     Zarządca okien X - Enlightenment
 Summary(de.UTF-8):     Enlightenment ist ein Window Manager für X
@@ -97,7 +101,7 @@ install -d $RPM_BUILD_ROOT{%{_datadir}/xsessions,%{_wmpropsdir},/etc/sysconfig/w
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-install %{SOURCE1} $RPM_BUILD_ROOT%{_wmpropsdir}
+%{?with_gnome2:install %{SOURCE1} $RPM_BUILD_ROOT%{_wmpropsdir}}
 install %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/xsessions/%{name}.desktop
 install %{SOURCE3} $RPM_BUILD_ROOT%{_datadir}/%{name}/scripts/e_gen_menu
 install %{SOURCE4} $RPM_BUILD_ROOT%{_datadir}/%{name}/scripts/e_check_menu
@@ -117,4 +121,4 @@ rm -rf $RPM_BUILD_ROOT
 %dir %{_datadir}/%{name}/scripts
 %attr(755,root,root) %{_datadir}/%{name}/scripts/*
 %{_datadir}/xsessions/%{name}.desktop
-%{_wmpropsdir}/*
+%{?with_gnome2:%{_wmpropsdir}/*}
This page took 0.071067 seconds and 4 git commands to generate.