enable weather support (#1024089)

This commit is contained in:
Miroslav Lichvar 2013-10-29 18:26:14 +01:00
parent 88c451491d
commit 74d501ce3c
1 changed files with 6 additions and 0 deletions

View File

@ -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} \
;