Group :: Development/Perl
RPM: perl-Weather-Com
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
## SPEC file for Perl module Weather::Com
Name: perl-Weather-Com
Version: 2.0.0
Release: alt1
Summary: Perl module for accessing weather information
Summary(ru_RU.UTF-8): модуль Perl для получения информации о погоде
License: %perl_license
Group: Development/Perl
%define real_name Weather-Com
URL: http://search.cpan.org/~schnueck/Weather-Com/
Packager: Nikolay A. Fetisov <naf at altlinux.ru>
Source: %real_name-%version.tar
BuildArch: noarch
AutoReqProv: perl, yes
BuildPreReq: perl-devel rpm-build-licenses
# Automatically added by buildreq on Sun Oct 06 2013
# optimized out: perl-Encode perl-HTTP-Date perl-HTTP-Message perl-I18N-LangTags perl-Time-Format_XS perl-URI perl-XML-LibXML perl-XML-SAX perl-XML-SAX-Base perl-devel
BuildRequires: perl-Locale-Maketext perl-Test-MockObject perl-Time-Format perl-XML-Simple perl-libwww
BuildRequires: perl-Time-Format_XS
%description
Weather::Com is a Perl module enabling the programmer to access weather
information as provided by weather.com's XMLOAP interface.
By XMLOAP API weather.com provides current conditions and up to 10 days
of forecast containing most information one could need, e.g. the time of
sunrise and sunset, the longitude and latitude of the location, data
precompiled either in the US system or in the metric system, etc.
For using the weather.com's service a free registration is needed:
http://www.weather.com/services/xmloap.html. You will be send an email
containing your 'partner id', a license key and a link where to download
the SDK with implementation guides, weather icons in several sizes, 'The
Weather Channel' logos, etc..
%description -l ru_RU.UTF-8
Модуль Perl Weather::Com позволяет программисту работать с информацией
о погоде, предоставляемой через интерфейс XMLOAP сайта weather.com.
Через API XMLOAP можно получить текущую сводку погоды и прогнозы на
ближайшие 10 дней. Помимо сведений о погоде предоставляется информация
о времени восхода и заката солнца, широта и долгота места, пр.
Для использования сервиса weather.com требуется пройти бесплатную
регистрацию на http://www.weather.com/services/xmloap.html. В ответ
будет получено письмо с 'partner id', ключом регистрации и ссылкой
на SDK с описанием протокола, примерами использования, пиктограммами
для отображения данных на веб-страницах, и т.п.
%prep
%setup -q -n %real_name-%version
%build
%perl_vendor_build
%install
%perl_vendor_install
%files
%doc Changes README BUGS TODO
%doc samples/*
%exclude /.perl.req
%dir %perl_vendor_privlib/Weather
%perl_vendor_privlib/Weather/Com*
%changelog
…
Full changelog you can see here
Name: perl-Weather-Com
Version: 2.0.0
Release: alt1
Summary: Perl module for accessing weather information
Summary(ru_RU.UTF-8): модуль Perl для получения информации о погоде
License: %perl_license
Group: Development/Perl
%define real_name Weather-Com
URL: http://search.cpan.org/~schnueck/Weather-Com/
Packager: Nikolay A. Fetisov <naf at altlinux.ru>
Source: %real_name-%version.tar
BuildArch: noarch
AutoReqProv: perl, yes
BuildPreReq: perl-devel rpm-build-licenses
# Automatically added by buildreq on Sun Oct 06 2013
# optimized out: perl-Encode perl-HTTP-Date perl-HTTP-Message perl-I18N-LangTags perl-Time-Format_XS perl-URI perl-XML-LibXML perl-XML-SAX perl-XML-SAX-Base perl-devel
BuildRequires: perl-Locale-Maketext perl-Test-MockObject perl-Time-Format perl-XML-Simple perl-libwww
BuildRequires: perl-Time-Format_XS
%description
Weather::Com is a Perl module enabling the programmer to access weather
information as provided by weather.com's XMLOAP interface.
By XMLOAP API weather.com provides current conditions and up to 10 days
of forecast containing most information one could need, e.g. the time of
sunrise and sunset, the longitude and latitude of the location, data
precompiled either in the US system or in the metric system, etc.
For using the weather.com's service a free registration is needed:
http://www.weather.com/services/xmloap.html. You will be send an email
containing your 'partner id', a license key and a link where to download
the SDK with implementation guides, weather icons in several sizes, 'The
Weather Channel' logos, etc..
%description -l ru_RU.UTF-8
Модуль Perl Weather::Com позволяет программисту работать с информацией
о погоде, предоставляемой через интерфейс XMLOAP сайта weather.com.
Через API XMLOAP можно получить текущую сводку погоды и прогнозы на
ближайшие 10 дней. Помимо сведений о погоде предоставляется информация
о времени восхода и заката солнца, широта и долгота места, пр.
Для использования сервиса weather.com требуется пройти бесплатную
регистрацию на http://www.weather.com/services/xmloap.html. В ответ
будет получено письмо с 'partner id', ключом регистрации и ссылкой
на SDK с описанием протокола, примерами использования, пиктограммами
для отображения данных на веб-страницах, и т.п.
%prep
%setup -q -n %real_name-%version
%build
%perl_vendor_build
%install
%perl_vendor_install
%files
%doc Changes README BUGS TODO
%doc samples/*
%exclude /.perl.req
%dir %perl_vendor_privlib/Weather
%perl_vendor_privlib/Weather/Com*
%changelog
…
Full changelog you can see here