2 %define pearname File_CSV
3 %include /usr/lib/rpm/macros.php
4 Summary: %{pearname} - Read and write of CSV files
5 Name: php-pear-%{pearname}
9 Group: Development/Languages/PHP
10 Source0: http://pear.php.net/get/%{pearname}-%{version}.tgz
11 # Source0-md5: a3899032d51cee860a2008e8b294c885
12 URL: http://pear.php.net/package/File_CSV/
13 BuildRequires: php-pear-PEAR >= 1:1.7.0
14 BuildRequires: rpm-php-pearprov >= 4.4.2-11
15 BuildRequires: rpmbuild(macros) >= 1.580
18 Requires: php-pear-File >= 1.4.0-0.alpha1
19 Requires: php-pear-PEAR-core >= 1:1.7.0
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 Read and write of CSV files as well as discovering the format the CSV
27 Supports headers and is excel compatible, i.e. ="0004" outputs as 0004
30 For more information on CSV: <http://rfc.net/rfc4180.html>
32 In PEAR status of this package is: %{status}.
38 rm -rf $RPM_BUILD_ROOT
39 install -d $RPM_BUILD_ROOT%{php_pear_dir}
43 rm -rf $RPM_BUILD_ROOT
46 %defattr(644,root,root,755)
48 %doc docs/File_CSV/FILE_CSV_LICENSE
49 %{php_pear_dir}/.registry/*.reg
50 %{php_pear_dir}/File/CSV.php