]> git.pld-linux.org Git - packages/php-pear-Date_Holidays_Norway.git/blame - php-pear-Date_Holidays_Norway.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/php-pear-Date_Holidays_Norway.git] / php-pear-Date_Holidays_Norway.spec
CommitLineData
915625b1
AG
1%define _class Date
2%define _subclass Holidays_Norway
3%define _status alpha
4%define _pearname Date_Holidays_Norway
5Summary: %{_pearname} - Driver based class to calculate holidays in Norway
6Summary(pl.UTF-8): %{_pearname} - klasa do obliczania świąt norweskich
7Name: php-pear-%{_pearname}
5e759161 8Version: 0.1.2
4b64e043 9Release: 3
915625b1
AG
10License: PHP License
11Group: Development/Languages/PHP
12Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
5e759161 13# Source0-md5: c738a117733fe3e05c5db91430934d56
915625b1
AG
14Patch0: %{name}-paths.patch
15URL: http://pear.php.net/package/Date_Holidays_Norway/
16BuildRequires: php-pear-PEAR
cac4c80b 17BuildRequires: php-pear-PEAR >= 1:1.4.0-0.b1
915625b1 18BuildRequires: rpm-php-pearprov >= 4.4.2-11
45f187ba 19BuildRequires: rpmbuild(macros) >= 1.300
915625b1 20Requires: php-pear
cac4c80b 21Requires: php-pear-Date_Holidays >= 0.21.1
072a7e30 22Obsoletes: php-pear-Date_Holidays_Norway-tests
915625b1
AG
23BuildArch: noarch
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%description
27Date_Holidays helps you calculate the dates and titles of holidays and
28other special celebrations. This is the driver for calculating
29holidays in Norway.
30
31In PEAR status of this package is: %{_status}.
32
33%description -l pl.UTF-8
34Date_Holidays pozwala na obliczenie dat oraz tytułów świąt oraz
35specjalnych okazji. Klasa ta pozwala na wyliczenie świąt norweskich.
36
37Ta klasa ma w PEAR status: %{_status}.
38
39%prep
40%pear_package_setup
41%patch0 -p1
42
43%install
44rm -rf $RPM_BUILD_ROOT
45install -d $RPM_BUILD_ROOT%{php_pear_dir}
46%pear_package_install
47
48%clean
49rm -rf $RPM_BUILD_ROOT
50
51%files
52%defattr(644,root,root,755)
53%doc install.log
54%{php_pear_dir}/.registry/*.reg
55%{php_pear_dir}/Date/Holidays/Driver/Norway.php
This page took 0.139737 seconds and 4 git commands to generate.