]> git.pld-linux.org Git - packages/php-pear-File_CSV.git/blob - php-pear-File_CSV.spec
a98451f78c9d03e6aabdee68147a90182f17fdc8
[packages/php-pear-File_CSV.git] / php-pear-File_CSV.spec
1 %define         status          alpha
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}
6 Version:        1.0.0
7 Release:        2
8 License:        New BSD
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
16 Requires:       php(pcre)
17 Requires:       php-pear
18 Requires:       php-pear-File >= 1.4.0-0.alpha1
19 Requires:       php-pear-PEAR-core >= 1:1.7.0
20 BuildArch:      noarch
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 Read and write of CSV files as well as discovering the format the CSV
25 file is in.
26
27 Supports headers and is excel compatible, i.e. ="0004" outputs as 0004
28 (only read wise)
29
30 For more information on CSV: <http://rfc.net/rfc4180.html>
31
32 In PEAR status of this package is: %{status}.
33
34 %prep
35 %pear_package_setup
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39 install -d $RPM_BUILD_ROOT%{php_pear_dir}
40 %pear_package_install
41
42 %clean
43 rm -rf $RPM_BUILD_ROOT
44
45 %files
46 %defattr(644,root,root,755)
47 %doc install.log
48 %doc docs/File_CSV/FILE_CSV_LICENSE
49 %{php_pear_dir}/.registry/*.reg
50 %{php_pear_dir}/File/CSV.php
This page took 0.084413 seconds and 2 git commands to generate.