2 %define pearname File_CSV
3 Summary: %{pearname} - Read and write of CSV files
4 Name: php-pear-%{pearname}
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
17 Requires: php-pear-File >= 1.4.0-0.alpha1
18 Requires: php-pear-PEAR-core >= 1:1.7.0
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 Read and write of CSV files as well as discovering the format the CSV
26 Supports headers and is excel compatible, i.e. ="0004" outputs as 0004
29 For more information on CSV: <http://rfc.net/rfc4180.html>
31 In PEAR status of this package is: %{status}.
37 rm -rf $RPM_BUILD_ROOT
38 install -d $RPM_BUILD_ROOT%{php_pear_dir}
42 rm -rf $RPM_BUILD_ROOT
45 %defattr(644,root,root,755)
47 %doc docs/File_CSV/FILE_CSV_LICENSE
48 %{php_pear_dir}/.registry/*.reg
49 %{php_pear_dir}/File/CSV.php