rpms/compat-python24-setuptools/F-8 compat-python24-setuptools.spec, NONE, 1.1 psfl.txt, NONE, 1.1 zpl.txt, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
by Thorsten Leemhuis
Author: thl
Update of /cvs/free/rpms/compat-python24-setuptools/F-8
In directory se02.es.rpmfusion.net:/tmp/cvs-serv21610
Modified Files:
.cvsignore sources
Added Files:
compat-python24-setuptools.spec psfl.txt zpl.txt
Log Message:
initial import from livna
--- NEW FILE compat-python24-setuptools.spec ---
%define compat_python %{_bindir}/python2.4
%{!?python_sitelib: %define python_sitelib %(%{compat_python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
Name: compat-python24-setuptools
Version: 0.6c7
Release: 4%{?dist}
Summary: Download, build, install, upgrade, and uninstall Python packages
Group: Applications/System
License: Python or ZPLv2.0
URL: http://peak.telecommunity.com/DevCenter/setuptools
Source0: http://cheeseshop.python.org/packages/source/s/setuptools/setuptools-%{ve...
Source1: psfl.txt
Source2: zpl.txt
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: compat-python24-devel
%description
setuptools is a collection of enhancements to the Python distutils that allow
you to more easily build and distribute Python packages, especially ones that
have dependencies on other packages.
This package contains the runtime components of setuptools, necessary to
execute the software that requires pkg_resources.py.
%package devel
Summary: Download, install, upgrade, and uninstall Python packages
Group: Development/Languages
Requires: python-devel
Requires: %{name} = %{version}-%{release}
%description devel
setuptools is a collection of enhancements to the Python distutils that allow
you to more easily build and distribute Python packages, especially ones that
have dependencies on other packages.
This package contains the components necessary to build and install software
requiring setuptools.
%prep
%setup -q -n setuptools-%{version}
chmod -x *.txt
find -name '*.py' | xargs sed -i '1s|^#!python|#!%{compat_python}|'
%build
CFLAGS="$RPM_OPT_FLAGS" %{compat_python} setup.py build
%check
# We expect one failure with the current setup
%{compat_python} setup.py test || :
%install
rm -rf $RPM_BUILD_ROOT
%{compat_python} setup.py install -O1 --skip-build \
--root $RPM_BUILD_ROOT \
--single-version-externally-managed
rm -rf $RPM_BUILD_ROOT%{python_sitelib}/setuptools/tests
install -p -m 0644 %{SOURCE1} %{SOURCE2} .
find $RPM_BUILD_ROOT%{python_sitelib} -name '*.exe' | xargs rm -f
find $RPM_BUILD_ROOT%{python_sitelib} -name '*.txt' | xargs chmod -x
chmod +x $RPM_BUILD_ROOT%{python_sitelib}/setuptools/command/easy_install.py
rm -f $RPM_BUILD_ROOT%{_bindir}/easy_install
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc psfl.txt zpl.txt pkg_resources.txt setuptools.txt
%{python_sitelib}/*
%{_bindir}/*
#%%exclude %{python_sitelib}/easy_install*
%files devel
%defattr(-,root,root,-)
%doc psfl.txt zpl.txt EasyInstall.txt README.txt api_tests.txt
#%%{python_sitelib}/easy_install*
#%%{_bindir}/*
%changelog
* Sun Aug 10 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info - 0.6c7-4
- rebuild for RPM Fusion
* Mon Dec 31 2007 Jonathan Steffan <jon a fedoraunity.org> - 0.6c7-3
- Install easy_install with the main package (move it out of -devel)
* Mon Dec 31 2007 Jonathan Steffan <jon a fedoraunity.org> - 0.6c7-2
- Base off python-setuptools 0.6c7-2.fc8
--- NEW FILE psfl.txt ---
Python Software Foundation License
Python 2.1.1 license
This is the official license for the Python 2.1.1 release:
A. HISTORY OF THE SOFTWARE
==========================
Python was created in the early 1990s by Guido van Rossum at Stichting
Mathematisch Centrum (CWI) in the Netherlands as a successor of a language
called ABC. Guido is Python's principal author, although it includes many
contributions from others. The last version released from CWI was Python 1.2.
In 1995, Guido continued his work on Python at the Corporation for National
Research Initiatives (CNRI) in Reston, Virginia where he released several
versions of the software. Python 1.6 was the last of the versions released by
CNRI. In 2000, Guido and the Python core development team moved to BeOpen.com
to form the BeOpen PythonLabs team. Python 2.0 was the first and only release
from BeOpen.com.
Following the release of Python 1.6, and after Guido van Rossum left CNRI to
work with commercial software developers, it became clear that the ability to
use Python with software available under the GNU Public License (GPL) was very
desirable. CNRI and the Free Software Foundation (FSF) interacted to develop
enabling wording changes to the Python license. Python 1.6.1 is essentially the
same as Python 1.6, with a few minor bug fixes, and with a different license
that enables later versions to be GPL-compatible. Python 2.1 is a derivative
work of Python 1.6.1, as well as of Python 2.0.
After Python 2.0 was released by BeOpen.com, Guido van Rossum and the other
PythonLabs developers joined Digital Creations. All intellectual property added
from this point on, starting with Python 2.1 and its alpha and beta releases,
is owned by the Python Software Foundation (PSF), a non-profit modeled after
the Apache Software Foundation. See http://www.python.org/psf/ for more
information about the PSF.
Thanks to the many outside volunteers who have worked under Guido's direction
to make these releases possible.
B. TERMS AND CONDITIONS FOR ACCESSING OR OTHERWISE USING PYTHON
===============================================================
PSF LICENSE AGREEMENT
---------------------
1. This LICENSE AGREEMENT is between the Python Software Foundation ("PSF"),
and the Individual or Organization ("Licensee") accessing and otherwise using
Python 2.1.1 software in source or binary form and its associated
documentation.
2. Subject to the terms and conditions of this License Agreement, PSF hereby
grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce,
analyze, test, perform and/or display publicly, prepare derivative works,
distribute, and otherwise use Python 2.1.1 alone or in any derivative version,
provided, however, that PSF's License Agreement and PSF's notice of copyright,
i.e., "Copyright (c) 2001 Python Software Foundation; All Rights Reserved" are
retained in Python 2.1.1 alone or in any derivative version prepared by
Licensee.
3. In the event Licensee prepares a derivative work that is based on or
incorporates Python 2.1.1 or any part thereof, and wants to make the derivative
work available to others as provided herein, then Licensee hereby agrees to
include in any such work a brief summary of the changes made to Python 2.1.1.
4. PSF is making Python 2.1.1 available to Licensee on an "AS IS" basis. PSF
MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY OF EXAMPLE,
BUT NOT LIMITATION, PSF MAKES NO AND DISCLAIMS ANY REPRESENTATION OR WARRANTY
OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF
PYTHON 2.1.1 WILL NOT INFRINGE ANY THIRD PARTY RIGHTS.
5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON 2.1.1 FOR
ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS A RESULT OF
MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 2.1.1, OR ANY DERIVATIVE
THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
6. This License Agreement will automatically terminate upon a material breach
of its terms and conditions.
7. Nothing in this License Agreement shall be deemed to create any relationship
of agency, partnership, or joint venture between PSF and Licensee. This License
Agreement does not grant permission to use PSF trademarks or trade name in a
trademark sense to endorse or promote products or services of Licensee, or any
third party.
8. By copying, installing or otherwise using Python 2.1.1, Licensee agrees to
be bound by the terms and conditions of this License Agreement.
BEOPEN.COM TERMS AND CONDITIONS FOR PYTHON 2.0
----------------------------------------------
BEOPEN PYTHON OPEN SOURCE LICENSE AGREEMENT VERSION 1
1. This LICENSE AGREEMENT is between BeOpen.com ("BeOpen"), having an office at
160 Saratoga Avenue, Santa Clara, CA 95051, and the Individual or Organization
("Licensee") accessing and otherwise using this software in source or binary
form and its associated documentation ("the Software").
2. Subject to the terms and conditions of this BeOpen Python License Agreement,
BeOpen hereby grants Licensee a non-exclusive, royalty-free, world-wide license
to reproduce, analyze, test, perform and/or display publicly, prepare
derivative works, distribute, and otherwise use the Software alone or in any
derivative version, provided, however, that the BeOpen Python License is
retained in the Software, alone or in any derivative version prepared by
Licensee.
3. BeOpen is making the Software available to Licensee on an "AS IS" basis.
BEOPEN MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY OF
EXAMPLE, BUT NOT LIMITATION, BEOPEN MAKES NO AND DISCLAIMS ANY REPRESENTATION
OR WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT
THE USE OF THE SOFTWARE WILL NOT INFRINGE ANY THIRD PARTY RIGHTS.
4. BEOPEN SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF THE SOFTWARE
FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS A RESULT OF
USING, MODIFYING OR DISTRIBUTING THE SOFTWARE, OR ANY DERIVATIVE THEREOF, EVEN
IF ADVISED OF THE POSSIBILITY THEREOF.
5. This License Agreement will automatically terminate upon a material breach
of its terms and conditions.
6. This License Agreement shall be governed by and interpreted in all respects
by the law of the State of California, excluding conflict of law provisions.
Nothing in this License Agreement shall be deemed to create any relationship of
agency, partnership, or joint venture between BeOpen and Licensee. This License
Agreement does not grant permission to use BeOpen trademarks or trade names in
a trademark sense to endorse or promote products or services of Licensee, or
any third party. As an exception, the "BeOpen Python" logos available at
http://www.pythonlabs.com/logos.html may be used according to the permissions
granted on that web page.
7. By copying, installing or otherwise using the software, Licensee agrees to
be bound by the terms and conditions of this License Agreement.
CNRI OPEN SOURCE GPL-COMPATIBLE LICENSE AGREEMENT
-------------------------------------------------
1. This LICENSE AGREEMENT is between the Corporation for National Research
Initiatives, having an office at 1895 Preston White Drive, Reston, VA 20191
("CNRI"), and the Individual or Organization ("Licensee") accessing and
otherwise using Python 1.6.1 software in source or binary form and its
associated documentation.
2. Subject to the terms and conditions of this License Agreement, CNRI hereby
grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce,
analyze, test, perform and/or display publicly, prepare derivative works,
distribute, and otherwise use Python 1.6.1 alone or in any derivative version,
provided, however, that CNRI's License Agreement and CNRI's notice of
copyright, i.e., "Copyright (c) 1995-2001 Corporation for National Research
Initiatives; All Rights Reserved" are retained in Python 1.6.1 alone or in any
derivative version prepared by Licensee. Alternately, in lieu of CNRI's License
Agreement, Licensee may substitute the following text (omitting the quotes):
"Python 1.6.1 is made available subject to the terms and conditions in CNRI's
License Agreement. This Agreement together with Python 1.6.1 may be located on
the Internet using the following unique, persistent identifier (known as a
handle): 1895.22/1013. This Agreement may also be obtained from a proxy server
on the Internet using the following URL: http://hdl.handle.net/1895.22/1013".
3. In the event Licensee prepares a derivative work that is based on or
incorporates Python 1.6.1 or any part thereof, and wants to make the derivative
work available to others as provided herein, then Licensee hereby agrees to
include in any such work a brief summary of the changes made to Python 1.6.1.
4. CNRI is making Python 1.6.1 available to Licensee on an "AS IS" basis. CNRI
MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY OF EXAMPLE,
BUT NOT LIMITATION, CNRI MAKES NO AND DISCLAIMS ANY REPRESENTATION OR WARRANTY
OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF
PYTHON 1.6.1 WILL NOT INFRINGE ANY THIRD PARTY RIGHTS.
5. CNRI SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON 1.6.1 FOR
ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS A RESULT OF
MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 1.6.1, OR ANY DERIVATIVE
THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
6. This License Agreement will automatically terminate upon a material breach
of its terms and conditions.
7. This License Agreement shall be governed by the federal intellectual
property law of the United States, including without limitation the federal
copyright law, and, to the extent such U.S. federal law does not apply, by the
law of the Commonwealth of Virginia, excluding Virginia's conflict of law
provisions. Notwithstanding the foregoing, with regard to derivative works
based on Python 1.6.1 that incorporate non-separable material that was
previously distributed under the GNU General Public License (GPL), the law of
the Commonwealth of Virginia shall govern this License Agreement only as to
issues arising under or with respect to Paragraphs 4, 5, and 7 of this License
Agreement. Nothing in this License Agreement shall be deemed to create any
relationship of agency, partnership, or joint venture between CNRI and
Licensee. This License Agreement does not grant permission to use CNRI
trademarks or trade name in a trademark sense to endorse or promote products or
services of Licensee, or any third party.
8. By clicking on the "ACCEPT" button where indicated, or by copying,
installing or otherwise using Python 1.6.1, Licensee agrees to be bound by the
terms and conditions of this License Agreement.
ACCEPT
CWI PERMISSIONS STATEMENT AND DISCLAIMER
----------------------------------------
Copyright (c) 1991 - 1995, Stichting Mathematisch Centrum Amsterdam, The
Netherlands. All rights reserved.
Permission to use, copy, modify, and distribute this software and its
documentation for any purpose and without fee is hereby granted, provided that
the above copyright notice appear in all copies and that both that copyright
notice and this permission notice appear in supporting documentation, and that
the name of Stichting Mathematisch Centrum or CWI not be used in advertising or
publicity pertaining to distribution of the software without specific, written
prior permission.
STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN
NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE FOR ANY SPECIAL,
INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
THIS SOFTWARE.
--- NEW FILE zpl.txt ---
Zope Public License (ZPL) Version 2.0
-----------------------------------------------
This software is Copyright (c) Zope Corporation (tm) and
Contributors. All rights reserved.
This license has been certified as open source. It has also
been designated as GPL compatible by the Free Software
Foundation (FSF).
Redistribution and use in source and binary forms, with or
without modification, are permitted provided that the
following conditions are met:
1. Redistributions in source code must retain the above
copyright notice, this list of conditions, and the following
disclaimer.
2. Redistributions in binary form must reproduce the above
copyright notice, this list of conditions, and the following
disclaimer in the documentation and/or other materials
provided with the distribution.
3. The name Zope Corporation (tm) must not be used to
endorse or promote products derived from this software
without prior written permission from Zope Corporation.
4. The right to distribute this software or to use it for
any purpose does not give you the right to use Servicemarks
(sm) or Trademarks (tm) of Zope Corporation. Use of them is
covered in a separate agreement (see
http://www.zope.com/Marks).
5. If any files are modified, you must cause the modified
files to carry prominent notices stating that you changed
the files and the date of any change.
Disclaimer
THIS SOFTWARE IS PROVIDED BY ZOPE CORPORATION ``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 ZOPE CORPORATION OR ITS 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.
This software consists of contributions made by Zope
Corporation and many individuals on behalf of Zope
Corporation. Specific attributions are listed in the
accompanying credits file.
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/compat-python24-setuptools/F-8/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 22 Jul 2008 16:49:18 -0000 1.1
+++ .cvsignore 10 Aug 2008 10:13:16 -0000 1.2
@@ -0,0 +1 @@
+setuptools-0.6c7.tar.gz
Index: sources
===================================================================
RCS file: /cvs/free/rpms/compat-python24-setuptools/F-8/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 22 Jul 2008 16:49:18 -0000 1.1
+++ sources 10 Aug 2008 10:13:16 -0000 1.2
@@ -0,0 +1 @@
+dedbf6a4f71cd6deaf13ee885054f16b setuptools-0.6c7.tar.gz
16 years, 2 months
rpms/compat-zope/F-9 compat-zope.spec~,1.1,NONE
by Thorsten Leemhuis
Author: thl
Update of /cvs/free/rpms/compat-zope/F-9
In directory se02.es.rpmfusion.net:/tmp/cvs-serv21284
Removed Files:
compat-zope.spec~
Log Message:
delte backupfile
--- compat-zope.spec~ DELETED ---
16 years, 2 months
rpms/compat-zope/F-9 compat-zope.spec, NONE, 1.1 compat-zope.spec~, NONE, 1.1 zope-2.10.4-config.patch, NONE, 1.1 zope-README.Fedora, NONE, 1.1 zope.init.in, NONE, 1.1 zope.logrotate.cron.in, NONE, 1.1 zope.logrotate.in, NONE, 1.1 zope.sysconfig.in, NONE, 1.1 zope.zopectl.in, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
by Thorsten Leemhuis
Author: thl
Update of /cvs/free/rpms/compat-zope/F-9
In directory se02.es.rpmfusion.net:/tmp/cvs-serv21137
Modified Files:
.cvsignore sources
Added Files:
compat-zope.spec compat-zope.spec~ zope-2.10.4-config.patch
zope-README.Fedora zope.init.in zope.logrotate.cron.in
zope.logrotate.in zope.sysconfig.in zope.zopectl.in
Log Message:
initial import from livna
--- NEW FILE compat-zope.spec ---
%define python_minver 2.4.3
%define compat_python %{_bindir}/python2.4
%{!?python_sitearch: %define python_sitearch %(%{compat_python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%define zope_user zope
%define zope_group %{zope_user}
%define zope_home %{_libdir}/zope
%define software_home %{zope_home}/lib/python
%define instance_home %{_localstatedir}/lib/zope
%define zopectl %{_bindir}/zopectl
%define runzope %{_bindir}/runzope
Name: compat-zope
Summary: Web application server for flexible content management applications
Version: 2.10.6
Release: 2%{?dist}
License: ZPL
Group: System Environment/Daemons
URL: http://www.zope.org/
Source0: http://www.zope.org/Products/Zope/%{version}/Zope-%{version}-final.tgz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source1: zope.init.in
Source2: zope.sysconfig.in
Source3: zope.zopectl.in
Source4: zope-README.Fedora
Source5: zope.logrotate.in
Source6: zope.logrotate.cron.in
Patch0: zope-2.10.4-config.patch
BuildRequires: compat-python24-devel >= %{python_minver}
BuildRequires: compat-python24 >= %{python_minver}
Requires: compat-python24 >= %{python_minver}, compat-python24-elementtree
Requires: compat-python24-libxml2
Requires(pre): /usr/sbin/useradd
Requires(post): /sbin/chkconfig
Requires(preun): /sbin/chkconfig, /sbin/service
%description
Zope is an application server framework that enables developers to quickly
build web applications such as intranets, portals, and content management
systems.
Zope, by default, will listen on port 8080.
%prep
%setup -q -n Zope-%{version}-final
%patch0 -p0
chmod -x skel/import/README.txt
install -pm 644 %{SOURCE4} README.Fedora
install -pm 644 %{SOURCE5} skel/etc/logrotate.conf.in
%build
rm -rf $RPM_BUILD_ROOT # Configure checks for it
./configure \
--prefix=$RPM_BUILD_ROOT%{zope_home} \
--with-python=%{compat_python}
# --no-compile
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
# Create all required additional directories
for dir in %{zope_home} %{software_home} %{instance_home}/{Products,bin,var} \
%{_sysconfdir}/sysconfig %{_bindir}; do
install -d $RPM_BUILD_ROOT$dir
done
install -D -m 755 %{SOURCE1} $RPM_BUILD_ROOT%{_initrddir}/zope
install -D -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/zope
install -D -m 755 %{SOURCE3} $RPM_BUILD_ROOT%{_bindir}/zopectl
install -D -m 755 %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/cron.daily/zope-logrotate
perl -pi -e 's,<<SYSCONFDIR>>,%{_sysconfdir},g;
s,<<BINDIR>>,%{_bindir},g;
s,<<LOCALSTATEDIR>>,%{_localstatedir},g;
s,<<ZOPE_USER>>,%{zope_user},g' \
$RPM_BUILD_ROOT%{_initrddir}/zope \
$RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/zope \
$RPM_BUILD_ROOT%{_bindir}/zopectl \
$RPM_BUILD_ROOT%{_sysconfdir}/cron.daily/zope-logrotate \
README.Fedora skel/etc/zope.conf.in
# Install the skel, translating paths, into the build root
%{compat_python} "utilities/copyzopeskel.py" \
--sourcedir="skel" \
--targetdir="$RPM_BUILD_ROOT%{instance_home}" \
--replace="INSTANCE_HOME:%{instance_home}" \
--replace="SOFTWARE_HOME:%{software_home}" \
--replace="ZOPE_HOME:%{zope_home}" \
--replace="PYTHON:%{compat_python}" \
# Actually copy all the other files over
make install
chmod 750 $RPM_BUILD_ROOT%{instance_home}
# Fix permissions, must have changed in the upstream tar
chmod 755 $RPM_BUILD_ROOT%{instance_home}/bin/zopectl
chmod 755 $RPM_BUILD_ROOT%{instance_home}/bin/runzope
# Set needed permissions
# We might go as far as to only allow zope r/w to the .pyc files
for dir in %{instance_home}/{Products,log,lib,var}; do
chmod 775 $RPM_BUILD_ROOT$dir
done
chmod 755 $RPM_BUILD_ROOT%{zope_home}
# included in %%doc
rm -rf $RPM_BUILD_ROOT%{zope_home}/doc
# write version.txt
echo "Zope %{version}-%{release}" > \
"$RPM_BUILD_ROOT%{software_home}/version.txt"
# write zope.pth
install -d $RPM_BUILD_ROOT%{python_sitearch}
echo "%{software_home}" > \
"$RPM_BUILD_ROOT%{python_sitearch}/zope.pth"
# Compile .pyc
%{compat_python} -c "import compileall; \
compileall.compile_dir(\"$RPM_BUILD_ROOT%{zope_home}\", \
ddir=\"%{zope_home}\", force=1)"
%clean
rm -rf $RPM_BUILD_ROOT
%pre
%{_sbindir}/useradd -c "Zope user" -s /bin/false -r -d %{zope_home} \
%{zope_user} 2>/dev/null || :
%post
# add zope init to runlevels
/sbin/chkconfig --add zope
%preun
if [ $1 -eq 0 ]; then
/sbin/service zope stop >/dev/null 2>&1
/sbin/chkconfig --del zope
fi
%files
%defattr(-, root, root, -)
%doc doc/* README.Fedora ZopePublicLicense.txt
%config(noreplace) %{_sysconfdir}/sysconfig/zope
%config %{_initrddir}/zope
%config %{_sysconfdir}/cron.daily/zope-logrotate
%attr(0755, root, root) %{_bindir}/zopectl
%dir %{zope_home}
%{zope_home}/bin
%{zope_home}/lib
%dir %{zope_home}/skel
%{zope_home}/skel/bin
%{zope_home}/skel/Extensions
%{zope_home}/skel/import
%{zope_home}/skel/log
%{zope_home}/skel/lib
%{zope_home}/skel/Products
%{zope_home}/skel/README.txt
%{zope_home}/skel/var
%config %{zope_home}/skel/etc
%attr(-, root, %{zope_group}) %{instance_home}/*
%{python_sitearch}/zope.pth
%changelog
* Sun Aug 10 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info - 2.10.6-2
- rebuild for RPM Fusion
* Sun Jul 27 2008 Jonathan Steffan <jon a fedoraunity.org> 2.10.6-1
- Update to 2.10.6
* Sat Dec 1 2007 Jonathan Steffan <jon a fedoraunity.org> 2.10.5-3
- Update permissions for runtime compliation of translations
* Thu Nov 8 2007 Jonathan Steffan <jon a fedoraunity.org> 2.10.5-2
- Update permissions for zopectl and runzope
* Thu Nov 8 2007 Jonathan Steffan <jon a fedoraunity.org> 2.10.5-1
- Update to 2.10.5
- Fix initscript
- Fix permissions
* Mon Sep 3 2007 Jonathan Steffan <jon a fedoraunity.org> 2.10.4-3
- Updated Requires for libxml2-python24 and
compat-python24-elementtree
* Tue Aug 14 2007 Jonathan Steffan <jon a fedoraunity.org> 2.10.4-2
- Added config patch
* Wed Aug 1 2007 Jonathan Steffan <jon a fedoraunity.org> 2.10.4-1
- Initial Package
--- NEW FILE compat-zope.spec~ ---
%define python_minver 2.4.3
%define compat_python %{_bindir}/python2.4
%{!?python_sitearch: %define python_sitearch %(%{compat_python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%define zope_user zope
%define zope_group %{zope_user}
%define zope_home %{_libdir}/zope
%define software_home %{zope_home}/lib/python
%define instance_home %{_localstatedir}/lib/zope
%define zopectl %{_bindir}/zopectl
%define runzope %{_bindir}/runzope
Name: compat-zope
Summary: Web application server for flexible content management applications
Version: 2.10.6
Release: 1%{?dist}
License: ZPL
Group: System Environment/Daemons
URL: http://www.zope.org/
Source0: http://www.zope.org/Products/Zope/%{version}/Zope-%{version}-final.tgz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source1: zope.init.in
Source2: zope.sysconfig.in
Source3: zope.zopectl.in
Source4: zope-README.Fedora
Source5: zope.logrotate.in
Source6: zope.logrotate.cron.in
Patch0: zope-2.10.4-config.patch
BuildRequires: compat-python24-devel >= %{python_minver}
BuildRequires: compat-python24 >= %{python_minver}
Requires: compat-python24 >= %{python_minver}, compat-python24-elementtree
Requires: compat-python24-libxml2
Requires(pre): /usr/sbin/useradd
Requires(post): /sbin/chkconfig
Requires(preun): /sbin/chkconfig, /sbin/service
%description
Zope is an application server framework that enables developers to quickly
build web applications such as intranets, portals, and content management
systems.
Zope, by default, will listen on port 8080.
%prep
%setup -q -n Zope-%{version}-final
%patch0 -p0
chmod -x skel/import/README.txt
install -pm 644 %{SOURCE4} README.Fedora
install -pm 644 %{SOURCE5} skel/etc/logrotate.conf.in
%build
rm -rf $RPM_BUILD_ROOT # Configure checks for it
./configure \
--prefix=$RPM_BUILD_ROOT%{zope_home} \
--with-python=%{compat_python}
# --no-compile
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
# Create all required additional directories
for dir in %{zope_home} %{software_home} %{instance_home}/{Products,bin,var} \
%{_sysconfdir}/sysconfig %{_bindir}; do
install -d $RPM_BUILD_ROOT$dir
done
install -D -m 755 %{SOURCE1} $RPM_BUILD_ROOT%{_initrddir}/zope
install -D -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/zope
install -D -m 755 %{SOURCE3} $RPM_BUILD_ROOT%{_bindir}/zopectl
install -D -m 755 %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/cron.daily/zope-logrotate
perl -pi -e 's,<<SYSCONFDIR>>,%{_sysconfdir},g;
s,<<BINDIR>>,%{_bindir},g;
s,<<LOCALSTATEDIR>>,%{_localstatedir},g;
s,<<ZOPE_USER>>,%{zope_user},g' \
$RPM_BUILD_ROOT%{_initrddir}/zope \
$RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/zope \
$RPM_BUILD_ROOT%{_bindir}/zopectl \
$RPM_BUILD_ROOT%{_sysconfdir}/cron.daily/zope-logrotate \
README.Fedora skel/etc/zope.conf.in
# Install the skel, translating paths, into the build root
%{compat_python} "utilities/copyzopeskel.py" \
--sourcedir="skel" \
--targetdir="$RPM_BUILD_ROOT%{instance_home}" \
--replace="INSTANCE_HOME:%{instance_home}" \
--replace="SOFTWARE_HOME:%{software_home}" \
--replace="ZOPE_HOME:%{zope_home}" \
--replace="PYTHON:%{compat_python}" \
# Actually copy all the other files over
make install
chmod 750 $RPM_BUILD_ROOT%{instance_home}
# Fix permissions, must have changed in the upstream tar
chmod 755 $RPM_BUILD_ROOT%{instance_home}/bin/zopectl
chmod 755 $RPM_BUILD_ROOT%{instance_home}/bin/runzope
# Set needed permissions
# We might go as far as to only allow zope r/w to the .pyc files
for dir in %{instance_home}/{Products,log,lib,var}; do
chmod 775 $RPM_BUILD_ROOT$dir
done
chmod 755 $RPM_BUILD_ROOT%{zope_home}
# included in %%doc
rm -rf $RPM_BUILD_ROOT%{zope_home}/doc
# write version.txt
echo "Zope %{version}-%{release}" > \
"$RPM_BUILD_ROOT%{software_home}/version.txt"
# write zope.pth
install -d $RPM_BUILD_ROOT%{python_sitearch}
echo "%{software_home}" > \
"$RPM_BUILD_ROOT%{python_sitearch}/zope.pth"
# Compile .pyc
%{compat_python} -c "import compileall; \
compileall.compile_dir(\"$RPM_BUILD_ROOT%{zope_home}\", \
ddir=\"%{zope_home}\", force=1)"
%clean
rm -rf $RPM_BUILD_ROOT
%pre
%{_sbindir}/useradd -c "Zope user" -s /bin/false -r -d %{zope_home} \
%{zope_user} 2>/dev/null || :
%post
# add zope init to runlevels
/sbin/chkconfig --add zope
%preun
if [ $1 -eq 0 ]; then
/sbin/service zope stop >/dev/null 2>&1
/sbin/chkconfig --del zope
fi
%files
%defattr(-, root, root, -)
%doc doc/* README.Fedora ZopePublicLicense.txt
%config(noreplace) %{_sysconfdir}/sysconfig/zope
%config %{_initrddir}/zope
%config %{_sysconfdir}/cron.daily/zope-logrotate
%attr(0755, root, root) %{_bindir}/zopectl
%dir %{zope_home}
%{zope_home}/bin
%{zope_home}/lib
%dir %{zope_home}/skel
%{zope_home}/skel/bin
%{zope_home}/skel/Extensions
%{zope_home}/skel/import
%{zope_home}/skel/log
%{zope_home}/skel/lib
%{zope_home}/skel/Products
%{zope_home}/skel/README.txt
%{zope_home}/skel/var
%config %{zope_home}/skel/etc
%attr(-, root, %{zope_group}) %{instance_home}/*
%{python_sitearch}/zope.pth
%changelog
* Sun Jul 27 2008 Jonathan Steffan <jon a fedoraunity.org> 2.10.6-1
- Update to 2.10.6
* Sat Dec 1 2007 Jonathan Steffan <jon a fedoraunity.org> 2.10.5-3
- Update permissions for runtime compliation of translations
* Thu Nov 8 2007 Jonathan Steffan <jon a fedoraunity.org> 2.10.5-2
- Update permissions for zopectl and runzope
* Thu Nov 8 2007 Jonathan Steffan <jon a fedoraunity.org> 2.10.5-1
- Update to 2.10.5
- Fix initscript
- Fix permissions
* Mon Sep 3 2007 Jonathan Steffan <jon a fedoraunity.org> 2.10.4-3
- Updated Requires for libxml2-python24 and
compat-python24-elementtree
* Tue Aug 14 2007 Jonathan Steffan <jon a fedoraunity.org> 2.10.4-2
- Added config patch
* Wed Aug 1 2007 Jonathan Steffan <jon a fedoraunity.org> 2.10.4-1
- Initial Package
zope-2.10.4-config.patch:
--- NEW FILE zope-2.10.4-config.patch ---
--- skel/etc/zope.conf.in.orig 2007-08-14 00:14:05.000000000 -0600
+++ skel/etc/zope.conf.in 2007-08-14 00:14:49.000000000 -0600
@@ -148,6 +148,7 @@
#
# effective-user chrism
+effective-user zope
# Directive: enable-product-installation
#
@@ -288,6 +289,7 @@
#
# mime-types $INSTANCE/etc/mime.types
+mime-types /etc/mime.types
# Directive: structured-text-header-level
#
--- NEW FILE zope-README.Fedora ---
==== Concerning the Fedora package ====
A default instance has been installed in <<LOCALSTATEDIR>>/lib/zope.
You can create additional instances using the mkzopeinstance.py script
Add your instances to <<SYSCONFDIR>>/sysconfig/zope to make the zopectl script
aware of them. Every operation run by <<BINDIR>>/zopectl will affect all
your instances, you can control them independently using the zopectl
script in the bin/ directory inside your instance.
When you create a new instance, remember to change the default listening
ports and to chown the directory to the zope user.
--- NEW FILE zope.init.in ---
#!/bin/sh
# Startup script for Zope
#
# chkconfig: - 80 20
# description: Zope, a web application server
#
# config: $instance/etc/zope.conf
# Source function library.
. /etc/init.d/functions
RETVAL=0
zopectl="<<BINDIR>>/zopectl"
user="<<ZOPE_USER>>"
prog="zope"
start() {
echo -n $"Starting $prog: "
output=`$zopectl -u $user start 2>/dev/null`
# the return status of zopectl is not reliable, we need to parse
# its output via substring match
if echo $output | grep -q "started"; then
# success
touch /var/lock/subsys/$prog
success
echo
RETVAL=0
else
# failed
failure
echo
RETVAL=1
fi
return $RETVAL
}
stop() {
echo -n $"Stopping $prog: "
output=`$zopectl -u $user stop 2>/dev/null`
# the return status of zopectl is not reliable, we need to parse
# its output via substring match
if echo $output | grep -q "stopped"; then
# success
rm -f /var/lock/subsys/$prog
success
echo
RETVAL=0
else
# failed
failure
echo
RETVAL=1
fi
return $RETVAL
}
restart() {
stop
start
}
case "$1" in
start)
start
;;
stop)
stop
;;
status)
$zopectl status
;;
restart)
restart
;;
condrestart)
$zopectl status | grep -qs "program running" && restart
;;
*)
echo $"Usage: $0 {start|stop|status|restart|condrestart}"
RETVAL=2
esac
exit $RETVAL
--- NEW FILE zope.logrotate.cron.in ---
#!/bin/bash
. <<SYSCONFDIR>>/sysconfig/zope
for instance in $ZOPE_INSTANCES; do
logrotate $instance/etc/logrotate.conf
done
--- NEW FILE zope.logrotate.in ---
<<INSTANCE_HOME>>/log/*.log {
missingok
sharedscripts
rotate 4
weekly
compress
postrotate
<<INSTANCE_HOME>>/bin/zopectl logreopen >/dev/null 2>&1
endscript
}
--- NEW FILE zope.sysconfig.in ---
# List here the paths to your Zope instances, space separated.
#
# Example : ZOPE_INSTANCES="/var/lib/zope-test /var/lib/zope-prod"
#
# This file is used by the generic zopectl script.
#
ZOPE_INSTANCES="<<LOCALSTATEDIR>>/lib/zope"
--- NEW FILE zope.zopectl.in ---
#!/bin/bash
. <<SYSCONFDIR>>/sysconfig/zope
for instance in $ZOPE_INSTANCES; do
$instance/bin/zopectl "$@"
done
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/compat-zope/F-9/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 22 Jul 2008 16:49:26 -0000 1.1
+++ .cvsignore 10 Aug 2008 10:10:47 -0000 1.2
@@ -0,0 +1 @@
+Zope-2.10.6-final.tgz
Index: sources
===================================================================
RCS file: /cvs/free/rpms/compat-zope/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 22 Jul 2008 16:49:26 -0000 1.1
+++ sources 10 Aug 2008 10:10:47 -0000 1.2
@@ -0,0 +1 @@
+c04427dfae2003ff743ae047bad5fcc7 Zope-2.10.6-final.tgz
16 years, 2 months
rpms/compat-python24-imaging/F-9 compat-python-imaging-1.1.6-sane-types.patch, NONE, 1.1 compat-python-imaging-giftrans.patch, NONE, 1.1 compat-python-imaging-lib64.patch, NONE, 1.1 compat-python-imaging-no-xv.patch, NONE, 1.1 compat-python24-imaging.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
by Thorsten Leemhuis
Author: thl
Update of /cvs/free/rpms/compat-python24-imaging/F-9
In directory se02.es.rpmfusion.net:/tmp/cvs-serv14404
Modified Files:
.cvsignore sources
Added Files:
compat-python-imaging-1.1.6-sane-types.patch
compat-python-imaging-giftrans.patch
compat-python-imaging-lib64.patch
compat-python-imaging-no-xv.patch compat-python24-imaging.spec
Log Message:
initial import from livna
compat-python-imaging-1.1.6-sane-types.patch:
--- NEW FILE compat-python-imaging-1.1.6-sane-types.patch ---
--- Imaging-1.1.6/Sane/_sane.c.types 2006-12-03 13:12:22.000000000 +0100
+++ Imaging-1.1.6/Sane/_sane.c 2007-04-28 11:41:19.000000000 +0200
@@ -1152,8 +1152,8 @@
static PyObject *
PySane_get_devices(PyObject *self, PyObject *args)
{
- SANE_Device **devlist;
- SANE_Device *dev;
+ const SANE_Device **devlist;
+ const SANE_Device *dev;
SANE_Status st;
PyObject *list;
int local_only, i;
compat-python-imaging-giftrans.patch:
--- NEW FILE compat-python-imaging-giftrans.patch ---
See http://bugs.debian.org/159693
diff -Naru Imaging-1.1.4.orig/PIL/GifImagePlugin.py Imaging-1.1.4/PIL/GifImagePlugin.py
--- Imaging-1.1.4.orig/PIL/GifImagePlugin.py 2003-05-06 23:44:16.000000000 +0300
+++ Imaging-1.1.4/PIL/GifImagePlugin.py 2004-10-09 21:12:12.635957206 +0300
@@ -346,6 +346,11 @@
for i in range(maxcolor):
s.append(chr(i) * 3)
+ if im.info.has_key('transparency'):
+ transparentIndex = im.info['transparency']
+ s.append('!' + chr(0xf9) + chr(4) + chr(1) + chr(0) + chr(0) +
+ chr(transparentIndex) + chr(0))
+
return s
def getdata(im, offset = (0, 0), **params):
compat-python-imaging-lib64.patch:
--- NEW FILE compat-python-imaging-lib64.patch ---
--- setup-old.py 2005-03-23 18:16:40.000000000 +0000
+++ setup.py 2006-04-02 22:34:04.000000000 +0100
@@ -180,6 +180,7 @@
add_directory(library_dirs, "/usr/local/lib")
add_directory(include_dirs, "/usr/local/include")
+ add_directory(library_dirs, "/usr/lib64")
add_directory(library_dirs, "/usr/lib")
add_directory(include_dirs, "/usr/include")
compat-python-imaging-no-xv.patch:
--- NEW FILE compat-python-imaging-no-xv.patch ---
diff -Naru Imaging-1.1.4.orig/PIL/Image.py Imaging-1.1.4/PIL/Image.py
--- Imaging-1.1.4.orig/PIL/Image.py 2003-05-08 23:48:47.000000000 +0300
+++ Imaging-1.1.4/PIL/Image.py 2004-10-09 21:11:16.547285512 +0300
@@ -1722,9 +1722,7 @@
else:
format = None
if not command:
- command = "xv"
- if title:
- command = command + " -name \"%s\"" % title
+ command = "eog"
if self.mode == "I;16":
# @PIL88 @PIL101
--- NEW FILE compat-python24-imaging.spec ---
%{!?python_sitelib: %define python_sitelib %(/usr/bin/python2.4 -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%define pyver 2.4
%define py_incdir %{_includedir}/python%{pyver}
Summary: Python's own image processing library
Name: compat-python24-imaging
Version: 1.1.6
Release: 2%{?dist}
License: BSD
Group: System Environment/Libraries
Source0: http://effbot.org/downloads/Imaging-%{version}.tar.gz
Patch0: compat-python-imaging-no-xv.patch
Patch1: compat-python-imaging-lib64.patch
Patch2: compat-python-imaging-giftrans.patch
Patch3: compat-python-imaging-1.1.6-sane-types.patch
URL: http://www.pythonware.com/products/pil/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: compat-python24-devel, libjpeg-devel, zlib-devel, freetype-devel
BuildRequires: compat-tkinter24, tk-devel
BuildRequires: sane-backends-devel
Requires: python(abi) = 2.4
%description
Python Imaging Library
The Python Imaging Library (PIL) adds image processing capabilities
to your Python interpreter.
This library provides extensive file format support, an efficient
internal representation, and powerful image processing capabilities.
Details about licensing can be found from README file.
%package devel
Summary: Development files for python-imaging
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}, compat-python24-devel
Requires: libjpeg-devel
Requires: zlib-devel
%description devel
Development files for python-imaging.
%package sane
Summary: Python Module for using scanners
Group: System Environment/Libraries
Requires: %{name} = %{version}-%{release}
%description sane
This package contains the sane module for Python which provides access to
various raster scanning devices such as flatbed scanners and digital cameras.
%package tk
Summary: Tk interface for python-imaging
Group: System Environment/Libraries
Requires: %{name} = %{version}-%{release}
Requires: compat-tkinter24
%description tk
This package contains a Tk interface for python-imaging.
%prep
%setup -q -n Imaging-%{version}
%patch0 -p1
%patch1 -p0
%patch2 -p1
%patch3 -p1 -b .sane-types
# fix the interpreter path for Scripts/*.py
cd Scripts
for scr in *.py
do
sed -e "s|/usr/local/bin/python|%{_bindir}/python2.4|" $scr > tmp.py
mv tmp.py $scr
chmod 755 $scr
done
%build
# Is this still relevant? (It was used in 1.1.4)
#%ifarch x86_64
# CFLAGS="$RPM_OPT_FLAGS -fPIC -DPIC" \
#%endif
CFLAGS="$RPM_OPT_FLAGS" %{_bindir}/python2.4 setup.py build
pushd Sane
CFLAGS="$RPM_OPT_FLAGS" %{_bindir}/python2.4 setup.py build
popd
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{py_incdir}/Imaging
install -m 644 libImaging/*.h $RPM_BUILD_ROOT/%{py_incdir}/Imaging
%{_bindir}/python2.4 setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
pushd Sane
%{_bindir}/python2.4 setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
popd
# There is no need to ship the binaries since they are already packaged
# in %doc
rm -rf $RPM_BUILD_ROOT%{_bindir}
# Separate files that need Tk and files that don't
echo '%%defattr (0644,root,root,755)' > files.main
echo '%%defattr (0644,root,root,755)' > files.tk
p="$PWD"
pushd $RPM_BUILD_ROOT%{python_sitelib}/PIL
for file in *; do
case "$file" in
ImageTk*|SpiderImagePlugin*|_imagingtk.so)
what=files.tk
;;
*)
what=files.main
;;
esac
echo %{python_sitelib}/PIL/$file >> "$p/$what"
done
popd
%check || :
PYTHONPATH=$(ls -1d build/lib.linux*) %{_bindir}/python2.4 selftest.py
%clean
rm -rf $RPM_BUILD_ROOT
%files -f files.main
%defattr (-,root,root)
%doc README CHANGES
%{python_sitelib}/PIL.pth
%dir %{python_sitelib}/PIL
%files devel
%defattr (0644,root,root,755)
%{py_incdir}/Imaging
%doc Docs Scripts Images
%files sane
%defattr (0644,root,root,755)
%doc Sane/CHANGES Sane/demo*.py Sane/sanedoc.txt
%{python_sitelib}/_sane.so
%{python_sitelib}/sane.py*
%files tk -f files.tk
%changelog
* Sun Aug 10 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info - 1.1.6-2
- rebuild for RPM Fusion
* Mon Jun 18 2007 Jonathan Steffan <jon a fedoraunity.org> 1.1.6-1
- Initial build from fc6 srpm
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/compat-python24-imaging/F-9/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 22 Jul 2008 16:49:02 -0000 1.1
+++ .cvsignore 10 Aug 2008 07:59:02 -0000 1.2
@@ -0,0 +1 @@
+Imaging-1.1.6.tar.gz
Index: sources
===================================================================
RCS file: /cvs/free/rpms/compat-python24-imaging/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 22 Jul 2008 16:49:02 -0000 1.1
+++ sources 10 Aug 2008 07:59:02 -0000 1.2
@@ -0,0 +1 @@
+3a9b5c20ca52f0a9900512d2c7347622 Imaging-1.1.6.tar.gz
16 years, 2 months
rpms/compat-python24-setuptools/F-9 compat-python24-setuptools.spec, NONE, 1.1 psfl.txt, NONE, 1.1 zpl.txt, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
by Thorsten Leemhuis
Author: thl
Update of /cvs/free/rpms/compat-python24-setuptools/F-9
In directory se02.es.rpmfusion.net:/tmp/cvs-serv14260
Modified Files:
.cvsignore sources
Added Files:
compat-python24-setuptools.spec psfl.txt zpl.txt
Log Message:
initial import from livna
--- NEW FILE compat-python24-setuptools.spec ---
%define compat_python %{_bindir}/python2.4
%{!?python_sitelib: %define python_sitelib %(%{compat_python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
Name: compat-python24-setuptools
Version: 0.6c7
Release: 4%{?dist}
Summary: Download, build, install, upgrade, and uninstall Python packages
Group: Applications/System
License: Python or ZPLv2.0
URL: http://peak.telecommunity.com/DevCenter/setuptools
Source0: http://cheeseshop.python.org/packages/source/s/setuptools/setuptools-%{ve...
Source1: psfl.txt
Source2: zpl.txt
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: compat-python24-devel
%description
setuptools is a collection of enhancements to the Python distutils that allow
you to more easily build and distribute Python packages, especially ones that
have dependencies on other packages.
This package contains the runtime components of setuptools, necessary to
execute the software that requires pkg_resources.py.
%package devel
Summary: Download, install, upgrade, and uninstall Python packages
Group: Development/Languages
Requires: python-devel
Requires: %{name} = %{version}-%{release}
%description devel
setuptools is a collection of enhancements to the Python distutils that allow
you to more easily build and distribute Python packages, especially ones that
have dependencies on other packages.
This package contains the components necessary to build and install software
requiring setuptools.
%prep
%setup -q -n setuptools-%{version}
chmod -x *.txt
find -name '*.py' | xargs sed -i '1s|^#!python|#!%{compat_python}|'
%build
CFLAGS="$RPM_OPT_FLAGS" %{compat_python} setup.py build
%check
# We expect one failure with the current setup
%{compat_python} setup.py test || :
%install
rm -rf $RPM_BUILD_ROOT
%{compat_python} setup.py install -O1 --skip-build \
--root $RPM_BUILD_ROOT \
--single-version-externally-managed
rm -rf $RPM_BUILD_ROOT%{python_sitelib}/setuptools/tests
install -p -m 0644 %{SOURCE1} %{SOURCE2} .
find $RPM_BUILD_ROOT%{python_sitelib} -name '*.exe' | xargs rm -f
find $RPM_BUILD_ROOT%{python_sitelib} -name '*.txt' | xargs chmod -x
chmod +x $RPM_BUILD_ROOT%{python_sitelib}/setuptools/command/easy_install.py
rm -f $RPM_BUILD_ROOT%{_bindir}/easy_install
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc psfl.txt zpl.txt pkg_resources.txt setuptools.txt
%{python_sitelib}/*
%{_bindir}/*
#%%exclude %{python_sitelib}/easy_install*
%files devel
%defattr(-,root,root,-)
%doc psfl.txt zpl.txt EasyInstall.txt README.txt api_tests.txt
#%%{python_sitelib}/easy_install*
#%%{_bindir}/*
%changelog
* Sun Aug 10 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info - 0.6c7-4
- rebuild for RPM Fusion
* Mon Dec 31 2007 Jonathan Steffan <jon a fedoraunity.org> - 0.6c7-3
- Install easy_install with the main package (move it out of -devel)
* Mon Dec 31 2007 Jonathan Steffan <jon a fedoraunity.org> - 0.6c7-2
- Base off python-setuptools 0.6c7-2.fc8
--- NEW FILE psfl.txt ---
Python Software Foundation License
Python 2.1.1 license
This is the official license for the Python 2.1.1 release:
A. HISTORY OF THE SOFTWARE
==========================
Python was created in the early 1990s by Guido van Rossum at Stichting
Mathematisch Centrum (CWI) in the Netherlands as a successor of a language
called ABC. Guido is Python's principal author, although it includes many
contributions from others. The last version released from CWI was Python 1.2.
In 1995, Guido continued his work on Python at the Corporation for National
Research Initiatives (CNRI) in Reston, Virginia where he released several
versions of the software. Python 1.6 was the last of the versions released by
CNRI. In 2000, Guido and the Python core development team moved to BeOpen.com
to form the BeOpen PythonLabs team. Python 2.0 was the first and only release
from BeOpen.com.
Following the release of Python 1.6, and after Guido van Rossum left CNRI to
work with commercial software developers, it became clear that the ability to
use Python with software available under the GNU Public License (GPL) was very
desirable. CNRI and the Free Software Foundation (FSF) interacted to develop
enabling wording changes to the Python license. Python 1.6.1 is essentially the
same as Python 1.6, with a few minor bug fixes, and with a different license
that enables later versions to be GPL-compatible. Python 2.1 is a derivative
work of Python 1.6.1, as well as of Python 2.0.
After Python 2.0 was released by BeOpen.com, Guido van Rossum and the other
PythonLabs developers joined Digital Creations. All intellectual property added
from this point on, starting with Python 2.1 and its alpha and beta releases,
is owned by the Python Software Foundation (PSF), a non-profit modeled after
the Apache Software Foundation. See http://www.python.org/psf/ for more
information about the PSF.
Thanks to the many outside volunteers who have worked under Guido's direction
to make these releases possible.
B. TERMS AND CONDITIONS FOR ACCESSING OR OTHERWISE USING PYTHON
===============================================================
PSF LICENSE AGREEMENT
---------------------
1. This LICENSE AGREEMENT is between the Python Software Foundation ("PSF"),
and the Individual or Organization ("Licensee") accessing and otherwise using
Python 2.1.1 software in source or binary form and its associated
documentation.
2. Subject to the terms and conditions of this License Agreement, PSF hereby
grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce,
analyze, test, perform and/or display publicly, prepare derivative works,
distribute, and otherwise use Python 2.1.1 alone or in any derivative version,
provided, however, that PSF's License Agreement and PSF's notice of copyright,
i.e., "Copyright (c) 2001 Python Software Foundation; All Rights Reserved" are
retained in Python 2.1.1 alone or in any derivative version prepared by
Licensee.
3. In the event Licensee prepares a derivative work that is based on or
incorporates Python 2.1.1 or any part thereof, and wants to make the derivative
work available to others as provided herein, then Licensee hereby agrees to
include in any such work a brief summary of the changes made to Python 2.1.1.
4. PSF is making Python 2.1.1 available to Licensee on an "AS IS" basis. PSF
MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY OF EXAMPLE,
BUT NOT LIMITATION, PSF MAKES NO AND DISCLAIMS ANY REPRESENTATION OR WARRANTY
OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF
PYTHON 2.1.1 WILL NOT INFRINGE ANY THIRD PARTY RIGHTS.
5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON 2.1.1 FOR
ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS A RESULT OF
MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 2.1.1, OR ANY DERIVATIVE
THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
6. This License Agreement will automatically terminate upon a material breach
of its terms and conditions.
7. Nothing in this License Agreement shall be deemed to create any relationship
of agency, partnership, or joint venture between PSF and Licensee. This License
Agreement does not grant permission to use PSF trademarks or trade name in a
trademark sense to endorse or promote products or services of Licensee, or any
third party.
8. By copying, installing or otherwise using Python 2.1.1, Licensee agrees to
be bound by the terms and conditions of this License Agreement.
BEOPEN.COM TERMS AND CONDITIONS FOR PYTHON 2.0
----------------------------------------------
BEOPEN PYTHON OPEN SOURCE LICENSE AGREEMENT VERSION 1
1. This LICENSE AGREEMENT is between BeOpen.com ("BeOpen"), having an office at
160 Saratoga Avenue, Santa Clara, CA 95051, and the Individual or Organization
("Licensee") accessing and otherwise using this software in source or binary
form and its associated documentation ("the Software").
2. Subject to the terms and conditions of this BeOpen Python License Agreement,
BeOpen hereby grants Licensee a non-exclusive, royalty-free, world-wide license
to reproduce, analyze, test, perform and/or display publicly, prepare
derivative works, distribute, and otherwise use the Software alone or in any
derivative version, provided, however, that the BeOpen Python License is
retained in the Software, alone or in any derivative version prepared by
Licensee.
3. BeOpen is making the Software available to Licensee on an "AS IS" basis.
BEOPEN MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY OF
EXAMPLE, BUT NOT LIMITATION, BEOPEN MAKES NO AND DISCLAIMS ANY REPRESENTATION
OR WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT
THE USE OF THE SOFTWARE WILL NOT INFRINGE ANY THIRD PARTY RIGHTS.
4. BEOPEN SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF THE SOFTWARE
FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS A RESULT OF
USING, MODIFYING OR DISTRIBUTING THE SOFTWARE, OR ANY DERIVATIVE THEREOF, EVEN
IF ADVISED OF THE POSSIBILITY THEREOF.
5. This License Agreement will automatically terminate upon a material breach
of its terms and conditions.
6. This License Agreement shall be governed by and interpreted in all respects
by the law of the State of California, excluding conflict of law provisions.
Nothing in this License Agreement shall be deemed to create any relationship of
agency, partnership, or joint venture between BeOpen and Licensee. This License
Agreement does not grant permission to use BeOpen trademarks or trade names in
a trademark sense to endorse or promote products or services of Licensee, or
any third party. As an exception, the "BeOpen Python" logos available at
http://www.pythonlabs.com/logos.html may be used according to the permissions
granted on that web page.
7. By copying, installing or otherwise using the software, Licensee agrees to
be bound by the terms and conditions of this License Agreement.
CNRI OPEN SOURCE GPL-COMPATIBLE LICENSE AGREEMENT
-------------------------------------------------
1. This LICENSE AGREEMENT is between the Corporation for National Research
Initiatives, having an office at 1895 Preston White Drive, Reston, VA 20191
("CNRI"), and the Individual or Organization ("Licensee") accessing and
otherwise using Python 1.6.1 software in source or binary form and its
associated documentation.
2. Subject to the terms and conditions of this License Agreement, CNRI hereby
grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce,
analyze, test, perform and/or display publicly, prepare derivative works,
distribute, and otherwise use Python 1.6.1 alone or in any derivative version,
provided, however, that CNRI's License Agreement and CNRI's notice of
copyright, i.e., "Copyright (c) 1995-2001 Corporation for National Research
Initiatives; All Rights Reserved" are retained in Python 1.6.1 alone or in any
derivative version prepared by Licensee. Alternately, in lieu of CNRI's License
Agreement, Licensee may substitute the following text (omitting the quotes):
"Python 1.6.1 is made available subject to the terms and conditions in CNRI's
License Agreement. This Agreement together with Python 1.6.1 may be located on
the Internet using the following unique, persistent identifier (known as a
handle): 1895.22/1013. This Agreement may also be obtained from a proxy server
on the Internet using the following URL: http://hdl.handle.net/1895.22/1013".
3. In the event Licensee prepares a derivative work that is based on or
incorporates Python 1.6.1 or any part thereof, and wants to make the derivative
work available to others as provided herein, then Licensee hereby agrees to
include in any such work a brief summary of the changes made to Python 1.6.1.
4. CNRI is making Python 1.6.1 available to Licensee on an "AS IS" basis. CNRI
MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY OF EXAMPLE,
BUT NOT LIMITATION, CNRI MAKES NO AND DISCLAIMS ANY REPRESENTATION OR WARRANTY
OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF
PYTHON 1.6.1 WILL NOT INFRINGE ANY THIRD PARTY RIGHTS.
5. CNRI SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON 1.6.1 FOR
ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS A RESULT OF
MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 1.6.1, OR ANY DERIVATIVE
THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
6. This License Agreement will automatically terminate upon a material breach
of its terms and conditions.
7. This License Agreement shall be governed by the federal intellectual
property law of the United States, including without limitation the federal
copyright law, and, to the extent such U.S. federal law does not apply, by the
law of the Commonwealth of Virginia, excluding Virginia's conflict of law
provisions. Notwithstanding the foregoing, with regard to derivative works
based on Python 1.6.1 that incorporate non-separable material that was
previously distributed under the GNU General Public License (GPL), the law of
the Commonwealth of Virginia shall govern this License Agreement only as to
issues arising under or with respect to Paragraphs 4, 5, and 7 of this License
Agreement. Nothing in this License Agreement shall be deemed to create any
relationship of agency, partnership, or joint venture between CNRI and
Licensee. This License Agreement does not grant permission to use CNRI
trademarks or trade name in a trademark sense to endorse or promote products or
services of Licensee, or any third party.
8. By clicking on the "ACCEPT" button where indicated, or by copying,
installing or otherwise using Python 1.6.1, Licensee agrees to be bound by the
terms and conditions of this License Agreement.
ACCEPT
CWI PERMISSIONS STATEMENT AND DISCLAIMER
----------------------------------------
Copyright (c) 1991 - 1995, Stichting Mathematisch Centrum Amsterdam, The
Netherlands. All rights reserved.
Permission to use, copy, modify, and distribute this software and its
documentation for any purpose and without fee is hereby granted, provided that
the above copyright notice appear in all copies and that both that copyright
notice and this permission notice appear in supporting documentation, and that
the name of Stichting Mathematisch Centrum or CWI not be used in advertising or
publicity pertaining to distribution of the software without specific, written
prior permission.
STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN
NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE FOR ANY SPECIAL,
INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
THIS SOFTWARE.
--- NEW FILE zpl.txt ---
Zope Public License (ZPL) Version 2.0
-----------------------------------------------
This software is Copyright (c) Zope Corporation (tm) and
Contributors. All rights reserved.
This license has been certified as open source. It has also
been designated as GPL compatible by the Free Software
Foundation (FSF).
Redistribution and use in source and binary forms, with or
without modification, are permitted provided that the
following conditions are met:
1. Redistributions in source code must retain the above
copyright notice, this list of conditions, and the following
disclaimer.
2. Redistributions in binary form must reproduce the above
copyright notice, this list of conditions, and the following
disclaimer in the documentation and/or other materials
provided with the distribution.
3. The name Zope Corporation (tm) must not be used to
endorse or promote products derived from this software
without prior written permission from Zope Corporation.
4. The right to distribute this software or to use it for
any purpose does not give you the right to use Servicemarks
(sm) or Trademarks (tm) of Zope Corporation. Use of them is
covered in a separate agreement (see
http://www.zope.com/Marks).
5. If any files are modified, you must cause the modified
files to carry prominent notices stating that you changed
the files and the date of any change.
Disclaimer
THIS SOFTWARE IS PROVIDED BY ZOPE CORPORATION ``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 ZOPE CORPORATION OR ITS 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.
This software consists of contributions made by Zope
Corporation and many individuals on behalf of Zope
Corporation. Specific attributions are listed in the
accompanying credits file.
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/compat-python24-setuptools/F-9/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 22 Jul 2008 16:49:18 -0000 1.1
+++ .cvsignore 10 Aug 2008 07:57:44 -0000 1.2
@@ -0,0 +1 @@
+setuptools-0.6c7.tar.gz
Index: sources
===================================================================
RCS file: /cvs/free/rpms/compat-python24-setuptools/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 22 Jul 2008 16:49:18 -0000 1.1
+++ sources 10 Aug 2008 07:57:44 -0000 1.2
@@ -0,0 +1 @@
+dedbf6a4f71cd6deaf13ee885054f16b setuptools-0.6c7.tar.gz
16 years, 2 months
rpms/compat-python24-lxml/F-9 compat-python24-lxml.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
by Thorsten Leemhuis
Author: thl
Update of /cvs/free/rpms/compat-python24-lxml/F-9
In directory se02.es.rpmfusion.net:/tmp/cvs-serv13834
Modified Files:
.cvsignore sources
Added Files:
compat-python24-lxml.spec
Log Message:
initial import from livna
--- NEW FILE compat-python24-lxml.spec ---
%define compat_python %{_bindir}/python2.4
%{!?python_sitearch: %define python_sitearch %(%{compat_python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
Name: compat-python24-lxml
Version: 2.0.5
Release: 2%{?dist}
Summary: ElementTree-like Python bindings for libxml2 and libxslt
Group: Development/Libraries
License: BSD
URL: http://codespeak.net/lxml/
Source0: http://codespeak.net/lxml/lxml-%{version}.tgz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: compat-python24-devel
BuildRequires: libxslt-devel
BuildRequires: compat-python24-setuptools-devel
%description
lxml provides a Python binding to the libxslt and libxml2 libraries.
It follows the ElementTree API as much as possible in order to provide
a more Pythonic interface to libxml2 and libxslt than the default
bindings. In particular, lxml deals with Python Unicode strings
rather than encoded UTF-8 and handles memory management automatically,
unlike the default bindings.
%prep
%setup -q -n lxml-%{version}
chmod a-x doc/rest2html.py
%build
CFLAGS="%{optflags}" %{compat_python} setup.py build
%install
rm -rf %{buildroot}
%{compat_python} setup.py install --skip-build --root %{buildroot}
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc README.txt LICENSES.txt PKG-INFO CREDITS.txt CHANGES.txt doc/
%{python_sitearch}/*
%changelog
* Sun Aug 10 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info - 2.0.5-2
- rebuild for RPM Fusion
* Mon May 26 2008 Jonathan Steffan <jonathansteffan a gmail.com> 2.0.5-1
- Update to 2.0.5
* Thu Mar 27 2008 Jonathan Steffan <jonathansteffan a gmail.com> 1.3.6-2
- Make a compat-python24 package,
based on 1.3.6-1 from Fedora 8
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/compat-python24-lxml/F-9/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 22 Jul 2008 16:49:10 -0000 1.1
+++ .cvsignore 10 Aug 2008 07:56:44 -0000 1.2
@@ -0,0 +1 @@
+lxml-2.0.5.tgz
Index: sources
===================================================================
RCS file: /cvs/free/rpms/compat-python24-lxml/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 22 Jul 2008 16:49:10 -0000 1.1
+++ sources 10 Aug 2008 07:56:44 -0000 1.2
@@ -0,0 +1 @@
+2cc8caf84c3b55353d5513c6d668c090 lxml-2.0.5.tgz
16 years, 2 months
rpms/compat-python24-feedparser/F-9 compat-python24-feedparser.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
by Thorsten Leemhuis
Author: thl
Update of /cvs/free/rpms/compat-python24-feedparser/F-9
In directory se02.es.rpmfusion.net:/tmp/cvs-serv13692
Modified Files:
.cvsignore sources
Added Files:
compat-python24-feedparser.spec
Log Message:
initial import from livna
--- NEW FILE compat-python24-feedparser.spec ---
%define compat_python %{_bindir}/python2.4
%{!?python_sitelib: %define python_sitelib %(%{compat_python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
Name: compat-python24-feedparser
Version: 4.1
Release: 5%{?dist}
Summary: Parse RSS and Atom feeds in Python
Group: Development/Languages
License: BSD-ish
URL: http://feedparser.org/
Source0: http://download.sourceforge.net/feedparser/feedparser-%{version}.zip
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: compat-python24-devel
%description
Universal Feed Parser is a Python module for downloading and parsing
syndicated feeds. It can handle RSS 0.90, Netscape RSS 0.91,
Userland RSS 0.91, RSS 0.92, RSS 0.93, RSS 0.94, RSS 1.0, RSS 2.0,
Atom 0.3, Atom 1.0, and CDF feeds. It also parses several popular extension
modules, including Dublin Core and Apple's iTunes extensions.
%prep
%setup -q -c
find -type f -exec sed -i 's/\r//' {} ';'
find -type f -exec chmod 0644 {} ';'
%build
CFLAGS="$RPM_OPT_FLAGS" %{compat_python} setup.py build
%install
rm -rf $RPM_BUILD_ROOT
%{compat_python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
cp -a docs html
rm -f html/examples/.ht*
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc LICENSE README html
%{python_sitelib}/*
%changelog
* Sun Aug 10 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info - 4.1-5
- rebuild for RPM Fusion
* Thu Mar 27 2008 Jonathan Steffan <jonathansteffan a gmail.com> - 4.1-4
- Make a compat-python24 package,
based on 4.1-3 from Fedora 8
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/compat-python24-feedparser/F-9/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 22 Jul 2008 16:48:54 -0000 1.1
+++ .cvsignore 10 Aug 2008 07:54:31 -0000 1.2
@@ -0,0 +1 @@
+feedparser-4.1.zip
Index: sources
===================================================================
RCS file: /cvs/free/rpms/compat-python24-feedparser/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 22 Jul 2008 16:48:54 -0000 1.1
+++ sources 10 Aug 2008 07:54:31 -0000 1.2
@@ -0,0 +1 @@
+7ab1140c1e29d4cd52ab20fa7b1f8640 feedparser-4.1.zip
16 years, 2 months
rpms/compat-python24-elementtree/F-9 cElementTree-system-expat-setup.py, NONE, 1.1 compat-python24-elementtree.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
by Thorsten Leemhuis
Author: thl
Update of /cvs/free/rpms/compat-python24-elementtree/F-9
In directory se02.es.rpmfusion.net:/tmp/cvs-serv13545
Modified Files:
.cvsignore sources
Added Files:
cElementTree-system-expat-setup.py
compat-python24-elementtree.spec
Log Message:
initial import from livna
***** Error reading new file: [Errno 2] No such file or directory: 'cElementTree-system-expat-setup.py'
--- NEW FILE compat-python24-elementtree.spec ---
%define compat_python %{_bindir}/python2.4
%{!?python_sitelib: %define python_sitelib %(%{compat_python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%{!?python_sitearch: %define python_sitearch %(%{compat_python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%define _upstream_nvr elementtree-1.2.6-20050316
%define _upstream_cnvr cElementTree-1.0.5-20051216
Name: compat-python24-elementtree
Version: 1.2.6
Release: 6%{?dist}
Summary: Fast XML parser and writer
Group: Development/Libraries
License: PSF
URL: http://effbot.org/zone/element-index.htm
Source0: http://effbot.org/downloads/%{_upstream_nvr}.zip
Source1: http://effbot.org/downloads/%{_upstream_cnvr}.tar.gz
Source2: cElementTree-system-expat-setup.py
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: expat-devel, compat-python24-devel, compat-python24
Requires: python-abi = 2.4
%description
The Element type is a simple but flexible container object, designed
to store hierarchical data structures, such as simplified XML
infosets, in memory. The element type can be described as a cross
between a Python list and a Python dictionary.
This package also includes the C implementation, %{_upstream_cnvr}.
%prep
%setup -q -n %{_upstream_nvr} -a 1
## Take care of cElementTree
pushd %{_upstream_cnvr}
mv -f setup.py setup.py-orig
cp -f %{SOURCE2} setup.py
cp -f README ../README-cElementTree
cp -f CHANGES ../CHANGES-cElementTree
popd
%build
%{compat_python} setup.py build
pushd %{_upstream_cnvr}
CFLAGS="$RPM_OPT_FLAGS" %{compat_python} setup.py build
popd
%install
rm -rf $RPM_BUILD_ROOT
%{compat_python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
pushd %{_upstream_cnvr}
%{compat_python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
popd
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc docs samples README* CHANGES* benchmark.py
%dir %{python_sitelib}/elementtree
%{python_sitelib}/elementtree/*.py*
%{python_sitearch}/*.so
%changelog
* Sun Aug 10 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info - 1.2.6-6
- rebuild for RPM Fusion
* Mon Sep 3 2007 Jonathan Steffan <jon a fedoraunity.org> 1.2.6-5
- Initial RPM release
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/compat-python24-elementtree/F-9/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 22 Jul 2008 16:48:46 -0000 1.1
+++ .cvsignore 10 Aug 2008 07:53:29 -0000 1.2
@@ -0,0 +1,2 @@
+cElementTree-1.0.5-20051216.tar.gz
+elementtree-1.2.6-20050316.zip
Index: sources
===================================================================
RCS file: /cvs/free/rpms/compat-python24-elementtree/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 22 Jul 2008 16:48:46 -0000 1.1
+++ sources 10 Aug 2008 07:53:29 -0000 1.2
@@ -0,0 +1,2 @@
+b6896e742e39f594046b07e58f1d25fe cElementTree-1.0.5-20051216.tar.gz
+6751a9005efbd2c543ef32905d4a0acd elementtree-1.2.6-20050316.zip
16 years, 2 months
rpms/compat-python24-libxml2/devel compat-python24-libxml2.spec, NONE, 1.1 multilib.patch, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
by Thorsten Leemhuis
Author: thl
Update of /cvs/free/rpms/compat-python24-libxml2/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv11448
Modified Files:
.cvsignore sources
Added Files:
compat-python24-libxml2.spec multilib.patch
Log Message:
import libxml2-python24 from livna and rename to compat-python24-libxml2
--- NEW FILE compat-python24-libxml2.spec ---
%define compat_python %{_bindir}/python2.4
%{!?python_sitearch: %define python_sitearch %(%{compat_python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%{!?python_sitelib: %define python_sitelib %(%{compat_python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
Summary: Python2.4 bindings for the libxml2 library
Name: compat-python24-libxml2
Version: 2.6.32
Release: 2%{?dist}
License: MIT
Group: Development/Libraries
Source: ftp://xmlsoft.org/libxml2/libxml2-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: compat-python24-devel libxml2-devel
Requires: libxml2 = %{version}, python(abi) = 2.4
URL: http://xmlsoft.org/
Patch0: multilib.patch
Provides: libxml2-python24 = %{version}-%{release}
Obsoletes: libxml2-python24 < 2.6.32-2
%description
The libxml2-python24 package contains a module that permits applications
written in the Python programming language to use the interface
supplied by the libxml2 library to manipulate XML files.
This library allows to manipulate XML files. It includes support
to read, modify and write XML and HTML files. There is DTDs support
this includes parsing and validation even with complex DTDs, either
at parse time or later once the document has been modified.
%prep
%setup -q -n libxml2-%{version}
%patch0 -p1
%build
pushd python
CFLAGS="$RPM_OPT_FLAGS" %{compat_python} setup.py build
popd
gzip -9 ChangeLog
%install
rm -rf $RPM_BUILD_ROOT
pushd python
CFLAGS="$RPM_OPT_FLAGS" %{compat_python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
popd
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
%doc AUTHORS ChangeLog.gz NEWS README Copyright
%{python_sitearch}/libxml2.py*
%{python_sitearch}/drv_libxml2.py*
%{python_sitearch}/libxml2mod*
%doc python/TODO
%doc python/tests/*.py
%doc doc/*.py
%doc doc/python.html
%changelog
* Sat Aug 09 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info - 2.6.32-2
- rebuild for RPM Fusion
- add provides and obsoletes for libxml2-python24 from livna
* Sun Apr 27 2008 Jonathan Steffan <jon a fedoraunity.org> 2.6.32-1
- Update to 2.6.32
* Wed Jan 16 2008 Jonathan Steffan <jon a fedoraunity.org> 2.6.31-1
- Update to 2.6.31
* Tue Jan 15 2008 Jonathan Steffan <jon a fedoraunity.org> 2.6.30-2
- Bump release for rebuild
- Update upstream URL
* Sat Dec 1 2007 Jonathan Steffan <jon a fedoraunity.org> 2.6.30-1
- Update for f8's 2.6.30 libxml2
* Mon Sep 3 2007 Jonathan Steffan <jon a fedoraunity.org> 2.6.29-1
- Only package the python bindings built for python 2.4
multilib.patch:
--- NEW FILE multilib.patch ---
*** XML/xml2-config.in.orig 2006-06-06 16:35:56.000000000 +0200
--- XML/xml2-config.in 2006-06-06 16:36:24.000000000 +0200
***************
*** 3,9 ****
prefix=@prefix@
exec_prefix=@exec_prefix@
includedir=@includedir@
! libdir=@libdir@
usage()
{
--- 3,14 ----
prefix=@prefix@
exec_prefix=@exec_prefix@
includedir=@includedir@
! if [ "`ldd /bin/sh | grep lib64`" = "" ]
! then
! libdir=${exec_prefix}/lib
! else
! libdir=${exec_prefix}/lib64
! fi
usage()
{
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/compat-python24-libxml2/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 9 Aug 2008 08:49:41 -0000 1.1
+++ .cvsignore 10 Aug 2008 07:15:10 -0000 1.2
@@ -0,0 +1 @@
+libxml2-2.6.32.tar.gz
Index: sources
===================================================================
RCS file: /cvs/free/rpms/compat-python24-libxml2/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 9 Aug 2008 08:49:41 -0000 1.1
+++ sources 10 Aug 2008 07:15:10 -0000 1.2
@@ -0,0 +1 @@
+2621d322c16f0257e30f0ff2b13384de libxml2-2.6.32.tar.gz
16 years, 2 months
rpms/compat-python24-libxml2/F-8 compat-python24-libxml2.spec, NONE, 1.1 multilib.patch, NONE, 1.1
by Thorsten Leemhuis
Author: thl
Update of /cvs/free/rpms/compat-python24-libxml2/F-8
In directory se02.es.rpmfusion.net:/tmp/cvs-serv11325
Added Files:
compat-python24-libxml2.spec multilib.patch
Log Message:
import libxml2-python24 from livna and rename to compat-python24-libxml2
--- NEW FILE compat-python24-libxml2.spec ---
%define compat_python %{_bindir}/python2.4
%{!?python_sitearch: %define python_sitearch %(%{compat_python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%{!?python_sitelib: %define python_sitelib %(%{compat_python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
Summary: Python2.4 bindings for the libxml2 library
Name: compat-python24-libxml2
Version: 2.6.32
Release: 2%{?dist}
License: MIT
Group: Development/Libraries
Source: ftp://xmlsoft.org/libxml2/libxml2-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: compat-python24-devel libxml2-devel
Requires: libxml2 = %{version}, python(abi) = 2.4
URL: http://xmlsoft.org/
Patch0: multilib.patch
Provides: libxml2-python24 = %{version}-%{release}
Obsoletes: libxml2-python24 < 2.6.32-2
%description
The libxml2-python24 package contains a module that permits applications
written in the Python programming language to use the interface
supplied by the libxml2 library to manipulate XML files.
This library allows to manipulate XML files. It includes support
to read, modify and write XML and HTML files. There is DTDs support
this includes parsing and validation even with complex DTDs, either
at parse time or later once the document has been modified.
%prep
%setup -q -n libxml2-%{version}
%patch0 -p1
%build
pushd python
CFLAGS="$RPM_OPT_FLAGS" %{compat_python} setup.py build
popd
gzip -9 ChangeLog
%install
rm -rf $RPM_BUILD_ROOT
pushd python
CFLAGS="$RPM_OPT_FLAGS" %{compat_python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
popd
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
%doc AUTHORS ChangeLog.gz NEWS README Copyright
%{python_sitearch}/libxml2.py*
%{python_sitearch}/drv_libxml2.py*
%{python_sitearch}/libxml2mod*
%doc python/TODO
%doc python/tests/*.py
%doc doc/*.py
%doc doc/python.html
%changelog
* Sat Aug 09 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info - 2.6.32-2
- rebuild for RPM Fusion
- add provides and obsoletes for libxml2-python24 from livna
* Sun Apr 27 2008 Jonathan Steffan <jon a fedoraunity.org> 2.6.32-1
- Update to 2.6.32
* Wed Jan 16 2008 Jonathan Steffan <jon a fedoraunity.org> 2.6.31-1
- Update to 2.6.31
* Tue Jan 15 2008 Jonathan Steffan <jon a fedoraunity.org> 2.6.30-2
- Bump release for rebuild
- Update upstream URL
* Sat Dec 1 2007 Jonathan Steffan <jon a fedoraunity.org> 2.6.30-1
- Update for f8's 2.6.30 libxml2
* Mon Sep 3 2007 Jonathan Steffan <jon a fedoraunity.org> 2.6.29-1
- Only package the python bindings built for python 2.4
multilib.patch:
--- NEW FILE multilib.patch ---
*** XML/xml2-config.in.orig 2006-06-06 16:35:56.000000000 +0200
--- XML/xml2-config.in 2006-06-06 16:36:24.000000000 +0200
***************
*** 3,9 ****
prefix=@prefix@
exec_prefix=@exec_prefix@
includedir=@includedir@
! libdir=@libdir@
usage()
{
--- 3,14 ----
prefix=@prefix@
exec_prefix=@exec_prefix@
includedir=@includedir@
! if [ "`ldd /bin/sh | grep lib64`" = "" ]
! then
! libdir=${exec_prefix}/lib
! else
! libdir=${exec_prefix}/lib64
! fi
usage()
{
16 years, 2 months