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