1 |
slords |
1.1 |
Summary: PEAR Log package for PHP |
2 |
|
|
%define name pear-log |
3 |
|
|
%define version 1.8.7 |
4 |
|
|
%define release 2 |
5 |
|
|
Name: %{name} |
6 |
|
|
Version: %{version} |
7 |
|
|
Release: %{release}%{?dist} |
8 |
|
|
License: PHP License |
9 |
|
|
Group: Applications/Web |
10 |
|
|
Source0: Log-%{version}.tgz |
11 |
|
|
Url: http://pear.php.net/package/Log |
12 |
|
|
BuildRoot: /var/tmp/pear-log-%{version}-buildroot |
13 |
|
|
BuildArchitectures: noarch |
14 |
|
|
Requires: php |
15 |
|
|
|
16 |
|
|
%description |
17 |
|
|
The Log framework provides an abstracted logging system. It supports logging |
18 |
|
|
to console, file, syslog, SQL, Sqlite, mail and mcal targets. It also provides |
19 |
|
|
a subject - observer mechanism. |
20 |
|
|
|
21 |
|
|
%prep |
22 |
|
|
%setup -q -c -n %{name}-%{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 |
32 |
|
|
cd Log-%{version} |
33 |
|
|
cp -rp Log* $RPM_BUILD_ROOT/usr/share/pear-addons |
34 |
|
|
|
35 |
|
|
%files |
36 |
|
|
%defattr(-,root,root) |
37 |
|
|
%doc Log-%{version}/docs |
38 |
|
|
%dir /usr/share/pear-addons |
39 |
|
|
%dir /usr/share/pear-addons/Log |
40 |
|
|
/usr/share/pear-addons/Log* |
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 |
|
|
* Thu Apr 21 2005 Charlie Brady <charlieb@e-smith.com> 1.8.7-01es01 |
51 |
|
|
- Update to version 1.8.7. |
52 |
|
|
- Various build fixes to build directly from upstream tarball. |
53 |
|
|
- Move to /usr/share/pear-addons directory, to distinguish from php |
54 |
|
|
rpm bundled modules. |
55 |
|
|
|
56 |
|
|
* Tue Mar 08 2005 Charlie Brady <charlieb@e-smith.com> 1.8.4-01es02 |
57 |
|
|
- Remove specific version in php dependency |
58 |
|
|
- Change filelist to be more specific |
59 |
|
|
|
60 |
|
|
* Tue Aug 3 2004 Michael Soulier <michael_soulier@mitel.com> |
61 |
|
|
- [1.8.4-01es01] |
62 |
|
|
- Initial packaging. |