head 1.17; access; symbols; locks; strict; comment @-- @; 1.17 date 2009.06.30.20.21.22; author rse; state Exp; branches; next 1.16; commitid mW7f5wxeUG4f4VTt; 1.16 date 2009.06.08.07.45.51; author rse; state Exp; branches; next 1.15; commitid ipMLzXFiipQ4C1Rt; 1.15 date 2009.06.06.20.32.55; author rse; state Exp; branches; next 1.14; commitid xBfKHEjGy8tdVPQt; 1.14 date 2009.05.04.11.22.44; author rse; state Exp; branches; next 1.13; commitid lkbFclPSfaUeWxMt; 1.13 date 2009.04.18.13.14.36; author rse; state Exp; branches; next 1.12; commitid 4pHXU27WTIGCZuKt; 1.12 date 2008.12.11.18.37.56; author rse; state Exp; branches; next 1.11; commitid SYw6xMN8eTEvY4ut; 1.11 date 2008.07.10.11.20.00; author rse; state Exp; branches; next 1.10; commitid hzgO4Xlm1jVavfat; 1.10 date 2008.06.10.17.13.54; author rse; state Exp; branches; next 1.9; commitid wrUXsiHLlIthqq6t; 1.9 date 2008.01.19.20.03.53; author rse; state Exp; branches; next 1.8; commitid EdRJAmMjHhaGX3Os; 1.8 date 2008.01.01.15.03.22; author rse; state Exp; branches; next 1.7; commitid B8esaHJHoduuKILs; 1.7 date 2007.12.27.18.35.19; author rse; state Exp; branches; next 1.6; commitid rw8ZQ0E8EJN7d6Ls; 1.6 date 2007.11.17.09.44.34; author cs; state Exp; branches; next 1.5; commitid fcjaTgz9e7cLyUFs; 1.5 date 2007.10.13.06.39.08; author rse; state Exp; branches; next 1.4; commitid u55ULxnKiGITEoBs; 1.4 date 2007.08.24.19.04.47; author rse; state Exp; branches; next 1.3; commitid T4X3Ga3lx1mlo2vs; 1.3 date 2007.06.07.08.20.54; author rse; state Exp; branches; next 1.2; commitid yPJdCQwzbZTTkXks; 1.2 date 2007.04.12.15.18.22; author cs; state Exp; branches; next 1.1; commitid vWluXNc6dq3IrNds; 1.1 date 2007.03.04.12.18.34; author rse; state Exp; branches; next ; commitid nJUcABvXQnvLHL8s; desc @@ 1.17 log @switch to the new SourceForge.net website functionality where we can find all files (again) @ text @## ## python-www.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_webpy 0.32 %define V_cheetah 2.2.1 %define V_genshi 0.5.1 %define V_html5lib 0.11.1 # package information Name: python-www Summary: Python Modules for World Wide Web 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: 20090608 # list of sources Source0: http://webpy.org/static/web.py-%{V_webpy}.tar.gz Source1: http://switch.dl.sourceforge.net/cheetahtemplate/Cheetah-%{V_cheetah}.tar.gz Source2: http://ftp.edgewall.com/pub/genshi/Genshi-%{V_genshi}.tar.bz2 Source3: http://html5lib.googlecode.com/files/html5lib-%{V_html5lib}.zip # build information Prefix: %{l_prefix} BuildRoot: %{l_buildroot} BuildPreReq: OpenPKG, openpkg >= 20040130, python >= %{V_python}, infozip PreReq: OpenPKG, openpkg >= 20040130, python >= %{V_python} AutoReq: no AutoReqProv: no %description This is a set of Python extension modules for WWW. %track prog python-www:webpy = { version = %{V_webpy} url = http://webpy.org/ regex = web\.py-(__VER__)\.tar\.gz } prog python-www:cheetah = { version = %{V_cheetah} url = http://sourceforge.net/projects/cheetahtemplate/files/ regex = Cheetah-(__VER__)\.tar\.gz } prog python-www:genshi = { version = %{V_genshi} url = http://genshi.edgewall.org/wiki/Download regex = Genshi-(__VER__)\.tar\.bz2 } prog python-www:html5lib = { version = %{V_html5lib} url = http://code.google.com/p/html5lib/ regex = html5lib-(__VER__)\.zip } %prep %setup -q -c %setup -q -T -D -a 1 %setup -q -T -D -a 2 unzip -q -o -x %{SOURCE3} %build %install rm -rf $RPM_BUILD_ROOT ( cd 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 $? ( cd Cheetah-%{V_cheetah} 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 Genshi-%{V_genshi} 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 html5lib-%{V_html5lib} 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.16 log @modifying package: python-www-2.5 20090606 -> 20090608 @ text @d69 1 a69 1 url = http://prdownloads.sourceforge.net/cheetahtemplate/ @ 1.15 log @modifying package: python-www-2.5 20090504 -> 20090606 @ text @d27 1 a27 1 %define V_cheetah 2.0.1 d42 1 a42 1 Release: 20090606 @ 1.14 log @add html5lib @ text @d26 1 a26 1 %define V_webpy 0.31 d42 1 a42 1 Release: 20090504 @ 1.13 log @bump years in copyright messages @ text @d29 1 d42 1 a42 1 Release: 20081211 d48 1 d53 1 a53 1 BuildPreReq: OpenPKG, openpkg >= 20040130, python >= %{V_python} d77 5 d87 1 d114 7 @ 1.12 log @modifying package: python-www-2.5 20080710 -> 20081211 @ text @d3 1 a3 1 ## Copyright (c) 2000-2008 OpenPKG Foundation e.V. @ 1.11 log @modifying package: python-www-2.5 20080610 -> 20080710 @ text @d26 1 a26 1 %define V_webpy 0.23 d41 1 a41 1 Release: 20080710 @ 1.10 log @modifying package: python-www-2.5 20080119 -> 20080610 @ text @d28 1 a28 1 %define V_genshi 0.5 d41 1 a41 1 Release: 20080610 @ 1.9 log @modifying package: python-www-2.5 20080101 -> 20080119 @ text @d28 1 a28 1 %define V_genshi 0.4.4 d41 1 a41 1 Release: 20080119 @ 1.8 log @Update package specifications according to OpenPKG year 2008 world order: http://www.mail-archive.com/openpkg-announce@@openpkg.org/msg00221.html @ text @d26 1 a26 1 %define V_webpy 0.22 d41 1 a41 1 Release: 20080101 @ 1.7 log @add Genshi (required by Trac) @ text @d3 1 a3 2 ## Copyright (c) 2000-2007 OpenPKG Foundation e.V. ## Copyright (c) 2000-2007 Ralf S. Engelschall d41 1 a41 1 Release: 20071227 @ 1.6 log @modifying package: python-www-2.5 20071013 -> 20071117 @ text @d29 1 d42 1 a42 1 Release: 20071117 d47 1 d71 5 d80 1 d100 7 @ 1.5 log @modifying package: python-www-2.5 20070824 -> 20071013 @ text @d28 1 a28 1 %define V_cheetah 2.0 d41 1 a41 1 Release: 20071013 @ 1.4 log @modifying package: python-www-2.5 20070607 -> 20070824 @ text @d28 1 a28 1 %define V_cheetah 2.0rc8 d41 1 a41 1 Release: 20070824 @ 1.3 log @modifying package: python-www-2.5 20070412 -> 20070607 @ text @d27 1 a27 1 %define V_webpy 0.21 d41 1 a41 1 Release: 20070607 d44 1 a44 1 Source0: http://webpy.org/web.py-%{V_webpy}.tar.gz @ 1.2 log @modifying package: python-www-2.5 20070304 -> 20070412 @ text @d27 1 a27 1 %define V_webpy 0.2 d41 1 a41 1 Release: 20070412 d78 1 a78 1 ( cd web.py-%{V_webpy} @ 1.1 log @new package: python-www 2.5 (Python Modules for World Wide Web) @ text @d28 1 a28 1 %define V_cheetah 2.0rc7 d41 1 a41 1 Release: 20070304 @