]> git.pld-linux.org Git - packages/php-pear-File_CSV.git/blob - php-pear-File_CSV.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/php-pear-File_CSV.git] / php-pear-File_CSV.spec
1 %define         status          alpha
2 %define         pearname        File_CSV
3 Summary:        %{pearname} - Read and write of CSV files
4 Name:           php-pear-%{pearname}
5 Version:        1.0.0
6 Release:        2
7 License:        New BSD
8 Group:          Development/Languages/PHP
9 Source0:        http://pear.php.net/get/%{pearname}-%{version}.tgz
10 # Source0-md5:  a3899032d51cee860a2008e8b294c885
11 URL:            http://pear.php.net/package/File_CSV/
12 BuildRequires:  php-pear-PEAR >= 1:1.7.0
13 BuildRequires:  rpm-php-pearprov >= 4.4.2-11
14 BuildRequires:  rpmbuild(macros) >= 1.580
15 Requires:       php(pcre)
16 Requires:       php-pear
17 Requires:       php-pear-File >= 1.4.0-0.alpha1
18 Requires:       php-pear-PEAR-core >= 1:1.7.0
19 BuildArch:      noarch
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 Read and write of CSV files as well as discovering the format the CSV
24 file is in.
25
26 Supports headers and is excel compatible, i.e. ="0004" outputs as 0004
27 (only read wise)
28
29 For more information on CSV: <http://rfc.net/rfc4180.html>
30
31 In PEAR status of this package is: %{status}.
32
33 %prep
34 %pear_package_setup
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38 install -d $RPM_BUILD_ROOT%{php_pear_dir}
39 %pear_package_install
40
41 %clean
42 rm -rf $RPM_BUILD_ROOT
43
44 %files
45 %defattr(644,root,root,755)
46 %doc install.log
47 %doc docs/File_CSV/FILE_CSV_LICENSE
48 %{php_pear_dir}/.registry/*.reg
49 %{php_pear_dir}/File/CSV.php
This page took 0.184603 seconds and 3 git commands to generate.