File tcpwatch.spec of Package tcpwatch

Name:           tcpwatch
URL:            http://hathawaymix.org/Software/TCPWatch/
Summary:        TCP monitoring and logging tool with support for HTTP 1.1
Version:        1.3
Release:        3
License:        ZPL
Group:          Productivity/Networking/Diagnostic
Source:         %{name}-%{version}.tar.bz2
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-root
%{py_requires}
Requires:       python-tk
BuildRequires:  python-devel

%description
TCPWatch is a utility written in Python that lets you monitor forwarded TCP
connections or HTTP proxy connections. It displays the sessions in a window
with a history of past connections. It is useful for developing and debugging
protocol implementations and web services.

Authors:
--------
    Shane Hathaway <shane@zope.com>

%prep
%setup -q -n %{name}

%build
export CFLAGS="$RPM_OPT_FLAGS"
python setup.py build

%install
rm -rf %{buildroot}
install -d -m 0755 %{buildroot}%{py_sitedir}
python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES

%clean
rm -rf %{buildroot}

%files -f INSTALLED_FILES
%defattr(-,root,root)
%doc CHANGES.txt

%changelog

* Fri Jun 30 2006 - James Oakley <jfunk@funktronics.ca> - 1.3-3
- Nothing under lib/lib64, so this is noarch

* Fri Jun 30 2006 - James Oakley <jfunk@funktronics.ca> - 1.3-2
- Build under buildservice

* Tue May 02 2006 - James Oakley <jfunk@funktronics.ca> - 1.3-1
- Initial release
openSUSE Build Service is sponsored by