]>
Commit | Line | Data |
---|---|---|
6003f5ca | 1 | %include /usr/lib/rpm/macros.php |
6003f5ca AG |
2 | %define _status alpha |
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} | |
db897dbe | 7 | Version: 0.1.2 |
49432679 | 8 | Release: 2 |
6003f5ca AG |
9 | License: PHP License |
10 | Group: Development/Languages/PHP | |
11 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz | |
db897dbe | 12 | # Source0-md5: 94db8df90941c15d31a021e8657fbab6 |
6003f5ca | 13 | URL: http://pear.php.net/package/Date_Holidays_Netherlands/ |
49432679 | 14 | BuildRequires: php-pear-PEAR >= 1:1.4.0-0.b1 |
6003f5ca | 15 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 |
7cce5aa9 | 16 | BuildRequires: rpmbuild(macros) >= 1.300 |
6003f5ca | 17 | Requires: php-pear |
49432679 | 18 | Requires: php-pear-Date_Holidays >= 0.21.1 |
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 | ||
2fb1b7d0 AG |
36 | %package tests |
37 | Summary: Tests for PEAR::%{_pearname} | |
38 | Summary(pl.UTF-8): Testy dla PEAR::%{_pearname} | |
39 | Group: Development/Languages/PHP | |
40 | Requires: %{name} = %{version}-%{release} | |
2fb1b7d0 | 41 | AutoProv: no |
db897dbe | 42 | AutoReq: no |
2fb1b7d0 AG |
43 | |
44 | %description tests | |
45 | Tests for PEAR::%{_pearname}. | |
46 | ||
47 | %description tests -l pl.UTF-8 | |
48 | Testy dla PEAR::%{_pearname}. | |
49 | ||
6003f5ca AG |
50 | %prep |
51 | %pear_package_setup | |
52 | ||
53 | %install | |
54 | rm -rf $RPM_BUILD_ROOT | |
55 | install -d $RPM_BUILD_ROOT%{php_pear_dir} | |
56 | %pear_package_install | |
57 | ||
58 | %clean | |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | ||
61 | %files | |
62 | %defattr(644,root,root,755) | |
63 | %doc install.log | |
64 | %{php_pear_dir}/.registry/*.reg | |
65 | %{php_pear_dir}/Date/Holidays/Driver/Netherlands.php | |
66 | %{php_pear_dir}/Date/Holidays/Filter/Netherlands | |
2fb1b7d0 AG |
67 | |
68 | %files tests | |
69 | %defattr(644,root,root,755) | |
70 | %{php_pear_dir}/tests/Date_Holidays_Netherlands |