]> git.pld-linux.org Git - packages/php-pear-File_CSV.git/commitdiff
- new auto/th/php-pear-File_CSV-1_0_0-0_alpha1_1
authorElan Ruusamäe <glen@pld-linux.org>
Fri, 20 Aug 2010 17:51:11 +0000 (17:51 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    php-pear-File_CSV.spec -> 1.1

php-pear-File_CSV.spec [new file with mode: 0644]

diff --git a/php-pear-File_CSV.spec b/php-pear-File_CSV.spec
new file mode 100644 (file)
index 0000000..1142e67
--- /dev/null
@@ -0,0 +1,53 @@
+%include       /usr/lib/rpm/macros.php
+%define                _status         alpha
+%define                _pearname       File_CSV
+%define                subver  alpha1
+%define                rel             1
+Summary:       %{_pearname} - Read and write of CSV files
+Name:          php-pear-%{_pearname}
+Version:       1.0.0
+Release:       0.%{subver}.%{rel}
+License:       New BSD
+Group:         Development/Languages/PHP
+Source0:       http://pear.php.net/get/%{_pearname}-%{version}%{subver}.tgz
+# Source0-md5: a941ef2ec81cfc47a8f6d9290cb9d0af
+URL:           http://pear.php.net/package/File_CSV/
+BuildRequires: php-pear-PEAR
+BuildRequires: rpm-php-pearprov >= 4.4.2-11
+Requires:      php-pear
+Requires:      php-pear-File >= 1.4.0-0.alpha1
+Requires:      php-pear-PEAR-core >= 1.7.0
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Read and write of CSV files as well as discovering the format the CSV
+file is in.
+
+Supports headers and is excel compatible, i.e. ="0004" outputs as 0004
+(only read wise)
+
+For more information on CSV: <http://rfc.net/rfc4180.html>
+
+In PEAR status of this package is: %{_status}.
+
+%prep
+%pear_package_setup
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{php_pear_dir}
+%pear_package_install
+
+# don't care for tests
+rm -rf $RPM_BUILD_ROOT%{php_pear_dir}/tests/%{_pearname}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc install.log
+%doc docs/File_CSV/FILE_CSV_LICENSE
+%{php_pear_dir}/.registry/*.reg
+%{php_pear_dir}/File/CSV.php
This page took 0.050192 seconds and 4 git commands to generate.