]>
Commit | Line | Data |
---|---|---|
cc6fda62 AG |
1 | %include /usr/lib/rpm/macros.php |
2 | %define _class Date | |
3 | %define _subclass Holidays_Iceland | |
4 | %define _status alpha | |
5 | %define _pearname Date_Holidays_Iceland | |
6 | Summary: %{_pearname} - Driver based class to calculate holidays in Iceland | |
7 | Summary(pl.UTF-8): %{_pearname} - klasa do obliczania dat świąt islandzkich | |
8 | Name: php-pear-%{_pearname} | |
3a5a2773 | 9 | Version: 0.1.2 |
83aaea40 | 10 | Release: 2 |
cc6fda62 AG |
11 | License: PHP License |
12 | Group: Development/Languages/PHP | |
13 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz | |
3a5a2773 | 14 | # Source0-md5: eb7ef09008f8d65452fcdc97eda5c612 |
cc6fda62 | 15 | URL: http://pear.php.net/package/Date_Holidays_Iceland/ |
83aaea40 | 16 | BuildRequires: php-pear-PEAR >= 1:1.4.0-0.b1 |
cc6fda62 AG |
17 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 |
18 | Requires: php-pear | |
83aaea40 | 19 | Requires: php-pear-Date_Holidays >= 0.21.1 |
cc6fda62 AG |
20 | BuildArch: noarch |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
22 | ||
23 | %description | |
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 Iceland. | |
27 | ||
28 | In PEAR status of this package is: %{_status}. | |
29 | ||
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 islandzkich. | |
33 | ||
34 | Ta klasa ma w PEAR status: %{_status}. | |
35 | ||
36 | %package tests | |
37 | Summary: Tests for PEAR::%{_pearname} | |
38 | Summary(pl.UTF-8): Testy dla PEAR::%{_pearname} | |
39 | Group: Development/Languages/PHP | |
cc6fda62 AG |
40 | Requires: %{name} = %{version}-%{release} |
41 | AutoProv: no | |
3a5a2773 | 42 | AutoReq: no |
cc6fda62 AG |
43 | |
44 | %description tests | |
45 | Tests for PEAR::%{_pearname}. | |
46 | ||
47 | %description tests -l pl.UTF-8 | |
48 | Testy dla PEAR::%{_pearname}. | |
49 | ||
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/Iceland.php | |
66 | ||
67 | %files tests | |
68 | %defattr(644,root,root,755) | |
69 | %{php_pear_dir}/tests/Date_Holidays_Iceland |