]> git.pld-linux.org Git - packages/php-pear-File.git/blob - php-pear-File.spec
- BR php-pear-PEAR
[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:  php-pear-PEAR
16 BuildRequires:  rpm-php-pearprov >= 4.4.2-11
17 Requires:       php-common >= 3:4.2.0
18 Requires:       php-pear
19 Requires:       php-pear-PEAR-core
20 Requires:       php-pcre
21 BuildArch:      noarch
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 Provides easy access to read/write to files along with some common
26 routines to deal with paths. Also provides interface for handling CSV
27 files.
28
29 In PEAR status of this package is: %{_status}.
30
31 %description -l pl
32 Dostarcza prosty dostêp do zapisu/odczytu plików razem z prostymi
33 metodami operacji na ¶cie¿kach. Dostarcza tak¿e interfejsu do plików
34 CSV.
35
36 Ta klasa ma w PEAR status: %{_status}.
37
38 %package tests
39 Summary:        Tests for PEAR::%{_pearname}
40 Summary(pl):    Testy dla PEAR::%{_pearname}
41 Group:          Development/Languages/PHP
42 Requires:       %{name} = %{version}-%{release}
43 AutoReq:        no
44
45 %description tests
46 Tests for PEAR::%{_pearname}.
47
48 %description tests -l pl
49 Testy dla PEAR::%{_pearname}.
50
51 %prep
52 %pear_package_setup
53
54 %install
55 rm -rf $RPM_BUILD_ROOT
56 install -d $RPM_BUILD_ROOT%{php_pear_dir}
57 %pear_package_install
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62 %files
63 %defattr(644,root,root,755)
64 %doc install.log
65 %{php_pear_dir}/.registry/*.reg
66 %{php_pear_dir}/*.php
67 %{php_pear_dir}/%{_class}
68
69 %files tests
70 %defattr(644,root,root,755)
71 %{php_pear_dir}/tests/*
This page took 0.057141 seconds and 4 git commands to generate.