1 %include /usr/lib/rpm/macros.php
3 %define _subclass Holidays_EnglandWales
5 %define _pearname Date_Holidays_EnglandWales
6 Summary: %{_pearname} - Driver based class to calculate holidays in England and Wales
7 Summary(pl.UTF-8): %{_pearname} - klasa do obliczania świąt w Anglii oraz Walii
8 Name: php-pear-%{_pearname}
12 Group: Development/Languages/PHP
13 Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
14 # Source0-md5: 8c1e793e6c895a3fa04b5d9f8ad643e2
15 URL: http://pear.php.net/package/Date_Holidays_EnglandWales/
16 BuildRequires: php-pear-PEAR >= 1:1.4.0-0.b1
17 BuildRequires: rpm-php-pearprov >= 4.4.2-11
18 BuildRequires: rpmbuild(macros) >= 1.300
20 Requires: php-pear-Date_Holidays >= 0.21.1
21 Obsoletes: php-pear-Date_Holidays_EnglandWales-tests
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 Date_Holidays helps you calculate the dates and titles of holidays and
27 other special celebrations. This is the driver for calculating
28 holidays in England and Wales.
30 In PEAR status of this package is: %{_status}.
32 %description -l pl.UTF-8
33 Date_Holidays pozwala na obliczenie dat oraz tytułów świąt oraz
34 specjalnych okazji. Klasa ta pozwala na wyliczenie świąt angielskich
37 Ta klasa ma w PEAR status: %{_status}.
43 rm -rf $RPM_BUILD_ROOT
44 install -d $RPM_BUILD_ROOT%{php_pear_dir}
48 rm -rf $RPM_BUILD_ROOT
51 %defattr(644,root,root,755)
53 %{php_pear_dir}/.registry/*.reg
54 %{php_pear_dir}/Date/Holidays/Driver/EnglandWales.php