]>
Commit | Line | Data |
---|---|---|
56e7fc2e AG |
1 | %include /usr/lib/rpm/macros.php |
2 | %define _class Date | |
3 | %define _subclass Holidays_Brazil | |
4 | %define _status alpha | |
5 | %define _pearname Date_Holidays_Brazil | |
6 | Summary: %{_pearname} - Driver based class to calculate holidays in Brazil | |
7 | Summary(pl.UTF-8): %{_pearname} - klasa do obliczania świąt brazylijskich | |
8 | Name: php-pear-%{_pearname} | |
81cdebd1 | 9 | Version: 0.1.2 |
13050aaa | 10 | Release: 2 |
56e7fc2e AG |
11 | License: PHP License |
12 | Group: Development/Languages/PHP | |
13 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz | |
81cdebd1 | 14 | # Source0-md5: 057a53a7d12cc7de9609d8bcc0a8c6f5 |
56e7fc2e | 15 | URL: http://pear.php.net/package/Date_Holidays_Brazil/ |
13050aaa | 16 | BuildRequires: php-pear-PEAR >= 1:1.4.0-0.b1 |
56e7fc2e | 17 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 |
16898d2a | 18 | BuildRequires: rpmbuild(macros) >= 1.300 |
56e7fc2e AG |
19 | Requires: php-pear |
20 | Requires: php-pear-Date_Holidays >= 0.18.0 | |
566a4908 | 21 | Obsoletes: php-pear-Date_Holidays_Brazil-tests |
56e7fc2e AG |
22 | BuildArch: noarch |
23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
24 | ||
25 | %description | |
26 | Date_Holidays helps you calculate the dates and titles of holidays and | |
27 | other special celebrations. This is the driver for calculating | |
28 | holidays in Brazil. | |
29 | ||
30 | In PEAR status of this package is: %{_status}. | |
31 | ||
32 | %description -l pl.UTF-8 | |
33 | Date_Holidays pozwala na obliczenie dat oraz tytułów świąt oraz | |
34 | specjalnych okazji. Klasa ta pozwala na wyliczenie świąt | |
35 | brazylijskich. | |
36 | ||
37 | Ta klasa ma w PEAR status: %{_status}. | |
38 | ||
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/Brazil.php |