2 %define _subclass Holidays_Japan
4 %define _pearname Date_Holidays_Japan
5 Summary: %{_pearname} - Driver based class to calculate holidays in Japan
6 Summary(pl.UTF-8): %{_pearname} - klasa to obliczania dat świąt japońskich
7 Name: php-pear-%{_pearname}
11 Group: Development/Languages/PHP
12 Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
13 # Source0-md5: 78357f611651caff4ca0b3d135cd0b53
14 URL: http://pear.php.net/package/Date_Holidays_Japan/
15 BuildRequires: php-pear-PEAR >= 1:1.4.0-0.b1
16 BuildRequires: rpm-php-pearprov >= 4.4.2-11
17 BuildRequires: rpmbuild(macros) >= 1.300
19 Requires: php-pear-Date_Holidays >= 0.20.1
20 Requires: php-pear-PEAR-core >= 1:1.4.0b1
21 Obsoletes: php-pear-Date_Holidays_Japan-tests
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 Date_Holidays helps you calculate the dates and titles of holidays and
27 other special celebrations. This is the driver for calculating
30 In PEAR status of this package is: %{_status}.
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 japońskich.
36 Ta klasa ma w PEAR status: %{_status}.
42 rm -rf $RPM_BUILD_ROOT
43 install -d $RPM_BUILD_ROOT%{php_pear_dir}
47 rm -rf $RPM_BUILD_ROOT
50 %defattr(644,root,root,755)
52 %{php_pear_dir}/.registry/*.reg
53 %{php_pear_dir}/Date/Holidays/Driver/Japan.php
54 %{php_pear_dir}/data/Date_Holidays_Japan