File python-iplib.spec of Package python-iplib
%define modname iplib
Name: python-%{modname}
Version: 1.1
Release: 1
Summary: Convert Amongst Many Different IPv4 Notations
URL: http://erlug.linux.it/~da/soft/iplib/
License: GPL
Group: Development/Libraries/Python
Source: %{modname}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-buildroot
%{py_requires}
BuildRequires: python-devel
%description
You can use this Python module to convert amongst many different notations and
to manage couples of address/netmask in the CIDR notation.
Authors:
--------
Davide Alberani <da@erlug.linux.it>
%prep
%setup -q -n %{modname}-%{version}
%build
export CFLAGS="$RPM_OPT_FLAGS"
python setup.py build
%install
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 docs/*
%changelog
* Fri Mar 28 2008 - James Oakley <jfunk@funktronics.ca> - 1.1-1
- Initial release