head 1.19;
access;
symbols
OPENPKG_E1_MP:1.3
OPENPKG_E1_MP_HEAD:1.3;
locks; strict;
comment @-- @;
1.19
date 2009.11.27.09.11.03; author rse; state Exp;
branches;
next 1.18;
commitid mtaCn1VJ0ncwy8du;
1.18
date 2009.06.30.20.21.21; author rse; state Exp;
branches;
next 1.17;
commitid mW7f5wxeUG4f4VTt;
1.17
date 2009.06.20.15.44.20; author rse; state Exp;
branches;
next 1.16;
commitid S0il3Q2KJEHjSBSt;
1.16
date 2009.06.19.17.43.21; author rse; state Exp;
branches;
next 1.15;
commitid glONUKmsAF88zuSt;
1.15
date 2009.04.18.13.14.35; author rse; state Exp;
branches;
next 1.14;
commitid 4pHXU27WTIGCZuKt;
1.14
date 2009.03.27.11.47.24; author rse; state Exp;
branches;
next 1.13;
commitid thHhRjgdvlKpiFHt;
1.13
date 2008.12.29.08.14.04; author rse; state Exp;
branches;
next 1.12;
commitid UURIfTs6wHwCWkwt;
1.12
date 2008.05.19.05.27.17; author rse; state Exp;
branches;
next 1.11;
commitid AorvVcMR1JoNdx3t;
1.11
date 2008.03.27.07.34.09; author cs; state Exp;
branches;
next 1.10;
commitid BobbNaMVqBkWCJWs;
1.10
date 2008.03.26.16.41.21; author rse; state Exp;
branches;
next 1.9;
commitid 4fTP6XZkUjoFGEWs;
1.9
date 2008.01.01.15.03.21; author rse; state Exp;
branches;
next 1.8;
commitid B8esaHJHoduuKILs;
1.8
date 2007.12.11.14.17.13; author rse; state Exp;
branches;
next 1.7;
commitid PtoE75QpXUvsi1Js;
1.7
date 2007.03.04.12.19.58; author rse; state Exp;
branches;
next 1.6;
commitid L9JBXzvYtirfIL8s;
1.6
date 2007.03.04.11.01.00; author rse; state Exp;
branches;
next 1.5;
commitid IoGtns8kr2T8hL8s;
1.5
date 2007.01.13.08.39.05; author rse; state Exp;
branches;
next 1.4;
commitid oiyDLqPvSyi76k2s;
1.4
date 2007.01.10.18.49.08; author rse; state Exp;
branches;
next 1.3;
commitid Mjic9OfxqCAnzZ1s;
1.3
date 2007.01.01.17.41.19; author rse; state Exp;
branches;
next 1.2;
commitid BicZD6VUl7GuqP0s;
1.2
date 2006.12.11.06.33.46; author rse; state Exp;
branches;
next 1.1;
commitid oFyYcKQckReSs4Yr;
1.1
date 2006.11.03.19.04.45; author rse; state Exp;
branches;
next ;
commitid WZN16grmuEKfQfTr;
desc
@@
1.19
log
@modifying package: python-net-2.5 20090620 -> 20091127
@
text
@##
## python-net.spec -- OpenPKG RPM Package Specification
## Copyright (c) 2000-2009 OpenPKG Foundation e.V.
##
## Permission to use, copy, modify, and distribute this software for
## any purpose with or without fee is hereby granted, provided that
## the above copyright notice and this permission notice appear in all
## copies.
##
## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
## SUCH DAMAGE.
##
# package versions
%define V_python 2.5
%define V_pydns 2.3.3
%define V_dnspython 1.7.1
%define V_twisted_major 9.0
%define V_twisted_minor 0
# package information
Name: python-net
Summary: Python Modules for Networking
URL: http://www.python.org/
Vendor: Python Community
Packager: OpenPKG Foundation e.V.
Distribution: OpenPKG Community
Class: BASE
Group: Language
License: GPL
Version: %{V_python}
Release: 20091127
# list of sources
Source0: http://switch.dl.sourceforge.net/pydns/pydns-%{V_pydns}.tar.gz
Source1: http://www.dnspython.org/kits/%{V_dnspython}/dnspython-%{V_dnspython}.tar.gz
Source2: http://tmrc.mit.edu/mirror/twisted/Twisted/%{V_twisted_major}/Twisted-%{V_twisted_major}.%{V_twisted_minor}.tar.bz2
Patch0: python-net.patch
# build information
Prefix: %{l_prefix}
BuildRoot: %{l_buildroot}
BuildPreReq: OpenPKG, openpkg >= 20040130, python >= %{V_python}
PreReq: OpenPKG, openpkg >= 20040130, python >= %{V_python}
AutoReq: no
AutoReqProv: no
%description
This is a set of Python extension modules for networking.
%track
prog python-net:pydns = {
version = %{V_pydns}
url = http://sourceforge.net/projects/pydns/files/
regex = pydns-(__VER__)\.tar\.gz
}
prog python-net:dnspython = {
version = %{V_dnspython}
url = http://www.dnspython.org/kits/
regex = (__VER__)/
}
prog python-net:twisted = {
version = %{V_twisted_major}.%{V_twisted_minor}
url = http://twistedmatrix.com/trac/
regex = Twisted-(__VER__)\.tar\.bz2
}
%prep
%setup -q -c
%setup -q -T -D -a 1
%setup -q -T -D -a 2
%patch -p0
%build
%install
rm -rf $RPM_BUILD_ROOT
( cd pydns-%{V_pydns}
PYTHONPATH=$RPM_BUILD_ROOT%{l_prefix}/lib/python/site-packages \
%{l_prefix}/bin/python \
setup.py install \
--root=$RPM_BUILD_ROOT \
--prefix=%{l_prefix}
) || exit $?
( cd dnspython-%{V_dnspython}
PYTHONPATH=$RPM_BUILD_ROOT%{l_prefix}/lib/python/site-packages \
%{l_prefix}/bin/python \
setup.py install \
--root=$RPM_BUILD_ROOT \
--prefix=%{l_prefix}
) || exit $?
( cd Twisted-%{V_twisted_major}.%{V_twisted_minor}
( cd zope.interface-*
PYTHONPATH=$RPM_BUILD_ROOT%{l_prefix}/lib/python/site-packages \
%{l_prefix}/bin/python \
setup.py install \
--root=$RPM_BUILD_ROOT \
--prefix=%{l_prefix}
) || exit $?
PYTHONPATH=$RPM_BUILD_ROOT%{l_prefix}/lib/python/site-packages \
%{l_prefix}/bin/python \
setup.py install \
--root=$RPM_BUILD_ROOT \
--prefix=%{l_prefix}
) || exit $?
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
%files -f files
%clean
rm -rf $RPM_BUILD_ROOT
@
1.18
log
@switch to the new SourceForge.net website functionality where we can find all files (again)
@
text
@d28 1
a28 1
%define V_twisted_major 8.2
d42 1
a42 1
Release: 20090620
@
1.17
log
@modifying package: python-net-2.5 20090619 -> 20090620
@
text
@d64 1
a64 1
url = http://prdownloads.sourceforge.net/pydns/
@
1.16
log
@modifying package: python-net-2.5 20090327 -> 20090619
@
text
@d27 1
a27 1
%define V_dnspython 1.7.0
d42 1
a42 1
Release: 20090619
@
1.15
log
@bump years in copyright messages
@
text
@d27 1
a27 1
%define V_dnspython 1.6.0
d42 1
a42 1
Release: 20090327
@
1.14
log
@modifying package: python-net-2.5 20081229 -> 20090327
@
text
@d3 1
a3 1
## Copyright (c) 2000-2008 OpenPKG Foundation e.V.
@
1.13
log
@modifying package: python-net-2.5 20080519 -> 20081229
@
text
@d26 1
a26 1
%define V_pydns 2.3.0
d42 1
a42 1
Release: 20081229
d45 1
a45 1
Source0: http://switch.dl.sourceforge.net/pydns/pydns-%{V_pydns}.tgz
d65 1
a65 1
regex = pydns-(__VER__)\.tgz
@
1.12
log
@modifying package: python-net-2.5 20080327 -> 20080519
@
text
@d28 1
a28 1
%define V_twisted_major 8.1
d42 1
a42 1
Release: 20080519
@
1.11
log
@modifying package: python-net-2.5 20080326 -> 20080327
@
text
@d28 2
a29 2
%define V_twisted_major 8.0
%define V_twisted_minor 1
d42 1
a42 1
Release: 20080327
@
1.10
log
@modifying package: python-net-2.5 20080101 -> 20080326
@
text
@d29 1
a29 1
%define V_twisted_minor 0
d42 1
a42 1
Release: 20080326
@
1.9
log
@Update package specifications according to OpenPKG year 2008 world order:
http://www.mail-archive.com/openpkg-announce@@openpkg.org/msg00221.html
@
text
@d28 1
a28 1
%define V_twisted_major 2.5
d42 1
a42 1
Release: 20080101
@
1.8
log
@modifying package: python-net-2.5 20070304 -> 20071211
@
text
@d3 1
a3 2
## Copyright (c) 2000-2007 OpenPKG Foundation e.V.
## Copyright (c) 2000-2007 Ralf S. Engelschall
d42 1
a42 1
Release: 20071211
@
1.7
log
@web.py moved to python-www now
@
text
@d28 1
a28 1
%define V_dnspython 1.5.0
d43 1
a43 1
Release: 20070304
d47 1
a47 1
Source1: http://www.dnspython.org/kits/stable/dnspython-%{V_dnspython}.tar.gz
d70 2
a71 2
url = http://www.dnspython.org/kits/stable/
regex = dnspython-(__VER__)\.tar\.gz
@
1.6
log
@add web.py for coming viewmtn package
@
text
@a30 1
%define V_webpy 0.2
a48 1
Source3: http://webpy.org/web.py-%{V_webpy}.tar.gz
a77 5
prog python-net:webpy = {
version = %{V_webpy}
url = http://webpy.org/
regex = web\.py-(__VER__)\.tar\.gz
}
a82 1
%setup -q -T -D -a 3
a116 7
( cd web.py-%{V_webpy}
PYTHONPATH=$RPM_BUILD_ROOT%{l_prefix}/lib/python/site-packages \
%{l_prefix}/bin/python \
setup.py install \
--root=$RPM_BUILD_ROOT \
--prefix=%{l_prefix}
) || exit $?
@
1.5
log
@fix building (ZopeInterface dir was renamed in latest version)
@
text
@d31 1
d44 1
a44 1
Release: 20070113
d50 1
d80 5
d90 1
d125 7
@
1.4
log
@modifying package: python-net-2.5 20061211 -> 20070110
@
text
@d43 1
a43 1
Release: 20070110
d104 1
a104 1
( cd ZopeInterface*
@
1.3
log
@Welcome Year 2007!
@
text
@d29 1
a29 1
%define V_twisted_major 2.4
d43 1
a43 1
Release: 20061211
@
1.2
log
@modifying package: python-net-2.5 20061103 -> 20061211
@
text
@d3 2
a4 2
## Copyright (c) 2000-2006 OpenPKG Foundation e.V.
## Copyright (c) 2000-2006 Ralf S. Engelschall
@
1.1
log
@new package: python-net 2.5 (Python Modules for Networking)
@
text
@d28 1
a28 1
%define V_dnspython 1.4.0
d43 1
a43 1
Release: 20061103
@