1 %include /usr/lib/rpm/macros.php
3 %define _subclass Holidays_Austria
5 %define _pearname Date_Holidays_Austria
6 Summary: %{_pearname} - Driver based class to calculate holidays in Austria
7 Summary(pl.UTF-8): %{_pearname} - klasa to obliczania dat świąt austriackich
8 Name: php-pear-%{_pearname}
12 Group: Development/Languages/PHP
13 Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
14 # Source0-md5: cbcb11df8e00558ca2cfc02fb3aefe11
15 URL: http://pear.php.net/package/Date_Holidays_Austria/
16 BuildRequires: php-pear-PEAR
17 BuildRequires: rpm-php-pearprov >= 4.4.2-11
19 Requires: php-pear-Date_Holidays >= 0.18.0
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 Date_Holidays helps you calculate the dates and titles of holidays and
25 other special celebrations. This is the driver for calculating
28 In PEAR status of this package is: %{_status}.
30 %description -l pl.UTF-8
31 Date_Holidays pozwala na obliczenie dat oraz tytułów świąt oraz
32 specjalnych okazji. Klasa ta pozwala na wyliczenie świąt austriackich.
34 Ta klasa ma w PEAR status: %{_status}.
37 Summary: Tests for PEAR::%{_pearname}
38 Summary(pl.UTF-8): Testy dla PEAR::%{_pearname}
39 Group: Development/Languages/PHP
41 Requires: %{name} = %{version}-%{release}
45 Tests for PEAR::%{_pearname}.
47 %description tests -l pl.UTF-8
48 Testy dla PEAR::%{_pearname}.
54 rm -rf $RPM_BUILD_ROOT
55 install -d $RPM_BUILD_ROOT%{php_pear_dir}
59 rm -rf $RPM_BUILD_ROOT
62 %defattr(644,root,root,755)
64 %{php_pear_dir}/.registry/*.reg
65 %{php_pear_dir}/Date/Holidays/Driver/Austria.php
68 %defattr(644,root,root,755)
69 %{php_pear_dir}/tests/Date_Holidays_Austria