rpms/py-radix/F-10 py-radix.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Matt Domsch mdomsch at fedoraproject.org
Tue Oct 13 17:40:18 UTC 2009


Author: mdomsch

Update of /cvs/extras/rpms/py-radix/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv13290

Modified Files:
	.cvsignore sources 
Added Files:
	py-radix.spec 
Log Message:
initial import


--- NEW FILE py-radix.spec ---
Name: py-radix
Summary: Radix tree data structure for Python
Version: 0.5
Release: 5%{?dist}
Source0: http://www2.mindrot.org/files/py-radix/py-radix-%{version}.tar.gz
License: BSD with advertising
Group: Development/Libraries
BuildRoot: %{_tmppath}/%{name}-buildroot
BuildRequires: python-devel
Url: http://www.mindrot.org/py-radix.html

%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}


%description
py-radix is an implementation of a radix tree for Python, which 
supports storage and lookups of IPv4 and IPv6 networks. 

The radix tree (a.k.a Patricia tree) is the data structure most 
commonly used for routing table lookups. It efficiently stores 
network prefixes of varying lengths and allows fast lookups of 
containing networks. py-radix's implementation is built solely 
for networks (the data structure itself is more general). 

%prep
%setup -q
rm -f inet_ntop.c strlcpy.c
touch inet_ntop.c strlcpy.c

%build
%{__python} setup.py build

%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install --root=$RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%{python_sitearch}/radix*
%doc LICENSE README TODO ChangeLog

%changelog
* Mon Oct 12 2009 Matt Domsch <mdomsch at fedoraproject.org> - 0.5-5
- remove inet_ntop.c and strlcpy.c for safety.  They're only used on
  Windows.

* Thu Oct  1 2009 Matt Domsch <mdomsch at fedoraproject.org> - 0.5-4
- more package cleanups during review
  - quiet setup, clean buildroot at install, drop python Requires,
    add dist tag.

* Thu Oct  1 2009 Matt Domsch <mdomsch at fedoraproject.org> - 0.5-2
- update for Fedora packaging guidelines

* Wed Jun 28 2006 Damien Miller <djm at mindrot.org>
- Build RPM


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/py-radix/F-10/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	13 Oct 2009 16:31:45 -0000	1.1
+++ .cvsignore	13 Oct 2009 17:40:18 -0000	1.2
@@ -0,0 +1 @@
+py-radix-0.5.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/py-radix/F-10/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	13 Oct 2009 16:31:45 -0000	1.1
+++ sources	13 Oct 2009 17:40:18 -0000	1.2
@@ -0,0 +1 @@
+8c853ce312b769de627d958a1cd6e5a0  py-radix-0.5.tar.gz




More information about the fedora-extras-commits mailing list