%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} Name: show Version: 0.4 Release: 1%{?dist} Summary: "show" is a SQL-like interface for the command line Group: Development/Languages License: LGPLv2.1 URL: https://fedorahosted.org/show Source0: show-0.4.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: python-devel Requires: python-augeas %description show is a SQL-like interface for the command line. It can turn various types of file into tabular data, run SQL-like queries on them, then present that data in various ways. By default it displays a curses-based interface for browsing the data %prep %setup -q %build %{__python} setup.py build %install rm -rf $RPM_BUILD_ROOT %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT mv $RPM_BUILD_ROOT/%{_bindir}/show.py $RPM_BUILD_ROOT/%{_bindir}/show %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc README %{python_sitelib}/* %{_bindir}/show %changelog * Sun Mar 29 2009 David Malcolm - 0.4-1 - 0.4: - New features: - Implement backend for handling files from tcpdump/Wireshark - Add new formatting options: "text" and "table" - Promote instances of "count" to "count(*)" where possible - Support Python < 2.5 by using earlier versions of sqlite - Work around an issue seen sometimes with the RPM backend - Deal with absolute and relative paths when path-matching input filenames; only check for Augeas below /etc - Lots of internal cleanups - fix description * Tue Mar 24 2009 David Malcolm - 0.3-1 - 0.3: add horizontal scrolling, syslog handling, and config file handling, using augeas - specfile cleanup (thanks rathann) - add dependency on python-augeas for now * Sun Mar 22 2009 David Malcolm - 0.2-1 - 0.2 * Sun Mar 22 2009 David Malcolm - 0.1.1-1 - 0.1.1 - fix license header * Sun Mar 22 2009 David Malcolm - 0.1-1 - initial packaging