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