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