2 %define _subclass Holidays_Norway
4 %define _pearname Date_Holidays_Norway
5 Summary: %{_pearname} - Driver based class to calculate holidays in Norway
6 Summary(pl.UTF-8): %{_pearname} - klasa do obliczania świąt norweskich
7 Name: php-pear-%{_pearname}
11 Group: Development/Languages/PHP
12 Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
13 # Source0-md5: c738a117733fe3e05c5db91430934d56
14 Patch0: %{name}-paths.patch
15 URL: http://pear.php.net/package/Date_Holidays_Norway/
16 BuildRequires: php-pear-PEAR
17 BuildRequires: php-pear-PEAR >= 1:1.4.0-0.b1
18 BuildRequires: rpm-php-pearprov >= 4.4.2-11
19 BuildRequires: rpmbuild(macros) >= 1.300
21 Requires: php-pear-Date_Holidays >= 0.21.1
22 Obsoletes: php-pear-Date_Holidays_Norway-tests
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 Date_Holidays helps you calculate the dates and titles of holidays and
28 other special celebrations. This is the driver for calculating
31 In PEAR status of this package is: %{_status}.
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 norweskich.
37 Ta klasa ma w PEAR status: %{_status}.
44 rm -rf $RPM_BUILD_ROOT
45 install -d $RPM_BUILD_ROOT%{php_pear_dir}
49 rm -rf $RPM_BUILD_ROOT
52 %defattr(644,root,root,755)
54 %{php_pear_dir}/.registry/*.reg
55 %{php_pear_dir}/Date/Holidays/Driver/Norway.php