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