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