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