1 %include /usr/lib/rpm/macros.php
3 %define _pearname Date_Holidays_Netherlands
4 Summary: %{_pearname} - Driver based class to calculate holidays in the Netherlands
5 Summary(pl.UTF-8): %{_pearname} - klasa do obliczania dat świąt holenderskich
6 Name: php-pear-%{_pearname}
10 Group: Development/Languages/PHP
11 Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
12 # Source0-md5: 7aac9d3e2f42be123d90f1626f14c94d
13 URL: http://pear.php.net/package/Date_Holidays_Netherlands/
14 BuildRequires: php-pear-PEAR >= 1:1.4.0-0.b1
15 BuildRequires: rpm-php-pearprov >= 4.4.2-11
16 BuildRequires: rpmbuild(macros) >= 1.300
18 Requires: php-pear-Date_Holidays >= 0.21.1
19 Obsoletes: php-pear-Date_Holidays_Netherlands-tests
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
26 holidays in the Netherlands.
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
35 Ta klasa ma w PEAR status: %{_status}.
41 rm -rf $RPM_BUILD_ROOT
42 install -d $RPM_BUILD_ROOT%{php_pear_dir}
46 rm -rf $RPM_BUILD_ROOT
49 %defattr(644,root,root,755)
51 %{php_pear_dir}/.registry/*.reg
52 %{php_pear_dir}/Date/Holidays/Driver/Netherlands.php
53 %{php_pear_dir}/Date/Holidays/Filter/Netherlands