Compare commits

..

No commits in common. "rawhide" and "f17" have entirely different histories.

4 changed files with 72 additions and 1 deletions

2
.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
wtop-0.6.1.tar.gz
/wtop-0.6.8.tar.gz

View file

@ -1 +0,0 @@
Orphaned for 6+ weeks

1
sources Normal file
View file

@ -0,0 +1 @@
502f0c80ced210951161bb3819abe9a3 wtop-0.6.8.tar.gz

69
wtop.spec Normal file
View file

@ -0,0 +1,69 @@
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
Name: wtop
Version: 0.6.8
Release: 1%{?dist}
Summary: Top for Webserver
Group: Applications/Internet
License: BSD
URL: http://code.google.com/p/wtop/
Source0: http://wtop.googlecode.com/files/%{name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python-devel, python-setuptools
Requires: python-GeoIP
%description
Wtop like "top" for your webserver.
%prep
%setup -q -c %{name}-%{version}
sed -i -e "s|#!/usr/bin/python||" logrep.py
sed -i -e "s|/var/log/apache2/|/var/log/httpd/|" wtop.cfg
%build
%{__python} setup.py build
%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --root $RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc LICENSE
%{_bindir}/wtop
%{_bindir}/logrep
%{python_sitelib}/*.egg-info
%{python_sitelib}/logrep.*
%config(noreplace) %{_sysconfdir}/wtop.cfg
%exclude %{_bindir}/*.bat
%changelog
* Sun May 20 2012 Kushal Das <kushal@fedoraproject.org> - 0.6.8-1
- New release of wtop 0.6.8
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 0.6.1-3
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
* Fri Nov 27 2009 Kushal Das <kushal@fedoraproject.org> 0.6.1-2
- adding sed command in prep section
* Fri Oct 30 2009 Kushal Das <kushal@fedoraproject.org> 0.6.1-1
- Initial release