]> git.pld-linux.org Git - packages/php-pear-Services_Weather.git/blobdiff - php-pear-Services_Weather.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/php-pear-Services_Weather.git] / php-pear-Services_Weather.spec
index 8b7254384b6acd3bdd001270dcb799d405122149..faa48817deea806dfb0079eb5493f6a596dc89ff 100644 (file)
@@ -1,26 +1,34 @@
-%include       /usr/lib/rpm/macros.php
 %define                _class          Services
 %define                _subclass       Weather
 %define                _status         stable
-%define                _pearname       %{_class}_%{_subclass}
-
+%define                _pearname       Services_Weather
 Summary:       %{_pearname} - an interface to various online weather-services
-Summary(pl):   %{_pearname} - interfejs do ró¿nych serwisów pogodowych
+Summary(pl.UTF-8):     %{_pearname} - interfejs do różnych serwisów pogodowych
 Name:          php-pear-%{_pearname}
-Version:       1.3.1
-Release:       2.3
+Version:       1.4.7
+Release:       1
 License:       PHP 2.02
 Group:         Development/Languages/PHP
 Source0:       http://pear.php.net/get/%{_pearname}-%{version}.tgz
-# Source0-md5: a84d8dc57e063e8fd615af92a99103c6
+# Source0-md5: 34d1e75a99a1ece7446ae8567fef5a92
 URL:           http://pear.php.net/package/Services_Wheather/
+BuildRequires: php-pear-PEAR >= 1:1.4.0
 BuildRequires: rpm-php-pearprov >= 4.4.2-11
+BuildRequires: rpmbuild(macros) >= 1.654
+Requires:      php(ctype)
+Requires:      php(pcre)
 Requires:      php-pear
+Requires:      php-pear-HTTP_Request >= 1.2.0
+Suggests:      php-pear-Cache
+Suggests:      php-pear-DB
+Suggests:      php-pear-Net_FTP
+Suggests:      php-pear-SOAP
+Suggests:      php-pear-XML_Serializer
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 # exclude optional dependencies
-%define                _noautoreq      'pear(Cache.*)' 'pear(DB.*)' 'pear(HTTP/Request.*)' 'pear(SOAP.*)' 'pear(XML/Serializer.*)'
+%define        _noautoreq_pear DB.php HTTP/Request.php SOAP/.* XML/Serializer.* Net/FTP.php
 
 %description
 Services_Weather searches for given locations and retrieves current
@@ -32,12 +40,12 @@ documented.
 
 In PEAR status of this package is: %{_status}.
 
-%description -l pl
-Services_Weather wyszukuje pogodê, oraz w zale¿no¶ci od u¿ytego
-serwisu, tak¿e prognozê dla podanej lokalizacji. Jak do tej pory
-obs³ugiwane s±: GlobalWeather z CapeScience, us³uga XML z weather.com
-oraz METAR z noaa.gov. Wsparcie dla kolejnych serwisów zostanie
-dodane, o ile bêd± one dostêpne, bêd± mia³y u¿yteczne API i bêd±
+%description -l pl.UTF-8
+Services_Weather wyszukuje pogodę, oraz w zależności od użytego
+serwisu, także prognozę dla podanej lokalizacji. Jak do tej pory
+obsługiwane są: GlobalWeather z CapeScience, usługa XML z weather.com
+oraz METAR z noaa.gov. Wsparcie dla kolejnych serwisów zostanie
+dodane, o ile będą one dostępne, będą miały użyteczne API i będą
 odpowiednio udokumentowane.
 
 Ta klasa ma w PEAR status: %{_status}.
@@ -66,7 +74,7 @@ fi
 %doc install.log
 %doc docs/%{_pearname}/*
 %{php_pear_dir}/.registry/*.reg
-%{php_pear_dir}/%{_class}/*.php
-%{php_pear_dir}/%{_class}/%{_subclass}
+%{php_pear_dir}/Services/*.php
+%{php_pear_dir}/Services/Weather
 
 %{php_pear_dir}/data/%{_pearname}
This page took 0.129822 seconds and 4 git commands to generate.