This commit is contained in:
committed by
Git OBS Bridge
parent
349aaf43d2
commit
549e4e8730
44
python-dpkt.spec
Normal file
44
python-dpkt.spec
Normal file
@@ -0,0 +1,44 @@
|
||||
%define modname dpkt
|
||||
Name: python-%{modname}
|
||||
Version: 1.5
|
||||
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.bz2
|
||||
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
|
||||
|
||||
* Wed Sep 06 2006 - James Oakley <jfunk@funktronics.ca> - 1.5-1
|
||||
- Initial release
|
||||
Reference in New Issue
Block a user