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