|
|
e3c8ded |
Summary: A syslog data viewer for the web
|
|
|
e3c8ded |
Name: phplogcon
|
|
|
e3c8ded |
Version: 2.1.6
|
|
|
e3c8ded |
Release: 3.beta%{?dist}
|
|
|
e3c8ded |
License: GPLv3+
|
|
|
e3c8ded |
Group: Applications/Internet
|
|
|
e3c8ded |
URL: http://www.phplogcon.com/
|
|
|
e3c8ded |
Source0: http://download.adiscon.com/phplogcon/%{name}-%{version}.tar.gz
|
|
|
e3c8ded |
Source1: README.fedora
|
|
|
e3c8ded |
Source2: phplogcon-httpd.conf
|
|
|
e3c8ded |
Requires: php php-gd webserver
|
|
|
e3c8ded |
BuildArch: noarch
|
|
|
e3c8ded |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
e3c8ded |
|
|
|
e3c8ded |
%description
|
|
|
e3c8ded |
phpLogCon is a web interface to syslog and other network event data. It
|
|
|
e3c8ded |
provides easy browsing and some basic analysis of realtime network events.
|
|
|
e3c8ded |
Depending on the applications feeding the database, it can process syslog
|
|
|
e3c8ded |
messages, Windows event log entries and even SNMP trap data - just to name a
|
|
|
e3c8ded |
few.
|
|
|
e3c8ded |
|
|
|
e3c8ded |
%prep
|
|
|
e3c8ded |
|
|
|
e3c8ded |
%setup -q -n %{name}-%{version}
|
|
|
e3c8ded |
|
|
|
e3c8ded |
%build
|
|
|
e3c8ded |
|
|
|
e3c8ded |
%install
|
|
|
e3c8ded |
rm -rf %{buildroot}
|
|
|
e3c8ded |
|
|
|
e3c8ded |
install -d -m 755 %{buildroot}%{_sysconfdir}/%{name}
|
|
|
e3c8ded |
install -d -m 755 %{buildroot}/%{_datadir}/%{name}
|
|
|
e3c8ded |
cp -aRf src/* %{buildroot}/%{_datadir}/%{name}/
|
|
|
e3c8ded |
|
|
|
e3c8ded |
touch %{buildroot}%{_sysconfdir}/%{name}/config.php
|
|
|
e3c8ded |
ln -s ../../../%{_sysconfdir}/%{name}/config.php %{buildroot}/%{_datadir}/%{name}/config.php
|
|
|
e3c8ded |
|
|
|
e3c8ded |
install -d -m 755 %{buildroot}%{_sysconfdir}/httpd/conf.d
|
|
|
e3c8ded |
cp %{SOURCE2} %{buildroot}%{_sysconfdir}/httpd/conf.d/%{name}.conf
|
|
|
e3c8ded |
cp %{SOURCE1} ./
|
|
|
e3c8ded |
|
|
|
e3c8ded |
%clean
|
|
|
e3c8ded |
rm -rf %{buildroot}
|
|
|
e3c8ded |
|
|
|
e3c8ded |
%files
|
|
|
e3c8ded |
%defattr(0644,root,root,0755)
|
|
|
e3c8ded |
%doc COPYING INSTALL ChangeLog README.fedora
|
|
|
e3c8ded |
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/httpd/conf.d/%{name}.conf
|
|
|
e3c8ded |
%attr(0755,root,apache) %dir %{_sysconfdir}/%{name}
|
|
|
e3c8ded |
%attr(0664,root,apache) %config(noreplace) %{_sysconfdir}/%{name}/config.php
|
|
|
e3c8ded |
%{_datadir}/%{name}
|
|
|
e3c8ded |
|
|
|
e3c8ded |
|
|
|
e3c8ded |
%changelog
|
|
|
e3c8ded |
* Fri May 23 2008 Peter Vrabec <pvrabec@redhat.com> 2.1.6-3.beta
|
|
|
e3c8ded |
- package improvements (#444722)
|
|
|
e3c8ded |
|
|
|
e3c8ded |
* Thu May 22 2008 Peter Vrabec <pvrabec@redhat.com> 2.1.6-2.beta
|
|
|
e3c8ded |
- package improvements (#444722)
|
|
|
e3c8ded |
|
|
|
e3c8ded |
* Mon May 19 2008 Peter Vrabec <pvrabec@redhat.com> 2.1.6-1.beta
|
|
|
e3c8ded |
- package improvements (#444722)
|
|
|
e3c8ded |
|
|
|
e3c8ded |
* Mon May 05 2008 Peter Vrabec <pvrabec@redhat.com> 2.3.1-1
|
|
|
e3c8ded |
- package improvements (#444722)
|
|
|
e3c8ded |
|
|
|
e3c8ded |
* Mon Apr 21 2008 Peter Vrabec <pvrabec@redhat.com> 2.1.3-1
|
|
|
e3c8ded |
- initial fedora package
|
|
|
e3c8ded |
|