]> git.pld-linux.org Git - packages/php-pear-File.git/blob - php-pear-File.spec
- AutoReq: no for -tests
[packages/php-pear-File.git] / php-pear-File.spec
1 %include        /usr/lib/rpm/macros.php
2 %define         _class          File
3 %define         _status         stable
4 %define         _pearname       %{_class}
5 Summary:        %{_pearname} - Common file and directory routines
6 Summary(pl):    %{_pearname} - Podstawowe sposoby operacji na plikach i katalogach
7 Name:           php-pear-%{_pearname}
8 Version:        1.2.2
9 Release:        5
10 License:        PHP
11 Group:          Development/Languages/PHP
12 Source0:        http://pear.php.net/get/%{_pearname}-%{version}.tgz
13 # Source0-md5:  ba8f020b70fb6a37c6258e0e42033aad
14 URL:            http://pear.php.net/package/File/
15 BuildRequires:  rpm-php-pearprov >= 4.4.2-11
16 Requires:       php-common >= 3:4.2.0
17 Requires:       php-pear
18 Requires:       php-pear-PEAR-core
19 Requires:       php-pcre
20 BuildArch:      noarch
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 Provides easy access to read/write to files along with some common
25 routines to deal with paths. Also provides interface for handling CSV
26 files.
27
28 In PEAR status of this package is: %{_status}.
29
30 %description -l pl
31 Dostarcza prosty dostêp do zapisu/odczytu plików razem z prostymi
32 metodami operacji na ¶cie¿kach. Dostarcza tak¿e interfejsu do plików
33 CSV.
34
35 Ta klasa ma w PEAR status: %{_status}.
36
37 %package tests
38 Summary:        Tests for PEAR::%{_pearname}
39 Summary(pl):    Testy dla PEAR::%{_pearname}
40 Group:          Development
41 Requires:       %{name} = %{version}-%{release}
42 AutoReq:        no
43
44 %description tests
45 Tests for PEAR::%{_pearname}.
46
47 %description tests -l pl
48 Testy dla PEAR::%{_pearname}.
49
50 %prep
51 %pear_package_setup
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55 install -d $RPM_BUILD_ROOT%{php_pear_dir}
56 %pear_package_install
57
58 %clean
59 rm -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}/*.php
66 %{php_pear_dir}/%{_class}
67
68 %files tests
69 %defattr(644,root,root,755)
70 %{php_pear_dir}/tests/*
This page took 0.054306 seconds and 4 git commands to generate.