]>
Commit | Line | Data |
---|---|---|
6003f5ca AG |
1 | %define _status alpha |
2 | %define _pearname Date_Holidays_Netherlands | |
3 | Summary: %{_pearname} - Driver based class to calculate holidays in the Netherlands | |
4 | Summary(pl.UTF-8): %{_pearname} - klasa do obliczania dat świąt holenderskich | |
5 | Name: php-pear-%{_pearname} | |
1f77d271 | 6 | Version: 0.1.4 |
9bbcb995 | 7 | Release: 1 |
6003f5ca AG |
8 | License: PHP License |
9 | Group: Development/Languages/PHP | |
10 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz | |
1f77d271 | 11 | # Source0-md5: 7aac9d3e2f42be123d90f1626f14c94d |
6003f5ca | 12 | URL: http://pear.php.net/package/Date_Holidays_Netherlands/ |
49432679 | 13 | BuildRequires: php-pear-PEAR >= 1:1.4.0-0.b1 |
6003f5ca | 14 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 |
7cce5aa9 | 15 | BuildRequires: rpmbuild(macros) >= 1.300 |
6003f5ca | 16 | Requires: php-pear |
49432679 | 17 | Requires: php-pear-Date_Holidays >= 0.21.1 |
50656baf | 18 | Obsoletes: php-pear-Date_Holidays_Netherlands-tests |
6003f5ca AG |
19 | BuildArch: noarch |
20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
21 | ||
22 | %description | |
23 | Date_Holidays helps you calculate the dates and titles of holidays and | |
24 | other special celebrations. This is the driver for calculating | |
25 | holidays in the Netherlands. | |
26 | ||
27 | In PEAR status of this package is: %{_status}. | |
28 | ||
29 | %description -l pl.UTF-8 | |
30 | Date_Holidays pozwala na obliczenie dat oraz tytułów świąt oraz | |
31 | specjalnych okazji. Klasa ta pozwala na wyliczenie świąt | |
32 | holenderskich. | |
33 | ||
34 | Ta klasa ma w PEAR status: %{_status}. | |
35 | ||
36 | %prep | |
37 | %pear_package_setup | |
38 | ||
39 | %install | |
40 | rm -rf $RPM_BUILD_ROOT | |
41 | install -d $RPM_BUILD_ROOT%{php_pear_dir} | |
42 | %pear_package_install | |
43 | ||
44 | %clean | |
45 | rm -rf $RPM_BUILD_ROOT | |
46 | ||
47 | %files | |
48 | %defattr(644,root,root,755) | |
49 | %doc install.log | |
50 | %{php_pear_dir}/.registry/*.reg | |
51 | %{php_pear_dir}/Date/Holidays/Driver/Netherlands.php | |
52 | %{php_pear_dir}/Date/Holidays/Filter/Netherlands |