From: Adam Gołębiowski Date: Thu, 19 Jun 2008 19:56:08 +0000 (+0000) Subject: - new X-Git-Tag: auto/ac/php-pear-Date_Holidays_Austria-0_1_0-1 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fphp-pear-Date_Holidays_Austria.git;a=commitdiff_plain;h=e8a50eb45d60829bfc952fcc4a043ef74d524700 - new Changed files: php-pear-Date_Holidays_Austria.spec -> 1.1 --- e8a50eb45d60829bfc952fcc4a043ef74d524700 diff --git a/php-pear-Date_Holidays_Austria.spec b/php-pear-Date_Holidays_Austria.spec new file mode 100644 index 0000000..edba6f1 --- /dev/null +++ b/php-pear-Date_Holidays_Austria.spec @@ -0,0 +1,69 @@ +%include /usr/lib/rpm/macros.php +%define _class Date +%define _subclass Holidays_Austria +%define _status alpha +%define _pearname Date_Holidays_Austria +Summary: %{_pearname} - Driver based class to calculate holidays in Austria +Summary(pl.UTF-8): %{_pearname} - klasa to obliczania dat świąt austriackich +Name: php-pear-%{_pearname} +Version: 0.1.0 +Release: 1 +License: PHP License +Group: Development/Languages/PHP +Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz +# Source0-md5: 86b654f6a4ad30dfc9054c6d677cce7e +URL: http://pear.php.net/package/Date_Holidays_Austria/ +BuildRequires: php-pear-PEAR +BuildRequires: rpm-php-pearprov >= 4.4.2-11 +Requires: php-pear +Requires: php-pear-Date_Holidays >= 0.18.0 +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Date_Holidays helps you calculate the dates and titles of holidays and +other special celebrations. This is the driver for calculating +holidays in Austria. + +In PEAR status of this package is: %{_status}. + +%description -l pl.UTF-8 +Date_Holidays pozwala na obliczenie dat oraz tytułów świąt oraz +specjalnych okazji. Klasa ta pozwala na wyliczenie świąt austriackich. + +Ta klasa ma w PEAR status: %{_status}. + +%package tests +Summary: Tests for PEAR::%{_pearname} +Summary(pl.UTF-8): Testy dla PEAR::%{_pearname} +Group: Development/Languages/PHP +AutoReq: no +Requires: %{name} = %{version}-%{release} +AutoProv: no + +%description tests +Tests for PEAR::%{_pearname}. + +%description tests -l pl.UTF-8 +Testy dla PEAR::%{_pearname}. + +%prep +%pear_package_setup + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT%{php_pear_dir} +%pear_package_install + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc install.log +%{php_pear_dir}/.registry/*.reg +%{php_pear_dir}/Date/Holidays/Driver/Austria.php + +%files tests +%defattr(644,root,root,755) +%{php_pear_dir}/tests/Date_Holidays_Austria