Sophie

Sophie

distrib > Mandriva > 2007.0 > x86_64 > by-pkgid > b2a2254e0785f34d9b40846d8b6dfb5a > files > 2

python-twisted-pair-0.1.0-2mdk.src.rpm

Summary:        A module to do low level tcp stuff with Twisted
Name:           python-twisted-pair
Version: 0.1.0
Release: %mkrel 2
%define directory_down %(echo %version|perl -n -e  '/^(\d+\.\d+).*$/; print \$1 ')
Source0:        http://tmrc.mit.edu/mirror/twisted/Pair//%directory_down/TwistedPair-%{version}.tar.bz2
License:        MIT
Group:          Development/Python
URL:            http://twistedmatrix.com/projects/pair/
BuildRoot:      %{_tmppath}/%{name}-buildroot
BuildRequires:	python-devel python-twisted-core
Requires:       python-twisted-core
# do not work on x86_64 du to module loading issue
#BuildArch:      noarch
%description
A module to do low level tcp stuff with Twisted.


%prep
%setup -q -n TwistedPair-%version

%build
%__python setup.py build

%install
%__rm -rf %buildroot
%__python setup.py install --root  %buildroot --install-purelib=%py_platsitedir

%clean
%__rm -rf %buildroot

%files
%defattr(0644,root,root,0755)
%doc LICENSE README doc/*
%py_platsitedir/twisted/pair/

%changelog
* Wed Jan 25 2006 Michael Scherer <misc@mandriva.org> 0.1.0-2mdk
- make it arch dependant
- use macro
- make it rpmbuildupdatable

* Sat May 14 2005 Michael Scherer <misc@mandriva.org> 0.1.0-1mdk
- Initial package