Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:please_try_again:Fedora
conkyweather
conkyweather.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File conkyweather.spec of Package conkyweather
Name: conkyweather Version: 1.0 Release: 9.1 Group: System/Monitoring Summary: Display weather information and forecast in conky License: GPL v2 or later Source0: %{name}-%{version}.tar.bz2 BuildArch: noarch # Requires: conky BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %if 0%{?suse_version} Group: System/Monitoring Buildrequires: fdupes %if 0%{?suse_version} >=1220 Requires: libxslt-tools %else %if 0%{?suse_version} >=1210 Requires: libxslt1 %else Requires: libxslt %endif %endif %endif %if 0%{?rhel_version} || 0%{?fedora_version} || 0%{?centos_version} Group: User Interface/X Requires: libxslt %endif %if 0%{?mandriva_version} Requires: xsltproc %endif %description This new version of conkyweather retrieves weather information from theweathernetwork.com and displays it in conky. It has nothing to do anymore with the previous version (0.3.2) originally written by Hardik Mehta, which used the Google api. A complete rewriting of this script was necessary because the Google free api is not available anymore. This version doesn't use the conkyweather True Type font but .png icons (which requires conky to be compiled with imlib2 support). This package still includes the old script, xslt files and patches in a .tgz archive, in case somebody would like to try to make them work wit another api. This new version downloads and parses the RSS feed (not an api). Authors: -------- Agnelo de la Crotche <agnelo@unixversal.com> %prep %setup -q %build # nothing to build %install install -d -m 0755 %{buildroot}%{_bindir} install -d -m 0755 %{buildroot}%{_datadir}/%{name} install -d -m 0755 %{buildroot}%{_datadir}/%{name}/images install -m 0755 %{name} %{buildroot}%{_bindir}/%{name} install -m 0644 *.xslt %{buildroot}%{_datadir}/%{name} install -m 0644 *.png %{buildroot}%{_datadir}/%{name}/images install -m 0644 googleweather.tgz %{buildroot}%{_datadir}/%{name} %if 0%{?suse_version} %fdupes %{buildroot}%{_datadir}/%{name}/images %endif %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc COPYING %dir %{_datadir}/%{name} %dir %{_datadir}/%{name}/images %{_bindir}/conkyweather %{_datadir}/%{name}/* %changelog * Mon Sep 3 2012 Agnelo de la Crotche <agnelo@unixversal.com> 1.0 - New version using theweathernetwork.com RSS feed and png icons. * Sat Apr 14 2012 Agnelo de la Crotche <agnelo@unixversal.com> 0.3.2 - added support for fahrenheit * Wed Aug 31 2011 Agnelo de la Crotche <agnelo@unixversal.com> 0.3.1 - fixed Google UTF-8 output * Wed Jun 1 2011 Agnelo de la Crotche <agnelo@unixversal.com> 0.3 - added cuurentHumidity.xslt and currentWind.xslt * Tue May 24 2011 Agnelo de la Crotche <agnelo@unixversal.com> 0.2 - original built - some changes applied to the original script weather.sh by Hardik Meta to match rpm package standards: - rename weather.sh to conkyweather and put in /usr/bin - set RUNDIR to /usr/share/conkyweather - set weather_xml to $HOME/weatherInfo.xml instead of ${RUNDIR}/weatherInfo.xml
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor