1 |
Summary: PEAR Common file and directory routines |
2 |
%define name pear-file |
3 |
%define version 1.2.0 |
4 |
%define release 4 |
5 |
Name: %{name} |
6 |
Version: %{version} |
7 |
Release: %{release}%{?dist} |
8 |
License: PHP License |
9 |
Group: Applications/Web |
10 |
Source0: File-%{version}.tgz |
11 |
Url: http://pear.php.net/package/File |
12 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-%(id -u -n)-buildroot |
13 |
BuildArchitectures: noarch |
14 |
Requires: php |
15 |
|
16 |
%description |
17 |
Provides easy access to read/write to files along with |
18 |
some common routines to deal with paths. Also provides |
19 |
interface for handling CSV files. |
20 |
|
21 |
%prep |
22 |
%setup -q -n File-%{version} |
23 |
|
24 |
%build |
25 |
|
26 |
%clean |
27 |
rm -rf $RPM_BUILD_ROOT |
28 |
|
29 |
%install |
30 |
rm -rf $RPM_BUILD_ROOT |
31 |
mkdir -p $RPM_BUILD_ROOT/usr/share/pear-addons/File |
32 |
mkdir -p $RPM_BUILD_ROOT/usr/share/pear-addons/test/File |
33 |
cp -rp File* $RPM_BUILD_ROOT/usr/share/pear-addons/ |
34 |
cp -rp tests $RPM_BUILD_ROOT/usr/share/pear-addons/test/File |
35 |
|
36 |
%files |
37 |
%defattr(-,root,root) |
38 |
%dir /usr/share/pear-addons |
39 |
%dir /usr/share/pear-addons/File |
40 |
/usr/share/pear-addons/* |
41 |
|
42 |
%changelog |
43 |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
44 |
- Clean up spec so package can be built by koji/plague |
45 |
|
46 |
* Thu Dec 07 2006 Shad L. Lords <slords@mail.com> |
47 |
- Update to new release naming. No functional changes. |
48 |
- Make Packager generic |
49 |
|
50 |
* Mon May 09 2005 Charlie Brady <charlieb@e-smith.com> 1.2.0-03es |
51 |
- Move files into correct places. |
52 |
|
53 |
* Wed May 04 2005 Charlie Brady <charlieb@e-smith.com> 1.2.0-02es |
54 |
- Fix URL header. |
55 |
|
56 |
* Thu Apr 21 2005 Charlie Brady <charlieb@e-smith.com> 1.2.0-01es |
57 |
- Initial |