]> git.pld-linux.org Git - packages/php-pear-File.git/blob - php-pear-File.spec
- use virtual php extension deps (to be independant of php version)
[packages/php-pear-File.git] / php-pear-File.spec
1 %define         status          alpha
2 %define         pearname        File
3 %include        /usr/lib/rpm/macros.php
4 Summary:        %{pearname} - Common file and directory routines
5 Summary(pl.UTF-8):      %{pearname} - Podstawowe sposoby operacji na plikach i katalogach
6 Name:           php-pear-%{pearname}
7 Version:        1.4.0
8 Release:        2
9 License:        PHP
10 Group:          Development/Languages/PHP
11 Source0:        http://pear.php.net/get/%{pearname}-%{version}.tgz
12 # Source0-md5:  a14a44b2492deecc09dff0fef69c796a
13 URL:            http://pear.php.net/package/File/
14 BuildRequires:  php-packagexml2cl
15 BuildRequires:  php-pear-PEAR >= 1:1.6.0
16 BuildRequires:  rpm-php-pearprov >= 4.4.2-11
17 BuildRequires:  rpmbuild(macros) >= 1.573
18 Requires:       php(pcre)
19 Requires:       php-common >= 3:4.2.0
20 Requires:       php-pear
21 Requires:       php-pear-File_CSV
22 Requires:       php-pear-File_Util
23 Requires:       php-pear-PEAR-core >= 1:1.5.3
24 Obsoletes:      php-pear-File-tests
25 BuildArch:      noarch
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %description
29 Provides easy access to read/write to files along with some common
30 routines to deal with paths. Also provides interface for handling CSV
31 files.
32
33 In PEAR status of this package is: %{status}.
34
35 %description -l pl.UTF-8
36 Dostarcza prosty dostęp do zapisu/odczytu plików razem z prostymi
37 metodami operacji na ścieżkach. Dostarcza także interfejsu do plików
38 CSV.
39
40 Ta klasa ma w PEAR status: %{status}.
41
42 %prep
43 %pear_package_setup
44
45 %build
46 packagexml2cl package.xml > ChangeLog
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50 install -d $RPM_BUILD_ROOT%{php_pear_dir}
51 %pear_package_install
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %files
57 %defattr(644,root,root,755)
58 %doc ChangeLog install.log
59 %{php_pear_dir}/.registry/*.reg
60 %{php_pear_dir}/File.php
This page took 0.062197 seconds and 4 git commands to generate.