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