]>
Commit | Line | Data |
---|---|---|
56e7fc2e AG |
1 | %define _class Date |
2 | %define _subclass Holidays_Brazil | |
3 | %define _status alpha | |
4 | %define _pearname Date_Holidays_Brazil | |
5 | Summary: %{_pearname} - Driver based class to calculate holidays in Brazil | |
6 | Summary(pl.UTF-8): %{_pearname} - klasa do obliczania świąt brazylijskich | |
7 | Name: php-pear-%{_pearname} | |
81cdebd1 | 8 | Version: 0.1.2 |
fab62ebf | 9 | Release: 3 |
56e7fc2e AG |
10 | License: PHP License |
11 | Group: Development/Languages/PHP | |
12 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz | |
81cdebd1 | 13 | # Source0-md5: 057a53a7d12cc7de9609d8bcc0a8c6f5 |
56e7fc2e | 14 | URL: http://pear.php.net/package/Date_Holidays_Brazil/ |
13050aaa | 15 | BuildRequires: php-pear-PEAR >= 1:1.4.0-0.b1 |
56e7fc2e | 16 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 |
16898d2a | 17 | BuildRequires: rpmbuild(macros) >= 1.300 |
56e7fc2e AG |
18 | Requires: php-pear |
19 | Requires: php-pear-Date_Holidays >= 0.18.0 | |
566a4908 | 20 | Obsoletes: php-pear-Date_Holidays_Brazil-tests |
56e7fc2e 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 Brazil. | |
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 | |
34 | brazylijskich. | |
35 | ||
36 | Ta klasa ma w PEAR status: %{_status}. | |
37 | ||
38 | %prep | |
39 | %pear_package_setup | |
40 | ||
41 | %install | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | install -d $RPM_BUILD_ROOT%{php_pear_dir} | |
44 | %pear_package_install | |
45 | ||
46 | %clean | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | ||
49 | %files | |
50 | %defattr(644,root,root,755) | |
51 | %doc install.log | |
52 | %{php_pear_dir}/.registry/*.reg | |
53 | %{php_pear_dir}/Date/Holidays/Driver/Brazil.php |