packages: php-pear-File_CSV/php-pear-File_CSV.spec (NEW) - new

glen glen at pld-linux.org
Fri Aug 20 19:51:16 CEST 2010


Author: glen                         Date: Fri Aug 20 17:51:16 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new

---- Files affected:
packages/php-pear-File_CSV:
   php-pear-File_CSV.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/php-pear-File_CSV/php-pear-File_CSV.spec
diff -u /dev/null packages/php-pear-File_CSV/php-pear-File_CSV.spec:1.1
--- /dev/null	Fri Aug 20 19:51:16 2010
+++ packages/php-pear-File_CSV/php-pear-File_CSV.spec	Fri Aug 20 19:51:11 2010
@@ -0,0 +1,63 @@
+# $Revision$, $Date$
+%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
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2010/08/20 17:51:11  glen
+- new
================================================================


More information about the pld-cvs-commit mailing list