rpms/wtop/F-12 wtop.spec,NONE,1.1 sources,1.1,1.2

Kushal Das kushal at fedoraproject.org
Fri Nov 27 11:33:00 UTC 2009


Author: kushal

Update of /cvs/extras/rpms/wtop/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv14508

Modified Files:
	sources 
Added Files:
	wtop.spec 
Log Message:
Importing for the first time in F-12


--- NEW FILE wtop.spec ---
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}

Name:           wtop
Version:        0.6.1
Release:        2%{?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
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




%changelog
* Fri Nov 27 2009 Kushal Das <kushal at fedoraproject.org> 0.6.1-2
- adding sed command in prep section

* Fri Oct 30 2009 Kushal Das <kushal at fedoraproject.org> 0.6.1-1
- Initial release


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/wtop/F-12/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	20 Nov 2009 01:06:44 -0000	1.1
+++ sources	27 Nov 2009 11:33:00 -0000	1.2
@@ -0,0 +1 @@
+cfaee42760c2b2661d2b60008f3719ba  wtop-0.6.1.tar.gz




More information about the fedora-extras-commits mailing list