]> git.pld-linux.org Git - packages/php-pear-Services_Weather.git/commitdiff
- initial import
authorAdam Gołębiowski <adamg@pld-linux.org>
Fri, 10 Oct 2003 15:34:48 +0000 (15:34 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    php-pear-Services_Weather.spec -> 1.1

php-pear-Services_Weather.spec [new file with mode: 0644]

diff --git a/php-pear-Services_Weather.spec b/php-pear-Services_Weather.spec
new file mode 100644 (file)
index 0000000..62d53f6
--- /dev/null
@@ -0,0 +1,59 @@
+%include       /usr/lib/rpm/macros.php
+%define         _class          Services
+%define         _subclass       Weather
+%define                _status         beta
+%define                _pearname       %{_class}_%{_subclass}
+
+Summary:       %{_pearname} acts as an interface to various online weather-services.
+Summary(pl):   %{_pearname} pe³ni rolê interfejsu do ró¿nych serwisów pogodowych.
+Name:          php-pear-%{_pearname}
+Version:       1.0.0
+Release:       0.RC1
+License:       PHP 2.02
+Group:         Development/Languages/PHP
+Source0:       http://pear.php.net/get/%{_pearname}-%{version}RC1.tgz
+# Source0-md5: a27165c7d7116e85eaaa267e0e5b97fb
+URL:           http://pear.php.net/package/Services_Wheather/
+BuildRequires: rpm-php-pearprov >= 4.0.2-98
+Requires:      php-pear
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Services_Weather searches for given locations and retrieves current
+weather data and, dependent on the used service, also forecasts. Up to
+now, GlobalWeather from CapeScience, a XML service from weather.com
+and METAR from noaa.gov are supported. Further services will get
+included, if they become available, have a usable API and are properly
+documented.
+
+This class has in PEAR status: %{_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,
+GlobalWeather z CapeScience, us³uga XML z weather.ccom oraz METAR z
+noaa.gov s± wspierane. Wsparcie dla kolejnych serwisów zostanie dodane,
+o ile bêd± one dostêpne, bê± mia³y u¿yteczne API i bêd± odpowiednio
+udokumentowane.
+
+Ta klasa ma w PEAR status: %{_status}.
+
+%prep
+%setup -q -c -n %{name}-%{version}RC1
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/%{_subclass}
+
+install %{_pearname}-%{version}RC1/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}
+install %{_pearname}-%{version}RC1/%{_subclass}/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/%{_subclass}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc %{_pearname}-%{version}RC1/examples
+%{php_pear_dir}/%{_class}/*.php
+%{php_pear_dir}/%{_class}/%{_subclass}/
This page took 0.078417 seconds and 4 git commands to generate.