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