Репозитории ALT

S: | 2.0.0-alt1 |
5.1: | 0.5.5-alt1 |
4.1: | 0.5.3-alt1 |
4.0: | 0.5.3-alt1.M40.1 |
Группа :: Разработка/Perl
Пакет: perl-Weather-Com
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
## SPEC file for Perl module Weather::Com
%define version 0.5.3
%define release alt1.M40.1
Name: perl-Weather-Com
Version: %version
Release: %release
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: http://search.cpan.org/CPAN/authors/id/S/SC/SCHNUECK/%real_name-%version.tar.gz
BuildArch: noarch
AutoReqProv: perl, yes
BuildPreReq: perl-devel rpm-build-licenses
BuildRequires: perl-Time-Format, perl-Time-Format_XS, perl-Test-MockObject
BuildRequires: perl-Locale-Maketext, perl-libwww, perl-XML-Simple
%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
# Fix http://rt.cpan.org/Public/Bug/Display.html?id=35681
subst 's at $self->{LINKS} = 0; at $self->{LINKS} = 1; # THAT MUST BE 1 SINCE 06 MAY 2008 at ' lib/Weather/Com/Base.pm
# Quick fix for failure in forecast testing
subst 's at 23042005 at 23042007 at ' t/OOInterface.t
%build
%perl_vendor_build
%install
%perl_vendor_install
%files
%doc Changes README BUGS TODO
%doc samples/*
%exclude %perl_vendor_man3dir/*
%exclude /.perl.req
%dir %perl_vendor_privlib/Weather
%perl_vendor_privlib/Weather/Com*
%changelog
…
Полный changelog можно просмотреть здесь
%define version 0.5.3
%define release alt1.M40.1
Name: perl-Weather-Com
Version: %version
Release: %release
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: http://search.cpan.org/CPAN/authors/id/S/SC/SCHNUECK/%real_name-%version.tar.gz
BuildArch: noarch
AutoReqProv: perl, yes
BuildPreReq: perl-devel rpm-build-licenses
BuildRequires: perl-Time-Format, perl-Time-Format_XS, perl-Test-MockObject
BuildRequires: perl-Locale-Maketext, perl-libwww, perl-XML-Simple
%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
# Fix http://rt.cpan.org/Public/Bug/Display.html?id=35681
subst 's at $self->{LINKS} = 0; at $self->{LINKS} = 1; # THAT MUST BE 1 SINCE 06 MAY 2008 at ' lib/Weather/Com/Base.pm
# Quick fix for failure in forecast testing
subst 's at 23042005 at 23042007 at ' t/OOInterface.t
%build
%perl_vendor_build
%install
%perl_vendor_install
%files
%doc Changes README BUGS TODO
%doc samples/*
%exclude %perl_vendor_man3dir/*
%exclude /.perl.req
%dir %perl_vendor_privlib/Weather
%perl_vendor_privlib/Weather/Com*
%changelog
…
Полный changelog можно просмотреть здесь