[conky] enable weather support (#1024089)
Miroslav Lichvar
mlichvar at fedoraproject.org
Tue Oct 29 17:42:15 UTC 2013
commit 74d501ce3cdfbc8a5b3cc9ffaa2e5b6ee41e3cfc
Author: Miroslav Lichvar <mlichvar at redhat.com>
Date: Tue Oct 29 18:26:14 2013 +0100
enable weather support (#1024089)
conky.spec | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/conky.spec b/conky.spec
index 7d69a02..42b833e 100644
--- a/conky.spec
+++ b/conky.spec
@@ -14,6 +14,8 @@
%bcond_with nvidia
%bcond_without rss
%bcond_without ibm
+%bcond_without weather
+%bcond_without weather_xoap
%bcond_without wlan
Name: conky
@@ -43,6 +45,8 @@ BuildRequires: libXext-devel
%{?with_nvidia:BuildRequires: libXNVCtrl-devel}
%{?with_ncurses:BuildRequires: ncurses-devel}
%{?with_rss:BuildRequires: curl-devel libxml2-devel}
+%{?with_weather:BuildRequires: curl-devel}
+%{?with_weather_xoap:BuildRequires: libxml2-devel}
%{?with_wlan:BuildRequires: wireless-tools-devel}
# needed to generate documentation in the git snapshot
BuildRequires: libtool docbook2X docbook-style-xsl man
@@ -77,6 +81,8 @@ done
%{!?with_ncurses: --disable-ncurses} \
%{?with_rss: --enable-rss} \
%{?with_ibm: --enable-ibm} \
+%{?with_weather: --enable-weather-metar} \
+%{?with_weather_xoap: --enable-weather-xoap} \
%{?with_wlan: --enable-wlan} \
;
More information about the scm-commits
mailing list