]> git.pld-linux.org Git - packages/php-pear-Date_Holidays_Netherlands.git/blame - php-pear-Date_Holidays_Netherlands.spec
- ensure rpmbuild macros present
[packages/php-pear-Date_Holidays_Netherlands.git] / php-pear-Date_Holidays_Netherlands.spec
CommitLineData
6003f5ca 1%include /usr/lib/rpm/macros.php
6003f5ca
AG
2%define _status alpha
3%define _pearname Date_Holidays_Netherlands
4Summary: %{_pearname} - Driver based class to calculate holidays in the Netherlands
5Summary(pl.UTF-8): %{_pearname} - klasa do obliczania dat świąt holenderskich
6Name: php-pear-%{_pearname}
db897dbe 7Version: 0.1.2
49432679 8Release: 2
6003f5ca
AG
9License: PHP License
10Group: Development/Languages/PHP
11Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
db897dbe 12# Source0-md5: 94db8df90941c15d31a021e8657fbab6
6003f5ca 13URL: http://pear.php.net/package/Date_Holidays_Netherlands/
49432679 14BuildRequires: php-pear-PEAR >= 1:1.4.0-0.b1
6003f5ca 15BuildRequires: rpm-php-pearprov >= 4.4.2-11
7cce5aa9 16BuildRequires: rpmbuild(macros) >= 1.300
6003f5ca 17Requires: php-pear
49432679 18Requires: php-pear-Date_Holidays >= 0.21.1
6003f5ca
AG
19BuildArch: noarch
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
23Date_Holidays helps you calculate the dates and titles of holidays and
24other special celebrations. This is the driver for calculating
25holidays in the Netherlands.
26
27In PEAR status of this package is: %{_status}.
28
29%description -l pl.UTF-8
30Date_Holidays pozwala na obliczenie dat oraz tytułów świąt oraz
31specjalnych okazji. Klasa ta pozwala na wyliczenie świąt
32holenderskich.
33
34Ta klasa ma w PEAR status: %{_status}.
35
2fb1b7d0
AG
36%package tests
37Summary: Tests for PEAR::%{_pearname}
38Summary(pl.UTF-8): Testy dla PEAR::%{_pearname}
39Group: Development/Languages/PHP
40Requires: %{name} = %{version}-%{release}
2fb1b7d0 41AutoProv: no
db897dbe 42AutoReq: no
2fb1b7d0
AG
43
44%description tests
45Tests for PEAR::%{_pearname}.
46
47%description tests -l pl.UTF-8
48Testy dla PEAR::%{_pearname}.
49
6003f5ca
AG
50%prep
51%pear_package_setup
52
53%install
54rm -rf $RPM_BUILD_ROOT
55install -d $RPM_BUILD_ROOT%{php_pear_dir}
56%pear_package_install
57
58%clean
59rm -rf $RPM_BUILD_ROOT
60
61%files
62%defattr(644,root,root,755)
63%doc install.log
64%{php_pear_dir}/.registry/*.reg
65%{php_pear_dir}/Date/Holidays/Driver/Netherlands.php
66%{php_pear_dir}/Date/Holidays/Filter/Netherlands
2fb1b7d0
AG
67
68%files tests
69%defattr(644,root,root,755)
70%{php_pear_dir}/tests/Date_Holidays_Netherlands
This page took 0.097562 seconds and 4 git commands to generate.