]>
Commit | Line | Data |
---|---|---|
c191bba8 | 1 | %define _status beta |
a819627f AG |
2 | %define _pearname Date_Holidays_UNO |
3 | Summary: %{_pearname} - Driver based class to calculate holidays in UNO | |
4 | Summary(pl.UTF-8): %{_pearname} - klasa do obliczania dat świąt ONZ | |
5 | Name: php-pear-%{_pearname} | |
7a7cf5d8 | 6 | Version: 0.1.3 |
e1c8266d | 7 | Release: 3 |
a819627f AG |
8 | License: PHP License |
9 | Group: Development/Languages/PHP | |
10 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz | |
7a7cf5d8 | 11 | # Source0-md5: 30e0e9f0902c1c2b2c9e20e9226389ae |
a819627f | 12 | URL: http://pear.php.net/package/Date_Holidays_UNO/ |
c191bba8 | 13 | BuildRequires: php-pear-PEAR >= 1:1.4.0-0.b1 |
a819627f | 14 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 |
feedee31 | 15 | BuildRequires: rpmbuild(macros) >= 1.300 |
a819627f | 16 | Requires: php-pear |
c191bba8 | 17 | Requires: php-pear-Date_Holidays >= 0.21.1 |
0047d835 | 18 | Obsoletes: php-pear-Date_Holidays_UNO-tests |
a819627f 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 UNO | |
25 | holidays. | |
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 ONZ. | |
32 | ||
33 | Ta klasa ma w PEAR status: %{_status}. | |
34 | ||
a819627f AG |
35 | %prep |
36 | %pear_package_setup | |
37 | ||
38 | %install | |
39 | rm -rf $RPM_BUILD_ROOT | |
40 | install -d $RPM_BUILD_ROOT%{php_pear_dir} | |
41 | %pear_package_install | |
42 | ||
43 | %clean | |
44 | rm -rf $RPM_BUILD_ROOT | |
45 | ||
46 | %files | |
47 | %defattr(644,root,root,755) | |
48 | %doc install.log | |
49 | %{php_pear_dir}/.registry/*.reg | |
50 | %{php_pear_dir}/Date/Holidays/Driver/UNO.php | |
51 | %{php_pear_dir}/data/Date_Holidays_UNO |