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