diff options
author | Jan Rękorajski | 2014-08-17 21:38:48 (GMT) |
---|---|---|
committer | Jan Rękorajski | 2014-08-17 21:38:48 (GMT) |
commit | f5409689c42faca4b02c91902e3720ecc8d26893 (patch) | |
tree | c6938818d151bc2e3f40156be8170a0b2ba08022 | |
parent | a878506e252473a306c1858b34ad8414851be06e (diff) | |
download | xfce4-appfinder-f5409689c42faca4b02c91902e3720ecc8d26893.zip xfce4-appfinder-f5409689c42faca4b02c91902e3720ecc8d26893.tar.gz |
- added bcond for building with gtk+3
-rw-r--r-- | xfce4-appfinder.spec | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/xfce4-appfinder.spec b/xfce4-appfinder.spec index fb001b7..e75fc1f 100644 --- a/xfce4-appfinder.spec +++ b/xfce4-appfinder.spec @@ -1,3 +1,7 @@ +# +# Conditional build: +%bcond_with gtk3 # build with gtk+3 (disables gtk2 support) +# Summary: Appfinder for the Xfce Desktop Environment Summary(pl.UTF-8): Wyszukiwarka aplikacji dla środowiska Xfce Name: xfce4-appfinder @@ -13,7 +17,8 @@ BuildRequires: automake BuildRequires: garcon-devel >= 0.3.0 BuildRequires: gettext-devel BuildRequires: glib2-devel >= 1:2.16.0 -BuildRequires: gtk+2-devel >= 2:2.14.0 +%{!?with_gtk3:BuildRequires: gtk+2-devel >= 2:2.14.0} +%{?with_gtk3:BuildRequires: gtk+3-devel} BuildRequires: intltool BuildRequires: libtool BuildRequires: libxfce4ui-devel >= 4.11.0 @@ -45,6 +50,7 @@ xfce4-appfinder pokazuje aplikacje zainstalowane w systemie. %{__automake} %{__autoconf} %configure \ + %{__enable_disable gtk3} \ --disable-silent-rules %{__make} |