Name: httpdtap Version: 0.2 Release: 1%{?dist} Summary: Tool for querying httpd using SystemTap scripts License: ASL 2.0 URL: https://github.com/hanzz/httpdtap Source0: https://github.com/hanzz/httpdtap/archive/v%{version}.tar.gz BuildArch: noarch BuildRequires: python2-devel Requires: systemtap-client # SystemTap requires debuginfo information Requires: kernel-debuginfo Requires: httpd-debuginfo Requires: apr-util-debuginfo Requires: apr-debuginfo %description HttpdTap is collection of useful SystemTap scripts to query running httpd server to get information like files accessed during a request, time needed to dispatch a request, the list of requests slower than N milliseconds or the list of requests sent from particular IP address. Thanks to SystemTap the performance penalty is very low and therefore the HttpdTap can be used even on production systems. %prep %setup -q # Remove shebang from .stp scripts, because they are executed only using # httpdtap in Fedora sed -i -e '/^#! \//, 1d' scripts-22/*.stp sed -i -e '/^#! \//, 1d' scripts-24/*.stp %build %{__python} setup.py build %install %{__python} setup.py install --skip-build --root %{buildroot} %files %doc README.md LICENSE %{_datadir}/httpdtap %{_bindir}/httpdtap %{python_sitelib}/* %{_mandir}/man8/*.8* %changelog * Tue Sep 10 2013 Jan Kaluza - 0.2-1 - update to version 0.2 - remove shebang from .stp scripts * Wed Aug 28 2013 Jan Kaluza - 0.1-1 - Initial Fedora packaging