Group :: Development/Python
RPM: python-module-pyflowtools
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define version 0.3
%define release alt5
%setup_python_module pyflowtools
Summary: Python extension module for reading flow-tools' data
Name: %packagename
Version: %version
Release: %release
Source0: %modulename-%version.tar.gz
Copyright: GPL
Group: Development/Python
Requires: flow-tools zlib
BuildRequires: flow-tools-devel zlib-devel
Obsoletes: pyflowtools
%description
This extension module gives you a simple python interface to NetFlow
data as stored by Mark Fullmer's flow-tools package (see
http://www.splintered.net/sw/flow-tools).
%prep
%setup -q -n %modulename-%version
%build
env CFLAGS="$RPM_OPT_FLAGS" %__python setup.py build
%install
%__python setup.py install \
--root=%buildroot \
--optimize=2 \
--record=INSTALLED_FILES
%clean
%files -f INSTALLED_FILES
%doc CHANGES README COPYING example.py flowprint-full
%changelog
…
Full changelog you can see here
%define release alt5
%setup_python_module pyflowtools
Summary: Python extension module for reading flow-tools' data
Name: %packagename
Version: %version
Release: %release
Source0: %modulename-%version.tar.gz
Copyright: GPL
Group: Development/Python
Requires: flow-tools zlib
BuildRequires: flow-tools-devel zlib-devel
Obsoletes: pyflowtools
%description
This extension module gives you a simple python interface to NetFlow
data as stored by Mark Fullmer's flow-tools package (see
http://www.splintered.net/sw/flow-tools).
%prep
%setup -q -n %modulename-%version
%build
env CFLAGS="$RPM_OPT_FLAGS" %__python setup.py build
%install
%__python setup.py install \
--root=%buildroot \
--optimize=2 \
--record=INSTALLED_FILES
%clean
%files -f INSTALLED_FILES
%doc CHANGES README COPYING example.py flowprint-full
%changelog
…
Full changelog you can see here