forked from pool/python-dpkt
47 lines
1.1 KiB
RPMSpec
47 lines
1.1 KiB
RPMSpec
%define modname dpkt
|
|
Name: python-%{modname}
|
|
Version: 1.6
|
|
Release: 1
|
|
Summary: Fast, simple packet creation and parsing
|
|
URL: http://monkey.org/~dugsong/dpkt/
|
|
License: Other License(s), see package
|
|
Group: Development/Libraries/Python
|
|
Source: %{modname}-%{version}.tar.gz
|
|
BuildRoot: %{_tmppath}/%{name}-buildroot
|
|
%{py_requires}
|
|
BuildRequires: python-devel python-xml epydoc
|
|
|
|
%description
|
|
Fast, simple packet creation / parsing, with definitions for the basic TCP/IP
|
|
protocols.
|
|
|
|
Authors:
|
|
--------
|
|
Dug Song <dugsong+dpkt@monkey.org>
|
|
|
|
%prep
|
|
%setup -q -n %{modname}-%{version}
|
|
|
|
%build
|
|
export CFLAGS="$RPM_OPT_FLAGS"
|
|
python setup.py build
|
|
make doc
|
|
|
|
%install
|
|
rm -rf %{buildroot}
|
|
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 doc examples AUTHORS CHANGES HACKING LICENSE README
|
|
|
|
%changelog
|
|
|
|
* Sun Jan 28 2007 - Cristian Rodriguez <judas_iscariote@shorewall.net>
|
|
- update to version 1.6
|
|
* Wed Sep 06 2006 - James Oakley <jfunk@funktronics.ca> - 1.5-1
|
|
- Initial release
|