]> git.pld-linux.org Git - packages/php-pear-Date_Holidays_USA.git/blob - php-pear-Date_Holidays_USA.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/php-pear-Date_Holidays_USA.git] / php-pear-Date_Holidays_USA.spec
1 %define         _status         alpha
2 %define         _pearname       Date_Holidays_USA
3 Summary:        %{_pearname} - Driver based class to calculate holidays in USA
4 Summary(pl.UTF-8):      %{_pearname} - klasa do obliczania dat świąt w USA
5 Name:           php-pear-%{_pearname}
6 Version:        0.1.1
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:  ab855257d1d3b7c1029aded96c39e4f2
12 URL:            http://pear.php.net/package/Date_Holidays_USA/
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.18.0
18 Obsoletes:      php-pear-Date_Holidays_USA-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
25 holidays in USA.
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 w USA.
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/USA.php
51 %{php_pear_dir}/data/Date_Holidays_USA
This page took 0.0694 seconds and 4 git commands to generate.