rpms/python-netaddr/devel import.log, NONE, 1.1 python-netaddr.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
John Eckersberg (jeckersb)
fedora-extras-commits at redhat.com
Wed Aug 13 19:30:31 UTC 2008
Author: jeckersb
Update of /cvs/pkgs/rpms/python-netaddr/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31782/devel
Modified Files:
.cvsignore sources
Added Files:
import.log python-netaddr.spec
Log Message:
initial import
--- NEW FILE import.log ---
python-netaddr-0_4-1_fc9:HEAD:python-netaddr-0.4-1.fc9.src.rpm:1218655725
--- NEW FILE python-netaddr.spec ---
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
Name: python-netaddr
Version: 0.4
Release: 1%{?dist}
Summary: Network address manipulation, done Pythonically
Group: Development/Libraries
License: BSD
URL: http://code.google.com/p/netaddr/
Source0: http://netaddr.googlecode.com/files/netaddr-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: python-devel, python-setuptools
%description
netaddr is a network address manipulation library written in pure Python.
It supports the Pythonic manipulation of several common network address
notations and standards, including :-
- IP version 4
- IP version 6
- CIDR (Classless Inter-Domain Routing)
- IEEE EUI-48 and EUI-64
- MAC (Media Access Control)
%prep
%setup -q -n netaddr-%{version}
chmod 644 tests/*
%build
%{__python} setup.py build
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_bindir}
%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT
chmod 755 $RPM_BUILD_ROOT%{python_sitelib}/netaddr/__init__.py
chmod 755 $RPM_BUILD_ROOT%{python_sitelib}/netaddr/strategy.py
chmod 755 $RPM_BUILD_ROOT%{python_sitelib}/netaddr/address.py
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc GLOSSARY INSTALL LICENSE PKG-INFO README docs/api/ tests
%{python_sitelib}/*
%changelog
* Mon Aug 11 2008 John Eckersberg <jeckersb at redhat.com> - 0.4-1
- Initial packaging for Fedora
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/python-netaddr/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 13 Aug 2008 17:30:34 -0000 1.1
+++ .cvsignore 13 Aug 2008 19:30:01 -0000 1.2
@@ -0,0 +1 @@
+netaddr-0.4.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/python-netaddr/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 13 Aug 2008 17:30:34 -0000 1.1
+++ sources 13 Aug 2008 19:30:01 -0000 1.2
@@ -0,0 +1 @@
+9f6450c2b868964afea248fa2a2af0f4 netaddr-0.4.tar.gz
More information about the fedora-extras-commits
mailing list