diff options
author | Robin Lee <robinlee.sysu@gmail.com> | 2010-06-17 22:18:59 +0800 |
---|---|---|
committer | Robin Lee <robinlee.sysu@gmail.com> | 2010-06-17 22:18:59 +0800 |
commit | bc057b279eb24cbf66ad6ff917b46fc0e375af8b (patch) | |
tree | c7d1a5836df04c6ed399ea8556d37dc734156919 | |
parent | 839c24b70dac3d1c5e0fec4e76911534091501c2 (diff) | |
download | zope-rpm-bc057b279eb24cbf66ad6ff917b46fc0e375af8b.tar.gz zope-rpm-bc057b279eb24cbf66ad6ff917b46fc0e375af8b.tar.xz zope-rpm-bc057b279eb24cbf66ad6ff917b46fc0e375af8b.zip |
most of the denpendencies of Zope 2.12
61 files changed, 3377 insertions, 0 deletions
diff --git a/python-Acquisition/F-13/python-Acquisition.spec b/python-Acquisition/F-13/python-Acquisition.spec new file mode 100644 index 0000000..11abe42 --- /dev/null +++ b/python-Acquisition/F-13/python-Acquisition.spec @@ -0,0 +1,77 @@ +%include %{_rpmconfigdir}/macros.python +%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5) +%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} +%endif +%global modname Acquisition +%global version 2.13.3 +%global release 1 + +Summary: Allowing objects to obtain attributes from their containment hierarchy +Name: python-%{modname} +Version: %{version} +Release: %{release}%{?dist} +License: ZPLv2.1 +Source0: http://pypi.python.org/packages/source/A/%{modname}/%{modname}-%{version}.zip +Group: Development/Libraries +URL: http://pypi.python.org/pypi/Acquisition + +BuildRequires: python2-devel +BuildRequires: python-setuptools +#BuildRequires: python-ExtensionClass-devel +Requires: python-ExtensionClass +Requires: python-zope-interface + +%description +Acquisition provides a powerful way to dynamically share information +between objects. Zope 2 uses acquisition for a number of its key +features including security, object publishing, and DTML variable +lookup. Acquisition also provides an elegant solution to the problem +of circular references for many classes of problems. While acquisition +is powerful, you should take care when using acquisition in your +applications. The details can get complex, especially with the +differences between acquiring from context and acquiring from +containment. + +%package devel +Summary: Developer files for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: python2-devel +Requires: python-ExtensionClass-devel +BuildArch: noarch +%description devel +Files for developing applications using %{name}. + +%prep +%setup -q -n %{modname}-%{version} + +%build +env CFLAGS="$RPM_OPT_FLAGS" python setup.py build + +%install +rm -rf $RPM_BUILD_ROOT +python setup.py install --root=$RPM_BUILD_ROOT +# remove contained source file(s) +find $RPM_BUILD_ROOT -name '*.c' -type f -print0 | xargs -0 rm -fv +# deal with header file(s) +rm $RPM_BUILD_ROOT%{python_sitearch}/%{modname}/*.txt +mkdir -p $RPM_BUILD_ROOT%{_includedir}/python%{py_ver}/%{modname}/ +mv $RPM_BUILD_ROOT%{python_sitearch}/%{modname}/%{modname}.h \ + $RPM_BUILD_ROOT%{_includedir}/python%{py_ver}/%{modname}/ + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc CHANGES.txt COPYRIGHT.txt LICENSE.txt src/Acquisition/README.txt +%{python_sitearch}/%{modname}/ +%{python_sitearch}/%{modname}-*.egg-info + +%files devel +%defattr(-,root,root,-) +%{_includedir}/python%{py_ver}/%{modname}/ + +%changelog +* Tue Jun 15 2010 Robin Lee <robinlee.sysu@gmail.com> - 2.13.3-1 +- Initial packaging diff --git a/python-DateTime/F-13/python-DateTime.spec b/python-DateTime/F-13/python-DateTime.spec new file mode 100644 index 0000000..8c2062c --- /dev/null +++ b/python-DateTime/F-13/python-DateTime.spec @@ -0,0 +1,50 @@ +%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5) +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} +%endif +%global modname DateTime +%global version 2.12.2 +%global release 1 + +Summary: This package provides a DateTime data type from Zope 2 +Name: python-%{modname} +Version: %{version} +Release: %{release}%{?dist} +Source0: http://pypi.python.org/packages/source/D/%{modname}/%{modname}-%{version}.tar.gz +BuildArch: noarch +License: ZPLv2.1 +Group: Development/Libraries +URL: http://pypi.python.org/pypi/DateTime + +BuildRequires: python2-devel +BuildRequires: python-setuptools +Requires: pytz +Requires: python-zope-interface + +%description +This package provides a DateTime data type, as known from Zope 2. +Unless you need to communicate with Zope 2 APIs, you're probably +better off using Python's built-in datetime module. + +%prep +%setup -q -n %{modname}-%{version} + +%build +python setup.py build + +%install +rm -rf $RPM_BUILD_ROOT +python setup.py install --root=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc CHANGES.txt COPYRIGHT.txt LICENSE.txt README.txt +%{python_sitelib}/%{modname}/ +%{python_sitelib}/%{modname}-*.egg-info + + +%changelog +* Tue Jun 15 2010 Robin Lee <robinlee.sysu@gmail.com> - 2.12.2-1 +- Initial packaging diff --git a/python-ExtensionClass/F-13/ExtensionClass-2.13.1-tp_basicsize.patch b/python-ExtensionClass/F-13/ExtensionClass-2.13.1-tp_basicsize.patch new file mode 100644 index 0000000..5dbf641 --- /dev/null +++ b/python-ExtensionClass/F-13/ExtensionClass-2.13.1-tp_basicsize.patch @@ -0,0 +1,35 @@ +diff -Naur ExtensionClass-2.13.1/src/ExtensionClass/_ExtensionClass.c ExtensionClass-2.13.1.new/src/ExtensionClass/_ExtensionClass.c +--- ExtensionClass-2.13.1/src/ExtensionClass/_ExtensionClass.c 2010-04-07 17:04:20.000000000 +0800 ++++ ExtensionClass-2.13.1.new/src/ExtensionClass/_ExtensionClass.c 2010-06-14 21:03:12.982523032 +0800 +@@ -820,6 +820,7 @@ + typ->tp_base = &NoInstanceDictionaryBaseType; + else + typ->tp_base = &BaseType; ++ typ->tp_basicsize+= typ->tp_base->tp_basicsize; + + if (typ->tp_new == NULL) + typ->tp_new = PyType_GenericNew; +@@ -935,6 +936,7 @@ + + ExtensionClassType.ob_type = &PyType_Type; + ExtensionClassType.tp_base = &PyType_Type; ++ ExtensionClassType.tp_basicsize = PyType_Type.tp_basicsize; + ExtensionClassType.tp_traverse = PyType_Type.tp_traverse; + ExtensionClassType.tp_clear = PyType_Type.tp_clear; + +@@ -944,6 +946,7 @@ + + BaseType.ob_type = &ExtensionClassType; + BaseType.tp_base = &PyBaseObject_Type; ++ BaseType.tp_basicsize = PyBaseObject_Type.tp_basicsize; + BaseType.tp_new = PyType_GenericNew; + + if (PyType_Ready(&BaseType) < 0) +@@ -951,6 +954,7 @@ + + NoInstanceDictionaryBaseType.ob_type = &ExtensionClassType; + NoInstanceDictionaryBaseType.tp_base = &BaseType; ++ NoInstanceDictionaryBaseType.tp_basicsize = BaseType.tp_basicsize; + NoInstanceDictionaryBaseType.tp_new = PyType_GenericNew; + + if (PyType_Ready(&NoInstanceDictionaryBaseType) < 0) diff --git a/python-ExtensionClass/F-13/python-ExtensionClass.spec b/python-ExtensionClass/F-13/python-ExtensionClass.spec new file mode 100644 index 0000000..55a7d96 --- /dev/null +++ b/python-ExtensionClass/F-13/python-ExtensionClass.spec @@ -0,0 +1,98 @@ +%include %{_rpmconfigdir}/macros.python +%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5) +%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} +%endif +%global modname ExtensionClass +%global version 2.13.2 +%global release 1 + +Summary: Metaclass for subclassable extension types +Name: python-%{modname} +Version: %{version} +Release: %{release}%{?dist} +Source0: http://pypi.python.org/packages/source/E/%{modname}/%{modname}-%{version}.zip +# lp587760, patch provided by Artur Zaprzała <https://launchpad.net/~arturz> +#Patch0: ExtensionClass-2.13.1-tp_basicsize.patch +License: ZPLv2.1 +Group: Development/Libraries +URL: http://pypi.python.org/pypi/ExtensionClass + +BuildRequires: python2-devel +BuildRequires: python-setuptools + +%description +ExtensionClass and ExtensionClass-related packages +================================================== + +ExtensionClass +-------------- + +This package provides a metaclass that allows classes implemented in +extension modules to be subclassed in Python. Unless you need +ExtensionClasses for legacy applications (e.g. Zope 2), you probably +want to use Python's new-style classes (available since Python 2.2). + +ComputedAttribute +----------------- + +This package provides a way to attach attributes to an +ExtensionClass or instance that are computed by calling a +callable. This works very much like property known from new-style +classes, except that a ComputedAttribute can also be attached to +an instance and that it honors ExtensionClass semantics (which is +useful for retaining Acquisition wrappers, for example). + +MethodObject +------------ + +This package lets you attach additional "methods" to ExtensionClasses. +These "methods" are actually implemented by subclassing the +MethodObject.Method class and implementing the __call__ method +there. Instances of those classes will be bound to the instances +they're attached to and will receive that instance object as a first +parameter (after self). + +%package devel +Summary: Developer files for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: python2-devel +BuildArch: noarch +%description devel +Files for developing applications using %{name}. + +%prep +%setup -q -n %{modname}-%{version} +#%patch0 -p1 -b .tp_basicsize + +%build +env CFLAGS="$RPM_OPT_FLAGS" python setup.py build + +%install +rm -rf $RPM_BUILD_ROOT +python setup.py install --root=$RPM_BUILD_ROOT +# remove contained source file(s) +find $RPM_BUILD_ROOT -name '*.c' -type f -print0 | xargs -0 rm -fv +# deal with header file(s) +mkdir -p $RPM_BUILD_ROOT%{_includedir}/python%{py_ver}/%{modname}/ +mv $RPM_BUILD_ROOT%{python_sitearch}/%{modname}/%{modname}.h \ + $RPM_BUILD_ROOT%{_includedir}/python%{py_ver}/%{modname}/ + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc CHANGES.txt COPYRIGHT.txt LICENSE.txt README.txt +%{python_sitearch}/%{modname}/ +%{python_sitearch}/%{modname}-*.egg-info +%{python_sitearch}/ComputedAttribute/ +%{python_sitearch}/MethodObject/ + +%files devel +%defattr(-,root,root,-) +%{_includedir}/python%{py_ver}/%{modname}/ + +%changelog +* Thu Jun 17 2010 Robin Lee <robinlee.sysu@gmail.com> - 2.13.2-1 +- Initial packaging diff --git a/python-Missing/F-13/python-Missing.spec b/python-Missing/F-13/python-Missing.spec new file mode 100644 index 0000000..3b32602 --- /dev/null +++ b/python-Missing/F-13/python-Missing.spec @@ -0,0 +1,49 @@ +%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5) +%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} +%endif +%global modname Missing +%global version 2.13.0 +%global release 1 + +Summary: Special Missing objects used in Zope2 +Name: python-%{modname} +Version: %{version} +Release: %{release}%{?dist} +Source0: http://pypi.python.org/packages/source/M/%{modname}/%{modname}-%{version}.zip +License: ZPLv2.1 +Group: Development/Libraries +URL: http://pypi.python.org/pypi/Missing + +BuildRequires: python2-devel +BuildRequires: python-setuptools +#BuildRequires: python-ExtensionClass-devel +Requires: python-ExtensionClass + +%description +Missing provides special objects used in some Zope2 internals like the ZCatalog. + +%prep +%setup -q -n %{modname}-%{version} + +%build +env CFLAGS="$RPM_OPT_FLAGS" python setup.py build + +%install +rm -rf $RPM_BUILD_ROOT +python setup.py install --root=$RPM_BUILD_ROOT +# remove contained source file(s) +find $RPM_BUILD_ROOT -name '*.c' -type f -print0 | xargs -0 rm -fv + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc CHANGES.txt README.txt +%{python_sitearch}/%{modname}/ +%{python_sitearch}/%{modname}-*.egg-info + + +%changelog +* Tue Jun 15 2010 Robin Lee <robinlee.sysu@gmail.com> - 2.13.0-1 +- Initial packaging diff --git a/python-MultiMapping/F-13/python-MultiMapping.spec b/python-MultiMapping/F-13/python-MultiMapping.spec new file mode 100644 index 0000000..f792f0a --- /dev/null +++ b/python-MultiMapping/F-13/python-MultiMapping.spec @@ -0,0 +1,49 @@ +%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5) +%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} +%endif +%global modname MultiMapping +%global version 2.13.0 +%global release 1 + +Summary: Special MultiMapping objects used in Zope2 +Name: python-%{modname} +Version: %{version} +Release: %{release}%{?dist} +Source0: http://pypi.python.org/packages/source/M/%{modname}/%{modname}-%{version}.zip +License: ZPLv2.1 +Group: Development/Libraries +URL: http://pypi.python.org/pypi/MultiMapping + +BuildRequires: python2-devel +BuildRequires: python-setuptools +#BuildRequires: python-ExtensionClass-devel +Requires: python-ExtensionClass + +%description +MultiMapping provides special objects used in some Zope2 internals like ZRDB. + +%prep +%setup -q -n %{modname}-%{version} + +%build +env CFLAGS="$RPM_OPT_FLAGS" python setup.py build + +%install +rm -rf $RPM_BUILD_ROOT +python setup.py install --root=$RPM_BUILD_ROOT +# remove contained source file(s) +find $RPM_BUILD_ROOT -name '*.c' -type f -print0 | xargs -0 rm -fv + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc CHANGES.txt README.txt +%{python_sitearch}/%{modname}/ +%{python_sitearch}/%{modname}-*.egg-info + + +%changelog +* Tue Jun 15 2010 Robin Lee <robinlee.sysu@gmail.com> - 2.13.0-1 +- Initial packaging diff --git a/python-Persistence/F-13/Persistence-2.13.1-tp_basicsize.patch b/python-Persistence/F-13/Persistence-2.13.1-tp_basicsize.patch new file mode 100644 index 0000000..7f3caaf --- /dev/null +++ b/python-Persistence/F-13/Persistence-2.13.1-tp_basicsize.patch @@ -0,0 +1,12 @@ +diff -Naur Persistence-2.13.1/src/Persistence/_Persistence.c Persistence-2.13.1.new/src/Persistence/_Persistence.c +--- Persistence-2.13.1/src/Persistence/_Persistence.c 2010-04-07 18:39:12.000000000 +0800 ++++ Persistence-2.13.1.new/src/Persistence/_Persistence.c 2010-06-14 21:01:05.494522968 +0800 +@@ -160,6 +160,7 @@ + if (Ptype.tp_bases == NULL) + return; + Ptype.tp_base = cPersistenceCAPI->pertype; ++ Ptype.tp_basicsize = cPersistenceCAPI->pertype->tp_basicsize; + + Ptype.ob_type = ECExtensionClassType; + if (PyType_Ready(&Ptype) < 0) +diff -Naur Persistence-2.13.1/src/Persistence.egg-info/PKG-INFO Persistence-2.13.1.new/src/Persistence.egg-info/PKG-INFO diff --git a/python-Persistence/F-13/python-Persistence.spec b/python-Persistence/F-13/python-Persistence.spec new file mode 100644 index 0000000..1f448ce --- /dev/null +++ b/python-Persistence/F-13/python-Persistence.spec @@ -0,0 +1,54 @@ +%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5) +%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} +%endif +%global modname Persistence +%global version 2.13.2 +%global release 1 + +Summary: Persistent ExtensionClass +Name: python-%{modname} +Version: %{version} +Release: %{release}%{?dist} +Source0: http://pypi.python.org/packages/source/P/%{modname}/%{modname}-%{version}.zip +# lp587760, patch provided by Artur Zaprzała <https://launchpad.net/~arturz> +#Patch0: Persistence-2.13.1-tp_basicsize.patch +License: ZPLv2.1 +Group: Development/Libraries +URL: http://pypi.python.org/pypi/Persistence + +BuildRequires: python2-devel +#BuildRequires: python-ExtensionClass-devel +BuildRequires: python-setuptools +Requires: python-ExtensionClass +Requires: python-ZODB3 + +%description +This package provides a variant of the persistent base class that's an +ExtensionClass. Unless you need ExtensionClass semantics, you probably want to +use persistent.Persistent from ZODB3. + +%prep +%setup -q -n %{modname}-%{version} +#%patch0 -p1 -b .tp_basicsize + +%build +env CFLAGS="$RPM_OPT_FLAGS" python setup.py build + +%install +rm -rf $RPM_BUILD_ROOT +python setup.py install --root=$RPM_BUILD_ROOT +# remove contained source file(s) +find $RPM_BUILD_ROOT -name '*.c' -type f -print0 | xargs -0 rm -fv + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc CHANGES.txt COPYRIGHT.txt LICENSE.txt README.txt +%{python_sitearch}/%{modname}/ +%{python_sitearch}/%{modname}-*.egg-info + +%changelog +* Thu Jun 17 2010 Robin Lee <robinlee.sysu@gmail.com> - 2.13.2-1 +- Initial packaging diff --git a/python-Record/F-13/python-Record.spec b/python-Record/F-13/python-Record.spec new file mode 100644 index 0000000..b8c7996 --- /dev/null +++ b/python-Record/F-13/python-Record.spec @@ -0,0 +1,49 @@ +%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5) +%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} +%endif +%global modname Record +%global version 2.13.0 +%global release 1 + +Summary: Special Record objects used in Zope2 +Name: python-%{modname} +Version: %{version} +Release: %{release}%{?dist} +Source0: http://pypi.python.org/packages/source/R/%{modname}/%{modname}-%{version}.zip +License: ZPLv2.1 +Group: Development/Libraries +URL: http://pypi.python.org/pypi/Record + +BuildRequires: python2-devel +BuildRequires: python-setuptools +#BuildRequires: python-ExtensionClass-devel +Requires: python-ExtensionClass + +%description +Record provides special objects used in some Zope2 internals like ZRDB. + +%prep +%setup -q -n %{modname}-%{version} + +%build +env CFLAGS="$RPM_OPT_FLAGS" python setup.py build + +%install +rm -rf $RPM_BUILD_ROOT +python setup.py install --root=$RPM_BUILD_ROOT +# remove contained source file(s) +find $RPM_BUILD_ROOT -name '*.c' -type f -print0 | xargs -0 rm -fv + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc CHANGES.txt README.txt +%{python_sitearch}/%{modname}/ +%{python_sitearch}/%{modname}-*.egg-info + + +%changelog +* Tue Jun 15 2010 Robin Lee <robinlee.sysu@gmail.com> - 2.13.0-1 +- Initial packaging diff --git a/python-RestrictedPython/F-13/python-RestrictedPython.spec b/python-RestrictedPython/F-13/python-RestrictedPython.spec new file mode 100644 index 0000000..5792de3 --- /dev/null +++ b/python-RestrictedPython/F-13/python-RestrictedPython.spec @@ -0,0 +1,50 @@ +%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5) +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} +%endif +%global modname RestrictedPython +%global version 3.5.2 +%global release 1 + +Summary: A restricted execution environment for Python +Name: python-%{modname} +Version: %{version} +Release: %{release}%{?dist} +Source0: http://pypi.python.org/packages/source/R/%{modname}/%{modname}-%{version}.zip +BuildArch: noarch +License: ZPLv2.1 +Group: Development/Libraries +BuildArch: noarch +URL: http://pypi.python.org/pypi/RestrictedPython + +BuildRequires: python2-devel +BuildRequires: python-setuptools +Requires: python-setuptools + +%description +RestrictedPython provides a restricted_compile function that works +like the built-in compile function, except that it allows the +controlled and restricted execution of code. + +%prep +%setup -q -n %{modname}-%{version} + +%build +python setup.py build + +%install +rm -rf $RPM_BUILD_ROOT +python setup.py install --root=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc CHANGES.txt COPYRIGHT.txt LICENSE.txt README.txt +%{python_sitelib}/%{modname}/ +%{python_sitelib}/%{modname}-*.egg-info + + +%changelog +* Tue Jun 15 2010 Robin Lee <robinlee.sysu@gmail.com> - 3.5.2-1 +- Initial packaging diff --git a/python-ThreadLock/F-13/python-ThreadLock.spec b/python-ThreadLock/F-13/python-ThreadLock.spec new file mode 100644 index 0000000..58a96b5 --- /dev/null +++ b/python-ThreadLock/F-13/python-ThreadLock.spec @@ -0,0 +1,49 @@ +%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5) +%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} +%endif +%global modname ThreadLock +%global version 2.13.0 +%global release 1 + +Summary: Special ThreadLock objects used in Zope2 +Name: python-%{modname} +Version: %{version} +Release: %{release}%{?dist} +Source0: http://pypi.python.org/packages/source/T/%{modname}/%{modname}-%{version}.zip +License: ZPLv2.1 +Group: Development/Libraries +URL: http://pypi.python.org/pypi/ThreadLock + +BuildRequires: python2-devel +BuildRequires: python-setuptools +#BuildRequires: python-ExtensionClass-devel +Requires: python-ExtensionClass + +%description +ThreadLock provides special objects used in some Zope2 internals like ZRDB. + +%prep +%setup -q -n %{modname}-%{version} + +%build +env CFLAGS="$RPM_OPT_FLAGS" python setup.py build + +%install +rm -rf $RPM_BUILD_ROOT +python setup.py install --root=$RPM_BUILD_ROOT +# remove contained source file(s) +find $RPM_BUILD_ROOT -name '*.c' -type f -print0 | xargs -0 rm -fv + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc CHANGES.txt README.txt +%{python_sitearch}/%{modname}/ +%{python_sitearch}/%{modname}-*.egg-info + + +%changelog +* Tue Jun 15 2010 Robin Lee <robinlee.sysu@gmail.com> - 2.13.0-1 +- Initial packaging diff --git a/python-ZopeUndo/F-13/python-ZopeUndo.spec b/python-ZopeUndo/F-13/python-ZopeUndo.spec new file mode 100644 index 0000000..9bdbc8f --- /dev/null +++ b/python-ZopeUndo/F-13/python-ZopeUndo.spec @@ -0,0 +1,51 @@ +%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5) +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} +%endif +%global modname ZopeUndo +%global version 2.12.0 +%global release 1 + +Summary: ZODB undo support for Zope2 +Name: python-%{modname} +Version: %{version} +Release: %{release}%{?dist} +Source0: http://pypi.python.org/packages/source/Z/%{modname}/%{modname}-%{version}.zip +BuildArch: noarch +License: ZPLv2.1 +Group: Development/Libraries +BuildArch: noarch +URL: http://pypi.python.org/pypi/ZopeUndo + +BuildRequires: python2-devel +BuildRequires: python-setuptools + +%description +This package is used to support the Prefix object that Zope 2 uses for the +undo log. It is a separate package only to aid configuration management. + +This package is included in Zope 2. It can be used in a ZEO server to allow +it to support Zope 2's undo log , without pulling in all of Zope 2. + +%prep +%setup -q -n %{modname}-%{version} + +%build +python setup.py build + +%install +rm -rf $RPM_BUILD_ROOT +python setup.py install --root=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc CHANGES.txt README.txt +%{python_sitelib}/%{modname}/ +%{python_sitelib}/%{modname}-*.egg-info + + +%changelog +* Tue Jun 15 2010 Robin Lee <robinlee.sysu@gmail.com> - 2.12.0-1%{?dist} +- Initial packaging diff --git a/python-five-formlib/F-13/python-five-formlib.spec b/python-five-formlib/F-13/python-five-formlib.spec new file mode 100644 index 0000000..b269f68 --- /dev/null +++ b/python-five-formlib/F-13/python-five-formlib.spec @@ -0,0 +1,65 @@ +%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5) +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} +%endif +%global modname five.formlib +%global version 1.0.3 +%global release 1 + +Summary: zope.formlib integration for Zope 2 +Name: python-five-formlib +Version: %{version} +Release: %{release}%{?dist} +Source0: http://pypi.python.org/packages/source/f/%{modname}/%{modname}-%{version}.zip +BuildArch: noarch +License: ZPLv2.1 +Group: Development/Libraries +URL: http://pypi.python.org/pypi/five.formlib + +BuildRequires: python2-devel +BuildRequires: python-setuptools +Requires: python-five-filesystem +Requires: python-setuptools +Requires: python-transaction +Requires: python-zope-app-form +Requires: python-zope-browser +Requires: python-zope-component +Requires: python-zope-event +Requires: python-zope-formlib +Requires: python-zope-i18nmessageid +Requires: python-zope-interface +Requires: python-zope-lifecycleevent +Requires: python-zope-location +Requires: python-zope-publisher +Requires: python-zope-schema +Requires: python-ExtensionClass +Requires: zope + +%description +five.formlib provides integration of the zope.formlib and zope.app.form +packages into the Zope2 application server. + +%prep +%setup -q -n %{modname}-%{version} + +%build +python setup.py build + +%install +rm -rf $RPM_BUILD_ROOT +python setup.py install --root=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc CHANGES.txt README.txt +%{python_sitelib}/five/formlib/ +%{python_sitelib}/%{modname}-*.egg-info +%{python_sitelib}/%{modname}-*-nspkg.pth + + + +%changelog +* Wed Jun 16 2010 Robin Lee <robinlee.sysu@gmail.com> - 1.0.3-1 +- Initial packaging diff --git a/python-initgroups/F-13/python-initgroups.spec b/python-initgroups/F-13/python-initgroups.spec new file mode 100644 index 0000000..74b979d --- /dev/null +++ b/python-initgroups/F-13/python-initgroups.spec @@ -0,0 +1,48 @@ +%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5) +%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} +%endif +%global modname initgroups +%global version 2.13.0 +%global release 1 + +Summary: Convenience UID/GID helper function used in Zope2 +Name: python-%{modname} +Version: %{version} +Release: %{release}%{?dist} +Source0: http://pypi.python.org/packages/source/i/%{modname}/%{modname}-%{version}.zip +License: ZPLv2.1 +Group: Development/Libraries +URL: http://pypi.python.org/pypi/initgroups + +BuildRequires: python2-devel +BuildRequires: python-setuptools + +%description +initgroups provides a convenience function to deal with user / group IDs on +Unix-style systems. + +%prep +%setup -q -n %{modname}-%{version} + +%build +env CFLAGS="$RPM_OPT_FLAGS" python setup.py build + +%install +rm -rf $RPM_BUILD_ROOT +python setup.py install --root=$RPM_BUILD_ROOT +# remove contained source file(s) +find $RPM_BUILD_ROOT -name '*.c' -type f -print0 | xargs -0 rm -fv + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc CHANGES.txt README.txt +%{python_sitearch}/%{modname}/ +%{python_sitearch}/%{modname}-*.egg-info + + +%changelog +* Wed Jun 16 2010 Robin Lee <robinlee.sysu@gmail.com> - 2.13.0-1 +- Initial packaging diff --git a/python-tempstorage/F-13/python-tempstorage.spec b/python-tempstorage/F-13/python-tempstorage.spec new file mode 100644 index 0000000..9a73c80 --- /dev/null +++ b/python-tempstorage/F-13/python-tempstorage.spec @@ -0,0 +1,49 @@ +%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5) +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} +%endif +%global modname tempstorage +%global version 2.11.3 +%global release 1 + +Summary: A RAM-based storage for ZODB +Name: python-%{modname} +Version: %{version} +Release: %{release}%{?dist} +Source0: http://pypi.python.org/packages/source/t/%{modname}/%{modname}-%{version}.zip +License: ZPLv2.1 +Group: Development/Libraries +BuildArch: noarch +URL: http://pypi.python.org/pypi/tempstorage + +BuildRequires: python2-devel +BuildRequires: python-setuptools +Requires: python-ZODB3 + +%description +This package is a storage implementation which uses RAM to persist objects, much +like MappingStorage. Unlike MappingStorage, it needs not be packed to get rid of +non-cyclic garbage and it does rudimentary conflict resolution. + +%prep +%setup -q -n %{modname}-%{version} + +%build +python setup.py build + +%install +rm -rf $RPM_BUILD_ROOT +python setup.py install --root=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc LICENSE.txt CHANGES.txt README.txt COPYRIGHT.txt +%{python_sitelib}/%{modname}/ +%{python_sitelib}/%{modname}-*.egg-info + + +%changelog +* Wed Jun 16 2010 Robin Lee <robinlee.sysu@gmail.com> - 2.11.3-1%{?dist} +- Initial packaging diff --git a/python-zLOG/F-13/python-zLOG.spec b/python-zLOG/F-13/python-zLOG.spec new file mode 100644 index 0000000..edd2ae6 --- /dev/null +++ b/python-zLOG/F-13/python-zLOG.spec @@ -0,0 +1,50 @@ +%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5) +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} +%endif +%global modname zLOG +%global version 2.11.1 +%global release 1 + +Summary: A general logging facility +Name: python-%{modname} +Version: %{version} +Release: %{release}%{?dist} +Source0: http://pypi.python.org/packages/source/z/%{modname}/%{modname}-%{version}.tar.gz +License: ZPLv2.1 +Group: Development/Libraries +BuildArch: noarch +URL: http://cheeseshop.python.org/pypi/zLOG + +BuildRequires: python2-devel +BuildRequires: python-setuptools +Requires: python-ZConfig + +%description +This package provides a general logging facility that, at this point, +is just a small shim over Python's logging module. Therefore, unless +you need to support a legacy package from the Zope 2 world, you're +probably better off using Python's logging module. + +%prep +%setup -q -n %{modname}-%{version} + +%build +python setup.py build + +%install +rm -rf $RPM_BUILD_ROOT +python setup.py install --root=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc TODO.txt +%{python_sitelib}/%{modname}/ +%{python_sitelib}/%{modname}-*.egg-info + + +%changelog +* Wed Jun 16 2010 Robin Lee <robinlee.sysu@gmail.com> - 2.11.1-1 +- Initial packaging diff --git a/python-zope-annotation/F-13/python-zope-annotation.spec b/python-zope-annotation/F-13/python-zope-annotation.spec new file mode 100644 index 0000000..b2a11bc --- /dev/null +++ b/python-zope-annotation/F-13/python-zope-annotation.spec @@ -0,0 +1,56 @@ +%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5) +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} +%endif +%global modname zope.annotation +%global version 3.5.0 +%global release 1 + +Summary: Object annotation mechanism +Name: python-zope-annotation +Version: %{version} +Release: %{release}%{?dist} +Source0: http://pypi.python.org/packages/source/z/%{modname}/%{modname}-%{version}.tar.gz +License: ZPLv2.1 +Group: Development/Libraries +BuildArch: noarch +URL: http://pypi.python.org/pypi/zope.annotation + +BuildRequires: python2-devel +BuildRequires: python-setuptools +Requires: python-zope-filesystem +Requires: python-zope-interface +Requires: python-zope-component +Requires: python-zope-location +Requires: python-zope-proxy +Requires: python-ZODB3 + +%description +This package provides a mechanism to store additional information about +objects without need to modify object class. + +%prep +%setup -q -n %{modname}-%{version} + +%build +python setup.py build + +%install +rm -rf $RPM_BUILD_ROOT +python setup.py install --root=$RPM_BUILD_ROOT +rm -f $RPM_BUILD_ROOT%{python_sitelib}/zope/annotation/*.txt + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc CHANGES.txt README.txt +%doc src/zope/annotation/*.txt +%{python_sitelib}/zope/annotation/ +%{python_sitelib}/%{modname}-*.egg-info +%{python_sitelib}/%{modname}-*-nspkg.pth + + +%changelog +* Thu Jun 17 2010 Robin Lee <robinlee.sysu@gmail.com> - 3.5.0-1 +- Initial packaging diff --git a/python-zope-app-form/F-13/python-zope-app-form.spec b/python-zope-app-form/F-13/python-zope-app-form.spec new file mode 100644 index 0000000..d8dd3f8 --- /dev/null +++ b/python-zope-app-form/F-13/python-zope-app-form.spec @@ -0,0 +1,71 @@ +%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5) +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} +%endif +%global modname zope.app.form +%global version 4.0.2 +%global release 1 + +Summary: The Original Zope 3 Form Framework +Name: python-zope-app-form +Version: %{version} +Release: %{release}%{?dist} +Source0: http://pypi.python.org/packages/source/z/%{modname}/%{modname}-%{version}.tar.gz +License: ZPLv2.1 +Group: Development/Libraries +BuildArch: noarch +URL: http://pypi.python.org/pypi/zope.app.form + +BuildRequires: python2-devel +BuildRequires: python-setuptools +Requires: python-zope-app-filesystem +Requires: python-setuptools +Requires: python-transaction +Requires: python-zope-formlib +Requires: python-zope-browser +Requires: python-zope-browserpage +Requires: python-zope-browsermenu +Requires: python-zope-component +Requires: python-zope-configuration +Requires: python-zope-datetime +Requires: python-zope-exceptions +Requires: python-zope-i18n +Requires: python-zope-interface +Requires: python-zope-proxy +Requires: python-zope-publisher +Requires: python-zope-schema +Requires: python-zope-security + +%description +This package provides the old form framework for Zope 3. It also +implements a few high-level ZCML directives for declaring forms. More +advanced alternatives are implemented in zope.formlib and +z3c.form. The widgets that were defined in here were moved to +zope.formlib. Version 4.0 and newer are maintained for backwards +compatibility reasons only. + +%prep +%setup -q -n %{modname}-%{version} + +%build +python setup.py build + +%install +rm -rf $RPM_BUILD_ROOT +python setup.py install --root=$RPM_BUILD_ROOT +rm $RPM_BUILD_ROOT%{python_sitelib}/zope/app/form/browser/*.txt + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc LICENSE.txt CHANGES.txt README.txt COPYRIGHT.txt +%doc src/zope/app/form/browser/*.txt +%{python_sitelib}/zope/app/form/ +%{python_sitelib}/%{modname}-*.egg-info +%{python_sitelib}/%{modname}-*-nspkg.pth + + +%changelog +* Wed Jun 16 2010 Robin Lee <robinlee.sysu@gmail.com> - 4.0.2-1 +- Initial packaging diff --git a/python-zope-app-publication/F-13/python-zope-app-publication.spec b/python-zope-app-publication/F-13/python-zope-app-publication.spec new file mode 100644 index 0000000..da8adb5 --- /dev/null +++ b/python-zope-app-publication/F-13/python-zope-app-publication.spec @@ -0,0 +1,58 @@ +%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5) +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} +%endif +%global modname zope.app.publication +%global version 3.11.1 +%global release 1 + +Summary: Zope publication +Name: python-zope-app-publication +Version: %{version} +Release: %{release}%{?dist} +Source0: http://pypi.python.org/packages/source/z/%{modname}/%{modname}-%{version}.tar.gz +License: ZPLv2.1 +Group: Development/Libraries +BuildArch: noarch +URL: http://pypi.python.org/pypi/zope.app.publication + +BuildRequires: python2-devel +BuildRequires: python-setuptools +Requires: python-zope-filesystem +Requires: python-ZODB3 +Requires: python-zope-authentication +Requires: python-zope-component +Requires: python-zope-error +Requires: python-zope-browser +Requires: python-zope-location +Requires: python-zope-publisher +Requires: python-zope-traversing + +%description +Publication and traversal components. + +%prep +%setup -q -n %{modname}-%{version} + +%build +python setup.py build + +%install +rm -rf $RPM_BUILD_ROOT +python setup.py install --root=$RPM_BUILD_ROOT +rm -f $RPM_BUILD_ROOT%{python_sitelib}/zope/app/publication/*.txt + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc CHANGES.txt README.txt +%doc src/zope/app/publication/*.txt +%{python_sitelib}/zope/app/publication/ +%{python_sitelib}/%{modname}-*.egg-info +%{python_sitelib}/%{modname}-*-nspkg.pth + + +%changelog +* Thu Jun 17 2010 Robin Lee <robinlee.sysu@gmail.com> - 3.11.1-1 +- Initial packaging diff --git a/python-zope-app-publisher/F-13/python-zope-app-publisher.spec b/python-zope-app-publisher/F-13/python-zope-app-publisher.spec new file mode 100644 index 0000000..e72b8be --- /dev/null +++ b/python-zope-app-publisher/F-13/python-zope-app-publisher.spec @@ -0,0 +1,64 @@ +%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5) +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} +%endif +%global modname zope.app.publisher +%global version 3.10.1 +%global release 1 + +Summary: Implementations and means for configuration of Zope3-style views and resources +Name: python-zope-app-publisher +Version: %{version} +Release: %{release}%{?dist} +Source0: http://pypi.python.org/packages/source/z/%{modname}/%{modname}-%{version}.tar.gz +License: ZPLv2.1 +Group: Development/Libraries +BuildArch: noarch +URL: http://pypi.python.org/pypi/zope.app.publisher/ + +BuildRequires: python2-devel +BuildRequires: python-setuptools +Requires: python-zope-filesystem +Requires: python-zope-browsermenu +Requires: python-zope-browserpage +Requires: python-zope-browserresource +Requires: python-zope-component +Requires: python-zope-configuration +Requires: python-zope-datetime +Requires: python-zope-interface +Requires: python-zope-location +Requires: python-zope-ptresource +Requires: python-zope-publisher +Requires: python-zope-schema +Requires: python-zope-security +Requires: python-zope-componentvocabulary + +%description +This package used to provide browser page, resource and menu classes +for use with zope.publisher object publishing framework, as well as some +other useful utilities and adapters, but most of things was factored out +to separate packages, leaving here only backward-compatibility imports. + +%prep +%setup -q -n %{modname}-%{version} + +%build +python setup.py build + +%install +rm -rf $RPM_BUILD_ROOT +python setup.py install --root=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc CHANGES.txt README.txt +%{python_sitelib}/zope/app/publisher/ +%{python_sitelib}/%{modname}-*.egg-info +%{python_sitelib}/%{modname}-*-nspkg.pth + + +%changelog +* Thu Jun 17 2010 Robin Lee <robinlee.sysu@gmail.com> - 3.10.1-1 +- Initial packaging diff --git a/python-zope-app-schema/F-13/python-zope-app-schema.spec b/python-zope-app-schema/F-13/python-zope-app-schema.spec new file mode 100644 index 0000000..925ebeb --- /dev/null +++ b/python-zope-app-schema/F-13/python-zope-app-schema.spec @@ -0,0 +1,53 @@ +%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5) +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} +%endif +%global modname zope.app.schema +%global version 3.5.0 +%global release 1 + +Summary: Component Architecture based Vocabulary Registry +Name: python-zope-app-schema +Version: %{version} +Release: %{release}%{?dist} +Source0: http://pypi.python.org/packages/source/z/%{modname}/%{modname}-%{version}.tar.gz +License: ZPLv2.1 +Group: Development/Libraries +BuildArch: noarch +URL: http://pypi.python.org/pypi/zope.app.schema + +BuildRequires: python2-devel +BuildRequires: python-setuptools +Requires: python-zope-filesystem +Requires: python-zope-component +Requires: python-zope-interface +Requires: python-zope-schema + +%description +This package provides a component architecture based vocabulary registry. + +%prep +%setup -q -n %{modname}-%{version} + +%build +python setup.py build + +%install +rm -rf $RPM_BUILD_ROOT +python setup.py install --root=$RPM_BUILD_ROOT +rm -f $RPM_BUILD_ROOT%{python_sitelib}/zope/app/schema/*.txt + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc CHANGES.txt +%doc src/zope/app/schema/*.txt +%{python_sitelib}/zope/app/schema/ +%{python_sitelib}/%{modname}-*.egg-info +%{python_sitelib}/%{modname}-*-nspkg.pth + + +%changelog +* Thu Jun 17 2010 Robin Lee <robinlee.sysu@gmail.com> - 3.5.0-1 +- Initial packaging diff --git a/python-zope-authentication/F-13/python-zope-authentication.spec b/python-zope-authentication/F-13/python-zope-authentication.spec new file mode 100644 index 0000000..20011db --- /dev/null +++ b/python-zope-authentication/F-13/python-zope-authentication.spec @@ -0,0 +1,57 @@ +%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5) +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} +%endif +%global modname zope.authentication +%global version 3.7.1 +%global release 1 + +Summary: Definition of authentication basics for the Zope Framework +Name: python-zope-authentication +Version: %{version} +Release: %{release}%{?dist} +Source0: http://pypi.python.org/packages/source/z/%{modname}/%{modname}-%{version}.zip +License: ZPLv2.1 +Group: Development/Libraries +BuildArch: noarch +URL: http://pypi.python.org/pypi/zope.authentication + +BuildRequires: python2-devel +BuildRequires: python-setuptools +Requires: python-zope-filesystem +Requires: python-zope-browser +Requires: python-zope-component +Requires: python-zope-i18nmessageid +Requires: python-zope-interface +Requires: python-zope-schema +Requires: python-zope-security + +%description +This package provides a definition of authentication concepts for use in +Zope Framework. + +%prep +%setup -q -n %{modname}-%{version} + +%build +python setup.py build + +%install +rm -rf $RPM_BUILD_ROOT +python setup.py install --root=$RPM_BUILD_ROOT +rm -f $RPM_BUILD_ROOT%{python_sitelib}/zope/authentication/*.txt + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc CHANGES.txt README.txt +%doc src/zope/authentication/*.txt +%{python_sitelib}/zope/authentication/ +%{python_sitelib}/%{modname}-*.egg-info +%{python_sitelib}/%{modname}-*-nspkg.pth + + +%changelog +* Thu Jun 17 2010 Robin Lee <robinlee.sysu@gmail.com> - 3.7.1-1 +- Initial packaging diff --git a/python-zope-broken/F-13/python-zope-broken.spec b/python-zope-broken/F-13/python-zope-broken.spec new file mode 100644 index 0000000..dd8bd5d --- /dev/null +++ b/python-zope-broken/F-13/python-zope-broken.spec @@ -0,0 +1,50 @@ +%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5) +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} +%endif +%global modname zope.broken +%global version 3.6.0 +%global release 1 + +Summary: Zope Broken Object Interfaces +Name: python-zope-broken +Version: %{version} +Release: %{release}%{?dist} +Source0: http://pypi.python.org/packages/source/z/%{modname}/%{modname}-%{version}.zip +License: ZPLv2.1 +Group: Development/Libraries +BuildArch: noarch +URL: http://pypi.python.org/pypi/zope.broken + +BuildRequires: python2-devel +BuildRequires: python-setuptools +Requires: python-zope-filesystem +Requires: python-setuptools +Requires: python-zope-interface + +%description +%{summary} + +%prep +%setup -q -n %{modname}-%{version} + +%build +python setup.py build + +%install +rm -rf $RPM_BUILD_ROOT +python setup.py install --root=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc CHANGES.txt README.txt +%{python_sitelib}/zope/broken/ +%{python_sitelib}/%{modname}-*.egg-info +%{python_sitelib}/%{modname}-*-nspkg.pth + + +%changelog +* Wed Jun 16 2010 Robin Lee <robinlee.sysu@gmail.com> - 3.6.0-1 +- Initial packaging diff --git a/python-zope-browser/F-13/python-zope-browser.spec b/python-zope-browser/F-13/python-zope-browser.spec new file mode 100644 index 0000000..6dad16e --- /dev/null +++ b/python-zope-browser/F-13/python-zope-browser.spec @@ -0,0 +1,51 @@ +%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5) +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} +%endif +%global modname zope.browser +%global version 1.3 +%global release 1 + +Summary: Shared Zope Toolkit browser components +Name: python-zope-browser +Version: %{version} +Release: %{release}%{?dist} +Source0: http://pypi.python.org/packages/source/z/%{modname}/%{modname}-%{version}.zip +License: ZPLv2.1 +Group: Development/Libraries +BuildArch: noarch +URL: http://pypi.python.org/pypi/zope.browser + +BuildRequires: python2-devel +BuildRequires: python-setuptools +Requires: python-zope-filesystem +Requires: python-setuptools +Requires: python-zope-interface + +%description +This package provides shared browser components for the Zope Toolkit. + +%prep +%setup -q -n %{modname}-%{version} + +%build +python setup.py build + +%install +rm -rf $RPM_BUILD_ROOT +python setup.py install --root=$RPM_BUILD_ROOT +rm $RPM_BUILD_ROOT%{python_sitelib}/zope/browser/*.txt + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc CHANGES.txt src/zope/browser/README.txt +%{python_sitelib}/zope/browser/ +%{python_sitelib}/%{modname}-*.egg-info +%{python_sitelib}/%{modname}-*-nspkg.pth + + +%changelog +* Wed Jun 16 2010 Robin Lee <robinlee.sysu@gmail.com> - 1.3-1 +- Initial packaging diff --git a/python-zope-browsermenu/F-13/python-zope-browsermenu.spec b/python-zope-browsermenu/F-13/python-zope-browsermenu.spec new file mode 100644 index 0000000..9ed242f --- /dev/null +++ b/python-zope-browsermenu/F-13/python-zope-browsermenu.spec @@ -0,0 +1,61 @@ +%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5) +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} +%endif +%global modname zope.browsermenu +%global version 3.9.1 +%global release 1 + +Summary: Browser menu implementation for Zope +Name: python-zope-browsermenu +Version: %{version} +Release: %{release}%{?dist} +Source0: http://pypi.python.org/packages/source/z/%{modname}/%{modname}-%{version}.zip +License: ZPLv2.1 +Group: Development/Libraries +BuildArch: noarch +URL: http://pypi.python.org/pypi/zope.browsermenu/ + +BuildRequires: python2-devel +BuildRequires: python-setuptools +Requires: python-zope-filesystem +Requires: python-setuptools +Requires: python-zope-browser +Requires: python-zope-component +Requires: python-zope-configuration +Requires: python-zope-i18nmessageid +Requires: python-zope-interface +Requires: python-zope-pagetemplate +Requires: python-zope-publisher +Requires: python-zope-schema +Requires: python-zope-security +Requires: python-zope-traversing + +%description +This package provides an implementation of browser menus and ZCML directives +for configuring them. + +%prep +%setup -q -n %{modname}-%{version} + +%build +python setup.py build + +%install +rm -rf $RPM_BUILD_ROOT +python setup.py install --root=$RPM_BUILD_ROOT +rm $RPM_BUILD_ROOT%{python_sitelib}/zope/browsermenu/*.txt + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc CHANGES.txt src/zope/browsermenu/README.txt +%{python_sitelib}/zope/browsermenu/ +%{python_sitelib}/%{modname}-*.egg-info +%{python_sitelib}/%{modname}-*-nspkg.pth + + +%changelog +* Wed Jun 16 2010 Robin Lee <robinlee.sysu@gmail.com> - 3.9.1-1 +- Initial packaging diff --git a/python-zope-browserpage/F-13/python-zope-browserpage.spec b/python-zope-browserpage/F-13/python-zope-browserpage.spec new file mode 100644 index 0000000..a782246 --- /dev/null +++ b/python-zope-browserpage/F-13/python-zope-browserpage.spec @@ -0,0 +1,62 @@ +%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5) +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} +%endif +%global modname zope.browserpage +%global version 3.12.2 +%global release 1 + +Summary: ZCML directives for configuring browser views for Zope +Name: python-zope-browserpage +Version: %{version} +Release: %{release}%{?dist} +Source0: http://pypi.python.org/packages/source/z/%{modname}/%{modname}-%{version}.tar.gz +License: ZPLv2.1 +Group: Development/Libraries +BuildArch: noarch +URL: http://pypi.python.org/pypi/zope.browserpage/ + +BuildRequires: python2-devel +BuildRequires: python-setuptools +Requires: python-zope-filesystem +Requires: python-setuptools +Requires: python-zope-pagetemplate +Requires: python-zope-component >= 3.7 +Requires: python-zope-configuration +Requires: python-zope-interface +Requires: python-zope-publisher >= 3.8 +Requires: python-zope-schema +Requires: python-zope-security +Requires: python-zope-traversing + +%description +This package provides ZCML directives for configuring browser views. +More specifically it defines the following ZCML directives: + + * browser:page + * browser:pages + * browser:view + +%prep +%setup -q -n %{modname}-%{version} + +%build +python setup.py build + +%install +rm -rf $RPM_BUILD_ROOT +python setup.py install --root=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc LICENSE.txt CHANGES.txt README.txt COPYRIGHT.txt +%{python_sitelib}/zope/browserpage/ +%{python_sitelib}/%{modname}-*.egg-info +%{python_sitelib}/%{modname}-*-nspkg.pth + + +%changelog +* Wed Jun 16 2010 Robin Lee <robinlee.sysu@gmail.com> - 3.12.2-1 +- Initial packaging diff --git a/python-zope-browserresource/F-13/python-zope-browserresource.spec b/python-zope-browserresource/F-13/python-zope-browserresource.spec new file mode 100644 index 0000000..181316f --- /dev/null +++ b/python-zope-browserresource/F-13/python-zope-browserresource.spec @@ -0,0 +1,58 @@ +%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5) +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} +%endif +%global modname zope.browserresource +%global version 3.10.3 +%global release 1 + +Summary: Browser resources implementation for Zope +Name: python-zope-browserresource +Version: %{version} +Release: %{release}%{?dist} +Source0: http://pypi.python.org/packages/source/z/%{modname}/%{modname}-%{version}.zip +License: ZPLv2.1 +Group: Development/Libraries +BuildArch: noarch +URL: http://pypi.python.org/pypi/zope.browserresource/ + +BuildRequires: python2-devel +BuildRequires: python-setuptools +Requires: python-zope-filesystem +Requires: python-zope-component +Requires: python-zope-configuration +Requires: python-zope-contenttype +Requires: python-zope-i18n +Requires: python-zope-interface +Requires: python-zope-location +Requires: python-zope-publisher +Requires: python-zope-schema +Requires: python-zope-traversing + +%description +This package provides an implementation of browser resources. It also +provides directives for defining those resources using ZCML. + +%prep +%setup -q -n %{modname}-%{version} + +%build +python setup.py build + +%install +rm -rf $RPM_BUILD_ROOT +python setup.py install --root=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc CHANGES.txt README.txt +%{python_sitelib}/zope/browserresource/ +%{python_sitelib}/%{modname}-*.egg-info +%{python_sitelib}/%{modname}-*-nspkg.pth + + +%changelog +* Thu Jun 17 2010 Robin Lee <robinlee.sysu@gmail.com> - 3.10.3-1 +- Initial packaging diff --git a/python-zope-component/F-13/python-zope-component.spec b/python-zope-component/F-13/python-zope-component.spec new file mode 100644 index 0000000..765f59b --- /dev/null +++ b/python-zope-component/F-13/python-zope-component.spec @@ -0,0 +1,55 @@ +%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5) +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} +%endif +%global modname zope.component +%global version 3.9.4 +%global release 1 + +Summary: Zope Component Architecture +Name: python-zope-component +Version: %{version} +Release: %{release}%{?dist} +Source0: http://pypi.python.org/packages/source/z/%{modname}/%{modname}-%{version}.zip +License: ZPLv2.1 +Group: Development/Libraries +BuildArch: noarch +URL: http://pypi.python.org/pypi/zope.component + +BuildRequires: python2-devel +BuildRequires: python-setuptools +Requires: python-zope-filesystem +Requires: python-setuptools +Requires: python-zope-interface +Requires: python-zope-event + +%description +This package represents the core of the Zope Component Architecture. +Together with the 'zope.interface' package, it provides facilities for +defining, registering and looking up components. + +%prep +%setup -q -n %{modname}-%{version} + +%build +python setup.py build + +%install +rm -rf $RPM_BUILD_ROOT +python setup.py install --root=$RPM_BUILD_ROOT +rm -f $RPM_BUILD_ROOT%{python_sitelib}/zope/component/*.txt + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc LICENSE.txt CHANGES.txt COPYRIGHT.txt +%doc src/zope/component/*.txt +%{python_sitelib}/zope/component/ +%{python_sitelib}/%{modname}-*.egg-info +%{python_sitelib}/%{modname}-*-nspkg.pth + + +%changelog +* Wed Jun 16 2010 Robin Lee <robinlee.sysu@gmail.com> - 3.9.4-1 +- Initial packaging diff --git a/python-zope-componentvocabulary/F-13/python-zope-componentvocabulary.spec b/python-zope-componentvocabulary/F-13/python-zope-componentvocabulary.spec new file mode 100644 index 0000000..759df6b --- /dev/null +++ b/python-zope-componentvocabulary/F-13/python-zope-componentvocabulary.spec @@ -0,0 +1,52 @@ +%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5) +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} +%endif +%global modname zope.componentvocabulary +%global version 1.0 +%global release 1 + +Summary: Component vocabularies +Name: python-zope-componentvocabulary +Version: %{version} +Release: %{release}%{?dist} +Source0: http://pypi.python.org/packages/source/z/%{modname}/%{modname}-%{version}.tar.gz +License: ZPLv2.1 +Group: Development/Libraries +BuildArch: noarch +URL: http://pypi.python.org/pypi/zope.componentvocabulary + +BuildRequires: python2-devel +BuildRequires: python-setuptools +Requires: python-zope-filesystem +Requires: python-zope-i18nmessageid +Requires: python-zope-interface +Requires: python-zope-schema +Requires: python-zope-security + +%description +This package contains various vocabularies. + +%prep +%setup -q -n %{modname}-%{version} + +%build +python setup.py build + +%install +rm -rf $RPM_BUILD_ROOT +python setup.py install --root=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc CHANGES.txt README.txt +%{python_sitelib}/zope/componentvocabulary/ +%{python_sitelib}/%{modname}-*.egg-info +%{python_sitelib}/%{modname}-*-nspkg.pth + + +%changelog +* Thu Jun 17 2010 Robin Lee <robinlee.sysu@gmail.com> - 1.0-1 +- Initial packaging diff --git a/python-zope-configuration/F-13/python-zope-configuration.spec b/python-zope-configuration/F-13/python-zope-configuration.spec new file mode 100644 index 0000000..8a6a100 --- /dev/null +++ b/python-zope-configuration/F-13/python-zope-configuration.spec @@ -0,0 +1,60 @@ +%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5) +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} +%endif +%global modname zope.configuration +%global version 3.7.2 +%global release 1 + +Summary: Zope Configuration Markup Language (ZCML) +Name: python-zope-configuration +Version: %{version} +Release: %{release}%{?dist} +Source0: http://pypi.python.org/packages/source/z/%{modname}/%{modname}-%{version}.zip +License: ZPLv2.1 +Group: Development/Libraries +BuildArch: noarch +URL: http://pypi.python.org/pypi/zope.configuration + +BuildRequires: python2-devel +BuildRequires: python-setuptools +Requires: python-zope-filesystem +Requires: python-zope-i18nmessageid +Requires: python-zope-interface +Requires: python-zope-schema +Requires: python-setuptools + +%description +The zope configuration system provides an extensible system for +supporting various kinds of configurations. + +It is based on the idea of configuration directives. Users of the +configuration system provide configuration directives in some +language that express configuration choices. The intent is that the +language be pluggable. An XML language is provided by default. + +%prep +%setup -q -n %{modname}-%{version} + +%build +python setup.py build + +%install +rm -rf $RPM_BUILD_ROOT +python setup.py install --root=$RPM_BUILD_ROOT +rm -f $RPM_BUILD_ROOT%{python_sitelib}/zope/configuration/*.txt + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc LICENSE.txt CHANGES.txt COPYRIGHT.txt +%doc src/zope/configuration/*.txt +%{python_sitelib}/zope/configuration/ +%{python_sitelib}/%{modname}-*.egg-info +%{python_sitelib}/%{modname}-*-nspkg.pth + + +%changelog +* Wed Jun 16 2010 Robin Lee <robinlee.sysu@gmail.com> - 3.7.2-1 +- Initial packaging diff --git a/python-zope-container/F-13/python-zope-container.spec b/python-zope-container/F-13/python-zope-container.spec new file mode 100644 index 0000000..5c51861 --- /dev/null +++ b/python-zope-container/F-13/python-zope-container.spec @@ -0,0 +1,70 @@ +%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5) +%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} +%endif +%global modname zope.container +%global version 3.11.1 +%global release 1 + +Summary: Zope Container +Name: python-zope-container +Version: %{version} +Release: %{release}%{?dist} +Source0: http://pypi.python.org/packages/source/z/%{modname}/%{modname}-%{version}.zip +License: ZPLv2.1 +Group: Development/Libraries +URL: http://pypi.python.org/pypi/zope.container + +BuildRequires: python2-devel +BuildRequires: python-setuptools +Requires: python-zope-filesystem +Requires: python-setuptools +Requires: python-zope-interface +Requires: python-zope-dottedname +Requires: python-zope-schema +Requires: python-zope-component +Requires: python-zope-event +Requires: python-zope-location +Requires: python-zope-security +Requires: python-zope-lifecycleevent +Requires: python-zope-i18nmessageid +Requires: python-zope-filerepresentation +Requires: python-zope-size +Requires: python-zope-traversing +Requires: python-zope-publisher +Requires: python-zope-broken +Requires: python-ZODB3 + +%description +This package define interfaces of container components, and provides +container implementations such as a BTreeContainer and +OrderedContainer, as well as the base class used by zope.site.folder +for the Folder implementation. + +%prep +%setup -q -n %{modname}-%{version} + +%build +env CFLAGS="$RPM_OPT_FLAGS" python setup.py build + +%install +rm -rf $RPM_BUILD_ROOT +python setup.py install --root=$RPM_BUILD_ROOT +# remove contained source file(s) +find $RPM_BUILD_ROOT -name '*.c' -type f -print0 | xargs -0 rm -fv +rm -f $RPM_BUILD_ROOT%{python_sitelib}/zope/container/*.txt + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc CHANGES.txt README.txt +%doc src/zope/container/*.txt +%{python_sitearch}/zope/container/ +%{python_sitearch}/%{modname}-*.egg-info +%{python_sitearch}/%{modname}-*-nspkg.pth + + +%changelog +* Wed Jun 16 2010 Robin Lee <robinlee.sysu@gmail.com> - 3.11.1-1 +- Initial packaging diff --git a/python-zope-contentprovider/F-13/python-zope-contentprovider.spec b/python-zope-contentprovider/F-13/python-zope-contentprovider.spec new file mode 100644 index 0000000..03d72d1 --- /dev/null +++ b/python-zope-contentprovider/F-13/python-zope-contentprovider.spec @@ -0,0 +1,62 @@ +%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5) +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} +%endif +%global modname zope.contentprovider +%global version 3.7.2 +%global release 1 + +Summary: Content Provider Framework for Zope Templates +Name: python-zope-contentprovider +Version: %{version} +Release: %{release}%{?dist} +Source0: http://pypi.python.org/packages/source/z/%{modname}/%{modname}-%{version}.tar.gz +License: ZPLv2.1 +Group: Development/Libraries +BuildArch: noarch +URL: http://pypi.python.org/pypi/zope.contentprovider + +BuildRequires: python2-devel +BuildRequires: python-setuptools +Requires: python-zope-filesystem +Requires: python-setuptools +Requires: python-zope-component +Requires: python-zope-event +Requires: python-zope-interface +Requires: python-zope-location +Requires: python-zope-publisher +Requires: python-zope-schema +Requires: python-zope-tales + +%description +This package provides a framework to develop componentized Web GUI +applications. Instead of describing the content of a page using a single +template or static system of templates and METAL macros, content provider +objects are dynamically looked up based on the setup/configuration of the +application. + +%prep +%setup -q -n %{modname}-%{version} + +%build +python setup.py build + +%install +rm -rf $RPM_BUILD_ROOT +python setup.py install --root=$RPM_BUILD_ROOT +rm -f $RPM_BUILD_ROOT%{python_sitelib}/zope/contentprovider/*.txt + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc LICENSE.txt CHANGES.txt COPYRIGHT.txt +%doc src/zope/contentprovider/*.txt +%{python_sitelib}/zope/contentprovider/ +%{python_sitelib}/%{modname}-*.egg-info +%{python_sitelib}/%{modname}-*-nspkg.pth + + +%changelog +* Wed Jun 16 2010 Robin Lee <robinlee.sysu@gmail.com> - 3.7.2-1 +- Initial packaging diff --git a/python-zope-contenttype/F-13/python-zope-contenttype.spec b/python-zope-contenttype/F-13/python-zope-contenttype.spec new file mode 100644 index 0000000..4bfe4fd --- /dev/null +++ b/python-zope-contenttype/F-13/python-zope-contenttype.spec @@ -0,0 +1,49 @@ +%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5) +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} +%endif +%global modname zope.contenttype +%global version 3.5.1 +%global release 1 + +Summary: Zope contenttype +Name: python-zope-contenttype +Version: %{version} +Release: %{release}%{?dist} +Source0: http://pypi.python.org/packages/source/z/%{modname}/%{modname}-%{version}.tar.gz +License: ZPLv2.1 +Group: Development/Libraries +BuildArch: noarch +URL: http://pypi.python.org/pypi/zope.contenttype + +BuildRequires: python2-devel +BuildRequires: python-setuptools +Requires: python-zope-filesystem +Requires: python-setuptools + +%description +This package provides a utility module for content-type handling. + +%prep +%setup -q -n %{modname}-%{version} + +%build +python setup.py build + +%install +rm -rf $RPM_BUILD_ROOT +python setup.py install --root=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc CHANGES.txt README.txt +%{python_sitelib}/zope/contenttype/ +%{python_sitelib}/%{modname}-*.egg-info +%{python_sitelib}/%{modname}-*-nspkg.pth + + +%changelog +* Wed Jun 16 2010 Robin Lee <robinlee.sysu@gmail.com> - 3.5.1-1 +- Initial packaging diff --git a/python-zope-datetime/F-13/python-zope-datetime.spec b/python-zope-datetime/F-13/python-zope-datetime.spec new file mode 100644 index 0000000..1fa86af --- /dev/null +++ b/python-zope-datetime/F-13/python-zope-datetime.spec @@ -0,0 +1,49 @@ +%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5) +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} +%endif +%global modname zope.datetime +%global version 3.4.0 +%global release 1 + +Summary: Zope datetime +Name: python-zope-datetime +Version: %{version} +Release: %{release}%{?dist} +Source0: http://pypi.python.org/packages/source/z/%{modname}/%{modname}-%{version}.tar.gz +License: ZPLv2.1 +Group: Development/Libraries +BuildArch: noarch +URL: http://svn.zope.org/zope.datetime + +BuildRequires: python2-devel +BuildRequires: python-setuptools +Requires: python-zope-filesystem +Requires: python-setuptools + +%description +Commonly used date and time related utility functions. + +%prep +%setup -q -n %{modname}-%{version} + +%build +python setup.py build + +%install +rm -rf $RPM_BUILD_ROOT +python setup.py install --root=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc README.txt +%{python_sitelib}/zope/datetime/ +%{python_sitelib}/%{modname}-*.egg-info +%{python_sitelib}/%{modname}-*-nspkg.pth + + +%changelog +* Wed Jun 16 2010 Robin Lee <robinlee.sysu@gmail.com> - 3.4.0-1 +- Initial packaging diff --git a/python-zope-deferredimport/F-13/python-zope-deferredimport.spec b/python-zope-deferredimport/F-13/python-zope-deferredimport.spec new file mode 100644 index 0000000..13da855 --- /dev/null +++ b/python-zope-deferredimport/F-13/python-zope-deferredimport.spec @@ -0,0 +1,57 @@ +%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5) +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} +%endif +%global modname zope.deferredimport +%global version 3.5.2 +%global release 1 + +Summary: Importing names that will only be resolved when used +Name: python-zope-deferredimport +Version: %{version} +Release: %{release}%{?dist} +Source0: http://pypi.python.org/packages/source/z/%{modname}/%{modname}-%{version}.tar.gz +License: ZPLv2.1 +Group: Development/Libraries +BuildArch: noarch +URL: http://pypi.python.org/pypi/zope.deferredimport + +BuildRequires: python2-devel +BuildRequires: python-setuptools +Requires: python-zope-filesystem +Requires: python-zope-proxy +Requires: python-setuptools + +%description +Often, especially for package modules, you want to import names for +convenience, but not actually perform the imports until necessary. +The zope.deferredimport package provided facilities for defining names +in modules that will be imported from somewhere else when used. You +can also cause deprecation warnings to be issued when a variable is +used. + +%prep +%setup -q -n %{modname}-%{version} + +%build +python setup.py build + +%install +rm -rf $RPM_BUILD_ROOT +python setup.py install --root=$RPM_BUILD_ROOT +rm -f $RPM_BUILD_ROOT%{python_sitelib}/zope/deferredimport/*.txt + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc LICENSE.txt CHANGES.txt COPYRIGHT.txt +%doc src/zope/deferredimport/*.txt +%{python_sitelib}/zope/deferredimport/ +%{python_sitelib}/%{modname}-*.egg-info +%{python_sitelib}/%{modname}-*-nspkg.pth + + +%changelog +* Wed Jun 16 2010 Robin Lee <robinlee.sysu@gmail.com> - 3.5.2-1 +- Initial packaging diff --git a/python-zope-dottedname/F-13/python-zope-dottedname.spec b/python-zope-dottedname/F-13/python-zope-dottedname.spec new file mode 100644 index 0000000..88f0c60 --- /dev/null +++ b/python-zope-dottedname/F-13/python-zope-dottedname.spec @@ -0,0 +1,53 @@ +%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5) +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} +%endif +%global modname zope.dottedname +%global version 3.4.6 +%global release 1 + +Summary: Resolver for Python dotted names +Name: python-zope-dottedname +Version: %{version} +Release: %{release}%{?dist} +Source0: http://pypi.python.org/packages/source/z/%{modname}/%{modname}-%{version}.tar.gz +License: ZPLv2.1 +Group: Development/Libraries +BuildArch: noarch +URL: http://pypi.python.org/pypi/zope.dottedname + +BuildRequires: python2-devel +BuildRequires: python-setuptools +Requires: python-zope-filesystem +Requires: python-setuptools + +%description +The zope.dottedname module provides one function, 'resolve' that +resolves strings containing dotted names into the appropriate Python +object. + +%prep +%setup -q -n %{modname}-%{version} + +%build +python setup.py build + +%install +rm -rf $RPM_BUILD_ROOT +python setup.py install --root=$RPM_BUILD_ROOT +rm -f $RPM_BUILD_ROOT%{python_sitelib}/zope/dottedname/*.txt + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc CHANGES.txt +%doc src/zope/dottedname/*.txt +%{python_sitelib}/zope/dottedname/ +%{python_sitelib}/%{modname}-*.egg-info +%{python_sitelib}/%{modname}-*-nspkg.pth + + +%changelog +* Wed Jun 16 2010 Robin Lee <robinlee.sysu@gmail.com> - 3.4.6-1 +- Initial packaging diff --git a/python-zope-error/F-13/python-zope-error.spec b/python-zope-error/F-13/python-zope-error.spec new file mode 100644 index 0000000..56a972c --- /dev/null +++ b/python-zope-error/F-13/python-zope-error.spec @@ -0,0 +1,52 @@ +%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5) +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} +%endif +%global modname zope.error +%global version 3.7.0 +%global release 1 + +Summary: An error reporting utility for Zope3 +Name: python-zope-error +Version: %{version} +Release: %{release}%{?dist} +Source0: http://pypi.python.org/packages/source/z/%{modname}/%{modname}-%{version}.tar.gz +License: ZPLv2.1 +Group: Development/Libraries +BuildArch: noarch +URL: http://pypi.python.org/pypi/zope.error + +BuildRequires: python2-devel +BuildRequires: python-setuptools +Requires: python-zope-filesystem +Requires: python-zope-exceptions +Requires: python-zope-interface +Requires: python-zope-location +Requires: python-ZODB3 + +%description +This package provides an error reporting utility which is able to store errors. + +%prep +%setup -q -n %{modname}-%{version} + +%build +python setup.py build + +%install +rm -rf $RPM_BUILD_ROOT +python setup.py install --root=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc CHANGES.txt README.txt +%{python_sitelib}/zope/error/ +%{python_sitelib}/%{modname}-*.egg-info +%{python_sitelib}/%{modname}-*-nspkg.pth + + +%changelog +* Thu Jun 17 2010 Robin Lee <robinlee.sysu@gmail.com> - 3.7.0-1 +- Initial packaging diff --git a/python-zope-exceptions/F-13/python-zope-exceptions.spec b/python-zope-exceptions/F-13/python-zope-exceptions.spec new file mode 100644 index 0000000..01e9604 --- /dev/null +++ b/python-zope-exceptions/F-13/python-zope-exceptions.spec @@ -0,0 +1,51 @@ +%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5) +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} +%endif +%global modname zope.exceptions +%global version 3.6.0 +%global release 1 + +Summary: Zope Exceptions +Name: python-zope-exceptions +Version: %{version} +Release: %{release}%{?dist} +Source0: http://pypi.python.org/packages/source/z/%{modname}/%{modname}-%{version}.tar.gz +License: ZPLv2.1 +Group: Development/Libraries +BuildArch: noarch +URL: http://cheeseshop.python.org/pypi/zope.exceptions + +BuildRequires: python2-devel +BuildRequires: python-setuptools +Requires: python-zope-filesystem +Requires: python-setuptools +Requires: python-zope-interface + +%description +This package contains exception interfaces and implementations which are so +general purpose that they don't belong in Zope application-specific packages. + +%prep +%setup -q -n %{modname}-%{version} + +%build +python setup.py build + +%install +rm -rf $RPM_BUILD_ROOT +python setup.py install --root=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc LICENSE.txt CHANGES.txt README.txt COPYRIGHT.txt +%{python_sitelib}/zope/exceptions/ +%{python_sitelib}/%{modname}-*.egg-info +%{python_sitelib}/%{modname}-*-nspkg.pth + + +%changelog +* Wed Jun 16 2010 Robin Lee <robinlee.sysu@gmail.com> - 3.6.0-1 +- Initial packaging diff --git a/python-zope-filerepresentation/F-13/python-zope-filerepresentation.spec b/python-zope-filerepresentation/F-13/python-zope-filerepresentation.spec new file mode 100644 index 0000000..c028095 --- /dev/null +++ b/python-zope-filerepresentation/F-13/python-zope-filerepresentation.spec @@ -0,0 +1,52 @@ +%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5) +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} +%endif +%global modname zope.filerepresentation +%global version 3.6.0 +%global release 1 + +Summary: File-system Representation Interfaces +Name: python-zope-filerepresentation +Version: %{version} +Release: %{release}%{?dist} +Source0: http://pypi.python.org/packages/source/z/%{modname}/%{modname}-%{version}.tar.gz +License: ZPLv2.1 +Group: Development/Libraries +BuildArch: noarch +URL: http://pypi.python.org/pypi/zope.filerepresentation + +BuildRequires: python2-devel +BuildRequires: python-setuptools +Requires: python-zope-filesystem +Requires: python-setuptools +Requires: python-zope-interface + +%description +The interfaces defined here are used for file-system and file-system-like +representations of objects, such as file-system synchronization, FTP, PUT, and +WebDAV. + +%prep +%setup -q -n %{modname}-%{version} + +%build +python setup.py build + +%install +rm -rf $RPM_BUILD_ROOT +python setup.py install --root=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc CHANGES.txt README.txt +%{python_sitelib}/zope/filerepresentation/ +%{python_sitelib}/%{modname}-*.egg-info +%{python_sitelib}/%{modname}-*-nspkg.pth + + +%changelog +* Wed Jun 16 2010 Robin Lee <robinlee.sysu@gmail.com> - 3.6.0-1 +- Initial packaging diff --git a/python-zope-formlib/F-13/python-zope-formlib.spec b/python-zope-formlib/F-13/python-zope-formlib.spec new file mode 100644 index 0000000..33ef488 --- /dev/null +++ b/python-zope-formlib/F-13/python-zope-formlib.spec @@ -0,0 +1,67 @@ +%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5) +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} +%endif +%global modname zope.formlib +%global version 4.0.3 +%global release 1 + +Summary: Form generation and validation library for Zope +Name: python-zope-formlib +Version: %{version} +Release: %{release}%{?dist} +Source0: http://pypi.python.org/packages/source/z/%{modname}/%{modname}-%{version}.tar.gz +BuildArch: noarch +License: ZPLv2.1 +Group: Development/Libraries +URL: http://pypi.python.org/pypi/zope.formlib + +BuildRequires: python2-devel +BuildRequires: python-setuptools +Requires: python-zope-filesystem +Requires: python-setuptools +Requires: pytz +Requires: python-zope-app-form +Requires: python-zope-browser >= 1.1 +Requires: python-zope-browserpage +Requires: python-zope-component +Requires: python-zope-event +Requires: python-zope-i18n +Requires: python-zope-i18nmessageid +Requires: python-zope-interface +Requires: python-zope-lifecycleevent +Requires: python-zope-publisher +Requires: python-zope-schema >= 3.5.1 +Requires: python-zope-security +Requires: python-zope-traversing +Requires: python-zope-datetime + +%description +Forms are web components that use widgets to display and input data. +Typically a template displays the widgets by accessing an attribute or +method on an underlying class. + +%prep +%setup -q -n %{modname}-%{version} + +%build +python setup.py build + +%install +rm -rf $RPM_BUILD_ROOT +python setup.py install --root=$RPM_BUILD_ROOT +rm $RPM_BUILD_ROOT%{python_sitelib}/zope/formlib/TODO.txt + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc LICENSE.txt CHANGES.txt README.txt COPYRIGHT.txt src/zope/formlib/TODO.txt +%{python_sitelib}/zope/formlib/ +%{python_sitelib}/%{modname}-*.egg-info +%{python_sitelib}/%{modname}-*-nspkg.pth + + +%changelog +* Wed Jun 16 2010 Robin Lee <robinlee.sysu@gmail.com> - 4.0.3-1 +- Initial packaging diff --git a/python-zope-i18n/F-13/python-zope-i18n.spec b/python-zope-i18n/F-13/python-zope-i18n.spec new file mode 100644 index 0000000..88fb0ee --- /dev/null +++ b/python-zope-i18n/F-13/python-zope-i18n.spec @@ -0,0 +1,62 @@ +%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5) +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} +%endif +%global modname zope.i18n +%global version 3.7.3 +%global release 1 + +Summary: Zope Internationalization Support +Name: python-zope-i18n +Version: %{version} +Release: %{release}%{?dist} +Source0: http://pypi.python.org/packages/source/z/%{modname}/%{modname}-%{version}.zip +License: ZPLv2.1 +Group: Development/Libraries +BuildArch: noarch +URL: http://pypi.python.org/pypi/zope.i18n + +BuildRequires: python2-devel +BuildRequires: python-setuptools +Requires: python-zope-filesystem +Requires: python-setuptools +Requires: pytz +Requires: python-zope-schema +Requires: python-zope-i18nmessageid +Requires: python-zope-component + +%description +This package implements several APIs related to internationalization and +localization. + +* Locale objects for all locales maintained by the ICU project. + +* Gettext-based message catalogs for message strings. + +* Locale discovery for Web-based requests. + +%prep +%setup -q -n %{modname}-%{version} + +%build +python setup.py build + +%install +rm -rf $RPM_BUILD_ROOT +python setup.py install --root=$RPM_BUILD_ROOT +rm -f $RPM_BUILD_ROOT%{python_sitelib}/zope/i18n/*.txt + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc CHANGES.txt README.txt +%doc src/zope/i18n/*.txt +%{python_sitelib}/zope/i18n/ +%{python_sitelib}/%{modname}-*.egg-info +%{python_sitelib}/%{modname}-*-nspkg.pth + + +%changelog +* Wed Jun 16 2010 Robin Lee <robinlee.sysu@gmail.com> - 3.7.3-1 +- Initial packaging diff --git a/python-zope-i18nmessageid/F-13/python-zope-i18nmessageid.spec b/python-zope-i18nmessageid/F-13/python-zope-i18nmessageid.spec new file mode 100644 index 0000000..41e16ed --- /dev/null +++ b/python-zope-i18nmessageid/F-13/python-zope-i18nmessageid.spec @@ -0,0 +1,52 @@ +%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5) +%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} +%endif +%global modname zope.i18nmessageid +%global version 3.5.2 +%global release 1 + +Summary: Message Identifiers for internationalization +Name: python-zope-i18nmessageid +Version: %{version} +Release: %{release}%{?dist} +Source0: http://pypi.python.org/packages/source/z/%{modname}/%{modname}-%{version}.zip +License: ZPLv2.1 +Group: Development/Libraries +URL: http://pypi.python.org/pypi/zope.i18nmessageid + +BuildRequires: python2-devel +BuildRequires: python-setuptools +Requires: python-zope-filesystem +Requires: python-setuptools + +%description +This module provides message identifiers for internationalization. + +%prep +%setup -q -n %{modname}-%{version} + +%build +env CFLAGS="$RPM_OPT_FLAGS" python setup.py build + +%install +rm -rf $RPM_BUILD_ROOT +python setup.py install --root=$RPM_BUILD_ROOT +# remove contained source file(s) +find $RPM_BUILD_ROOT -name '*.c' -type f -print0 | xargs -0 rm -fv +rm -f $RPM_BUILD_ROOT%{python_sitelib}/zope/i18nmessageid/*.txt + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc CHANGES.txt README.txt +%doc src/zope/i18nmessageid/*.txt +%{python_sitearch}/zope/i18nmessageid/ +%{python_sitearch}/%{modname}-*.egg-info +%{python_sitearch}/%{modname}-*-nspkg.pth + + +%changelog +* Wed Jun 16 2010 Robin Lee <robinlee.sysu@gmail.com> - 3.5.2-1 +- Initial packaging diff --git a/python-zope-lifecycleevent/F-13/python-zope-lifecycleevent.spec b/python-zope-lifecycleevent/F-13/python-zope-lifecycleevent.spec new file mode 100644 index 0000000..904f04e --- /dev/null +++ b/python-zope-lifecycleevent/F-13/python-zope-lifecycleevent.spec @@ -0,0 +1,54 @@ +%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5) +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} +%endif +%global modname zope.lifecycleevent +%global version 3.6.1 +%global release 1 + +Summary: Object life-cycle events +Name: python-zope-lifecycleevent +Version: %{version} +Release: %{release}%{?dist} +Source0: http://pypi.python.org/packages/source/z/%{modname}/%{modname}-%{version}.zip +License: ZPLv2.1 +Group: Development/Libraries +BuildArch: noarch +URL: http://pypi.python.org/pypi/zope.lifecycleevent + +BuildRequires: python2-devel +BuildRequires: python-setuptools +Requires: python-zope-filesystem +Requires: python-setuptools +Requires: python-zope-interface +Requires: python-zope-component +Requires: python-zope-event + +%description +This package provides object life-cycle events for Zope. + +%prep +%setup -q -n %{modname}-%{version} + +%build +python setup.py build + +%install +rm -rf $RPM_BUILD_ROOT +python setup.py install --root=$RPM_BUILD_ROOT +rm -f $RPM_BUILD_ROOT%{python_sitelib}/zope/lifecycleevent/*.txt + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc CHANGES.txt README.txt +%doc src/zope/lifecycleevent/*.txt +%{python_sitelib}/zope/lifecycleevent/ +%{python_sitelib}/%{modname}-*.egg-info +%{python_sitelib}/%{modname}-*-nspkg.pth + + +%changelog +* Thu Jun 17 2010 Robin Lee <robinlee.sysu@gmail.com> - 3.6.1-1 +- Initial packaging diff --git a/python-zope-location/F-13/python-zope-location.spec b/python-zope-location/F-13/python-zope-location.spec new file mode 100644 index 0000000..41cce37 --- /dev/null +++ b/python-zope-location/F-13/python-zope-location.spec @@ -0,0 +1,54 @@ +%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5) +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} +%endif +%global modname zope.location +%global version 3.9.0 +%global release 1 + +Summary: Zope Location +Name: python-zope-location +Version: %{version} +Release: %{release}%{?dist} +Source0: http://pypi.python.org/packages/source/z/%{modname}/%{modname}-%{version}.zip +License: ZPLv2.1 +Group: Development/Libraries +BuildArch: noarch +URL: http://pypi.python.org/pypi/zope.location/ + +BuildRequires: python2-devel +BuildRequires: python-setuptools +Requires: python-zope-filesystem +Requires: python-zope-interface +Requires: python-zope-schema +Requires: python-zope-component +Requires: python-zope-proxy + +%description +This package provides the location class for Zope. + +%prep +%setup -q -n %{modname}-%{version} + +%build +python setup.py build + +%install +rm -rf $RPM_BUILD_ROOT +python setup.py install --root=$RPM_BUILD_ROOT +rm -f $RPM_BUILD_ROOT%{python_sitelib}/zope/location/*.txt + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc CHANGES.txt README.txt +%doc src/zope/location/*.txt +%{python_sitelib}/zope/location/ +%{python_sitelib}/%{modname}-*.egg-info +%{python_sitelib}/%{modname}-*-nspkg.pth + + +%changelog +* Thu Jun 17 2010 Robin Lee <robinlee.sysu@gmail.com> - 3.9.0-1 +- Initial packaging diff --git a/python-zope-mkzeoinstance/F-13/python-zope-mkzeoinstance.spec b/python-zope-mkzeoinstance/F-13/python-zope-mkzeoinstance.spec new file mode 100644 index 0000000..892251c --- /dev/null +++ b/python-zope-mkzeoinstance/F-13/python-zope-mkzeoinstance.spec @@ -0,0 +1,51 @@ +%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5) +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} +%endif +%global modname zope.mkzeoinstance +%global version 3.9.4 +%global release 1 + +Summary: Make standalone ZEO database server instances +Name: python-zope-mkzeoinstance +Version: %{version} +Release: %{release}%{?dist} +Source0: http://pypi.python.org/packages/source/z/%{modname}/%{modname}-%{version}.tar.gz +License: ZPLv2.1 +Group: Development/Libraries +BuildArch: noarch +URL: http://pypi.python.org/pypi/zope.mkzeoinstance + +BuildRequires: python2-devel +BuildRequires: python-setuptools +Requires: python-zope-filesystem +#Requires: python-setuptools +Requires: python-ZODB3 + +%description +This package provides a single script, ``mkzeoinstance``, which creates +a standalone ZEO server instance. + +%prep +%setup -q -n %{modname}-%{version} + +%build +python setup.py build + +%install +rm -rf $RPM_BUILD_ROOT +python setup.py install --root=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc LICENSE.txt CHANGES.txt README.txt COPYRIGHT.txt +%{_bindir}/mkzeoinstance +%{python_sitelib}/zope/mkzeoinstance/ +%{python_sitelib}/%{modname}-*.egg-info +%{python_sitelib}/%{modname}-*-nspkg.pth + +%changelog +* Thu Jun 17 2010 Robin Lee <robinlee.sysu@gmail.com> - 3.9.4-1 +- Initial packaging diff --git a/python-zope-pagetemplate/F-13/python-zope-pagetemplate.spec b/python-zope-pagetemplate/F-13/python-zope-pagetemplate.spec new file mode 100644 index 0000000..ff098c2 --- /dev/null +++ b/python-zope-pagetemplate/F-13/python-zope-pagetemplate.spec @@ -0,0 +1,61 @@ +%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5) +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} +%endif +%global modname zope.pagetemplate +%global version 3.5.1 +%global release 1 + +Summary: Zope Page Templates +Name: python-zope-pagetemplate +Version: %{version} +Release: %{release}%{?dist} +Source0: http://pypi.python.org/packages/source/z/%{modname}/%{modname}-%{version}.zip +License: ZPLv2.1 +Group: Development/Libraries +BuildArch: noarch +URL: http://pypi.python.org/pypi/zope.pagetemplate + +BuildRequires: python2-devel +BuildRequires: python-setuptools +Requires: python-zope-filesystem +Requires: python-zope-interface +Requires: python-zope-component +Requires: python-zope-security +Requires: python-zope-tales +Requires: python-zope-tal +Requires: python-zope-i18n +Requires: python-zope-i18nmessageid +Requires: python-zope-traversing + +%description +Page Templates provide an elegant templating mechanism that achieves a +clean separation of presentation and application logic while allowing +for designers to work with templates in their visual editing tools +(FrontPage, Dreamweaver, GoLive, etc.). + +%prep +%setup -q -n %{modname}-%{version} + +%build +python setup.py build + +%install +rm -rf $RPM_BUILD_ROOT +python setup.py install --root=$RPM_BUILD_ROOT +rm -f $RPM_BUILD_ROOT%{python_sitelib}/zope/pagetemplate/*.txt + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc CHANGES.txt +%doc src/zope/pagetemplate/*.txt +%{python_sitelib}/zope/pagetemplate/ +%{python_sitelib}/%{modname}-*.egg-info +%{python_sitelib}/%{modname}-*-nspkg.pth + + +%changelog +* Thu Jun 17 2010 Robin Lee <robinlee.sysu@gmail.com> - 3.5.1-1 +- Initial packaging diff --git a/python-zope-processlifetime/F-13/python-zope-processlifetime.spec b/python-zope-processlifetime/F-13/python-zope-processlifetime.spec new file mode 100644 index 0000000..6862296 --- /dev/null +++ b/python-zope-processlifetime/F-13/python-zope-processlifetime.spec @@ -0,0 +1,50 @@ +%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5) +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} +%endif +%global modname zope.processlifetime +%global version 1.0 +%global release 1 + +Summary: Zope process lifetime events +Name: python-zope-processlifetime +Version: %{version} +Release: %{release}%{?dist} +Source0: http://pypi.python.org/packages/source/z/%{modname}/%{modname}-%{version}.tar.gz +License: ZPLv2.1 +Group: Development/Libraries +BuildArch: noarch +URL: http://pypi.python.org/pypi/zope.processlifetime + +BuildRequires: python2-devel +BuildRequires: python-setuptools +Requires: python-zope-filesystem +Requires: python-zope-interface + +%description +This package provides interfaces / implementations for events relative to +the lifetime of a server process (startup, database opening, etc.) + +%prep +%setup -q -n %{modname}-%{version} + +%build +python setup.py build + +%install +rm -rf $RPM_BUILD_ROOT +python setup.py install --root=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc CHANGES.txt README.txt +%{python_sitelib}/zope/processlifetime/ +%{python_sitelib}/%{modname}-*.egg-info +%{python_sitelib}/%{modname}-*-nspkg.pth + + +%changelog +* Thu Jun 17 2010 Robin Lee <robinlee.sysu@gmail.com> - 1.0-1 +- Initial packaging diff --git a/python-zope-ptresource/F-13/python-zope-ptresource.spec b/python-zope-ptresource/F-13/python-zope-ptresource.spec new file mode 100644 index 0000000..a0171dc --- /dev/null +++ b/python-zope-ptresource/F-13/python-zope-ptresource.spec @@ -0,0 +1,55 @@ +%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5) +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} +%endif +%global modname zope.ptresource +%global version 3.9.0 +%global release 1 + +Summary: Page template resource plugin for zope.browserresource +Name: python-zope-ptresource +Version: %{version} +Release: %{release}%{?dist} +Source0: http://pypi.python.org/packages/source/z/%{modname}/%{modname}-%{version}.tar.gz +License: ZPLv2.1 +Group: Development/Libraries +BuildArch: noarch +URL: http://pypi.python.org/pypi/zope.ptresource/ + +BuildRequires: python2-devel +BuildRequires: python-setuptools +Requires: python-zope-filesystem +Requires: python-zope-browserresource +Requires: python-zope-interface +Requires: python-zope-pagetemplate +Requires: python-zope-publisher +Requires: python-zope-security + +%description +This package provides a "page template" resource class, a resource which +content is processed with Zope Page Templates engine before returning to +client. + +%prep +%setup -q -n %{modname}-%{version} + +%build +python setup.py build + +%install +rm -rf $RPM_BUILD_ROOT +python setup.py install --root=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc CHANGES.txt README.txt +%{python_sitelib}/zope/ptresource/ +%{python_sitelib}/%{modname}-*.egg-info +%{python_sitelib}/%{modname}-*-nspkg.pth + + +%changelog +* Thu Jun 17 2010 Robin Lee <robinlee.sysu@gmail.com> - 3.9.0-1 +- Initial packaging diff --git a/python-zope-publisher/F-13/python-zope-publisher.spec b/python-zope-publisher/F-13/python-zope-publisher.spec new file mode 100644 index 0000000..7f7049d --- /dev/null +++ b/python-zope-publisher/F-13/python-zope-publisher.spec @@ -0,0 +1,66 @@ +%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5) +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} +%endif +%global modname zope.publisher +%global version 3.12.3 +%global release 1 + +Summary: Publishing Python objects on the web +Name: python-zope-publisher +Version: %{version} +Release: %{release}%{?dist} +Source0: http://pypi.python.org/packages/source/z/%{modname}/%{modname}-%{version}.tar.gz +License: ZPLv2.1 +Group: Development/Libraries +BuildArch: noarch +URL: http://pypi.python.org/pypi/zope.publisher + +BuildRequires: python2-devel +BuildRequires: python-setuptools +Requires: python-zope-filesystem +Requires: python-zope-browser +Requires: python-zope-component +Requires: python-zope-configuration +Requires: python-zope-contenttype +Requires: python-zope-event +Requires: python-zope-exceptions +Requires: python-zope-i18n +Requires: python-zope-interface +Requires: python-zope-location +Requires: python-zope-proxy +Requires: python-zope-security + +%description +zope.publisher allows you to publish Python objects on the web. It +has support for plain HTTP/WebDAV clients, web browsers as well as +XML-RPC and FTP clients. Input and output streams are represented by +request and response objects which allow for easy client interaction +from Python. The behavior of the publisher is geared towards WSGI +compatibility. + +%prep +%setup -q -n %{modname}-%{version} + +%build +python setup.py build + +%install +rm -rf $RPM_BUILD_ROOT +python setup.py install --root=$RPM_BUILD_ROOT +rm -f $RPM_BUILD_ROOT%{python_sitelib}/zope/publisher/*.txt + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc CHANGES.txt README.txt +%doc src/zope/publisher/*.txt +%{python_sitelib}/zope/publisher/ +%{python_sitelib}/%{modname}-*.egg-info +%{python_sitelib}/%{modname}-*-nspkg.pth + + +%changelog +* Thu Jun 17 2010 Robin Lee <robinlee.sysu@gmail.com> - 3.12.3-1 +- Initial packaging diff --git a/python-zope-schema/F-13/python-zope-schema.spec b/python-zope-schema/F-13/python-zope-schema.spec new file mode 100644 index 0000000..38e1b0e --- /dev/null +++ b/python-zope-schema/F-13/python-zope-schema.spec @@ -0,0 +1,52 @@ +%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5) +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} +%endif +%global modname zope.schema +%global version 3.6.4 +%global release 1 + +Summary: Zope 3 schemas +Name: python-zope-schema +Version: %{version} +Release: %{release}%{?dist} +Source0: http://pypi.python.org/packages/source/z/%{modname}/%{modname}-%{version}.tar.gz +License: ZPLv2.1 +Group: Development/Libraries +BuildArch: noarch +URL: http://pypi.python.org/pypi/zope.schema + +BuildRequires: python2-devel +BuildRequires: python-setuptools +Requires: python-zope-filesystem +Requires: python-setuptools +Requires: python-zope-interface +Requires: python-zope-event + +%description +This package is a zope.interface extension for defining data schemas. + +%prep +%setup -q -n %{modname}-%{version} + +%build +python setup.py build + +%install +rm -rf $RPM_BUILD_ROOT +python setup.py install --root=$RPM_BUILD_ROOT +rm $RPM_BUILD_ROOT%{python_sitelib}/zope/schema/*.txt + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc LICENSE.txt CHANGES.txt COPYRIGHT.txt src/zope/schema/*.txt +%{python_sitelib}/zope/schema/ +%{python_sitelib}/%{modname}-*.egg-info +%{python_sitelib}/%{modname}-*-nspkg.pth + + +%changelog +* Wed Jun 16 2010 Robin Lee <robinlee.sysu@gmail.com> - 3.6.4-1 +- Initial packaging diff --git a/python-zope-security/F-13/python-zope-security.spec b/python-zope-security/F-13/python-zope-security.spec new file mode 100644 index 0000000..e034e95 --- /dev/null +++ b/python-zope-security/F-13/python-zope-security.spec @@ -0,0 +1,66 @@ +%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5) +%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} +%endif +%global modname zope.security +%global version 3.7.3 +%global release 1 + +Summary: Zope Security Framework +Name: python-zope-security +Version: %{version} +Release: %{release}%{?dist} +Source0: http://pypi.python.org/packages/source/z/%{modname}/%{modname}-%{version}.zip +License: ZPLv2.1 +Group: Development/Libraries +URL: http://pypi.python.org/pypi/zope.security + +BuildRequires: python2-devel +BuildRequires: python-setuptools +Requires: python-zope-filesystem +Requires: python-zope-component +Requires: python-zope-configuration +Requires: python-zope-i18nmessageid +Requires: python-zope-interface +Requires: python-zope-location +Requires: python-zope-proxy +Requires: python-zope-schema + +%description +The Security framework provides a generic mechanism to implement security +policies on Python objects. + +%prep +%setup -q -n %{modname}-%{version} +sed -i -e '/^#! *\//, 1d' src/zope/security/setup.py + +%build +env CFLAGS="$RPM_OPT_FLAGS" python setup.py build + +%install +rm -rf $RPM_BUILD_ROOT +python setup.py install --root=$RPM_BUILD_ROOT +# remove contained source file(s) +find $RPM_BUILD_ROOT -name '*.c' -type f -print0 | xargs -0 rm -fv +# deal with documents +rm -f $RPM_BUILD_ROOT%{python_sitelib}/zope/security/*.txt +rm -f $RPM_BUILD_ROOT%{python_sitelib}/zope/security/untrustedpython/*.txt +mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/untrustedpython/ +cp -p src/zope/security/untrustedpython/*.txt \ + $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/untrustedpython/ +cp CHANGES.txt src/zope/security/*.txt \ + $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/ + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%{_docdir}/%{name}-%{version}/ +%{python_sitearch}/zope/security/ +%{python_sitearch}/%{modname}-*.egg-info +%{python_sitearch}/%{modname}-*-nspkg.pth + + +%changelog +* Thu Jun 17 2010 Robin Lee <robinlee.sysu@gmail.com> - 3.7.3-1 +- Initial packaging diff --git a/python-zope-sendmail/F-13/python-zope-sendmail.spec b/python-zope-sendmail/F-13/python-zope-sendmail.spec new file mode 100644 index 0000000..c0a1612 --- /dev/null +++ b/python-zope-sendmail/F-13/python-zope-sendmail.spec @@ -0,0 +1,56 @@ +%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5) +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} +%endif +%global modname zope.sendmail +%global version 3.6.1 +%global release 1 + +Summary: Zope sendmail +Name: python-zope-sendmail +Version: %{version} +Release: %{release}%{?dist} +Source0: http://pypi.python.org/packages/source/z/%{modname}/%{modname}-%{version}.tar.gz +License: ZPLv2.1 +Group: Development/Libraries +BuildArch: noarch +URL: http://pypi.python.org/pypi/zope.sendmail + +BuildRequires: python2-devel +BuildRequires: python-setuptools +Requires: python-zope-filesystem +Requires: python-transaction +Requires: python-zope-i18nmessageid +Requires: python-zope-interface +Requires: python-zope-schema +Requires: python-zope-component +Requires: python-zope-security + +%description +zope.sendmail is a package for email sending from Zope 3 applications. + +%prep +%setup -q -n %{modname}-%{version} + +%build +python setup.py build + +%install +rm -rf $RPM_BUILD_ROOT +python setup.py install --root=$RPM_BUILD_ROOT +rm -f $RPM_BUILD_ROOT%{python_sitelib}/zope/sendmail/*.txt + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc CHANGES.txt +%doc src/zope/sendmail/*.txt +%{python_sitelib}/zope/sendmail/ +%{python_sitelib}/%{modname}-*.egg-info +%{python_sitelib}/%{modname}-*-nspkg.pth + + +%changelog +* Thu Jun 17 2010 Robin Lee <robinlee.sysu@gmail.com> - 3.6.1-1 +- Initial packaging diff --git a/python-zope-sequencesort/F-13/python-zope-sequencesort.spec b/python-zope-sequencesort/F-13/python-zope-sequencesort.spec new file mode 100644 index 0000000..1cdc7a4 --- /dev/null +++ b/python-zope-sequencesort/F-13/python-zope-sequencesort.spec @@ -0,0 +1,48 @@ +%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5) +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} +%endif +%global modname zope.sequencesort +%global version 3.4.0 +%global release 1 + +Summary: Sequence Sorting +Name: python-zope-sequencesort +Version: %{version} +Release: %{release}%{?dist} +Source0: http://pypi.python.org/packages/source/z/%{modname}/%{modname}-%{version}.tar.gz +License: ZPLv2.1 +Group: Development/Libraries +BuildArch: noarch +URL: http://cheeseshop.python.org/pypi/zope.sequencesort + +BuildRequires: python2-devel +BuildRequires: python-setuptools +Requires: python-zope-filesystem + +%description +This package provides a very advanced sequence sorting feature. + +%prep +%setup -q -n %{modname}-%{version} + +%build +python setup.py build + +%install +rm -rf $RPM_BUILD_ROOT +python setup.py install --root=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc CHANGES.txt README.txt +%{python_sitelib}/zope/sequencesort/ +%{python_sitelib}/%{modname}-*.egg-info +%{python_sitelib}/%{modname}-*-nspkg.pth + + +%changelog +* Thu Jun 17 2010 Robin Lee <robinlee.sysu@gmail.com> - 3.4.0-1 +- Initial packaging diff --git a/python-zope-site/F-13/python-zope-site.spec b/python-zope-site/F-13/python-zope-site.spec new file mode 100644 index 0000000..baf391b --- /dev/null +++ b/python-zope-site/F-13/python-zope-site.spec @@ -0,0 +1,62 @@ +%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5) +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} +%endif +%global modname zope.site +%global version 3.9.1 +%global release 1 + +Summary: Local registries for zope component architecture +Name: python-zope-site +Version: %{version} +Release: %{release}%{?dist} +Source0: http://pypi.python.org/packages/source/z/%{modname}/%{modname}-%{version}.zip +License: ZPLv2.1 +Group: Development/Libraries +BuildArch: noarch +URL: http://pypi.python.org/pypi/zope.site + +BuildRequires: python2-devel +BuildRequires: python-setuptools +Requires: python-zope-filesystem +Requires: python-zope-annotation +Requires: python-zope-container +Requires: python-zope-security +Requires: python-zope-component +Requires: python-zope-event +Requires: python-zope-interface +Requires: python-zope-lifecycleevent +Requires: python-zope-location + +%description +This package provides a local and persistent site manager +implementation, so that one can register local utilities and +adapters. It uses local adapter registries for its adapter and utility +registry. The module also provides some facilities to organize the +local software and ensures the correct behavior inside the ZODB. + +%prep +%setup -q -n %{modname}-%{version} + +%build +python setup.py build + +%install +rm -rf $RPM_BUILD_ROOT +python setup.py install --root=$RPM_BUILD_ROOT +rm -f $RPM_BUILD_ROOT%{python_sitelib}/zope/site/*.txt + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc CHANGES.txt README.txt +%doc src/zope/site/*.txt +%{python_sitelib}/zope/site/ +%{python_sitelib}/%{modname}-*.egg-info +%{python_sitelib}/%{modname}-*-nspkg.pth + + +%changelog +* Thu Jun 17 2010 Robin Lee <robinlee.sysu@gmail.com> - 3.9.1-1 +- Initial packaging diff --git a/python-zope-size/F-13/python-zope-size.spec b/python-zope-size/F-13/python-zope-size.spec new file mode 100644 index 0000000..89096ba --- /dev/null +++ b/python-zope-size/F-13/python-zope-size.spec @@ -0,0 +1,51 @@ +%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5) +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} +%endif +%global modname zope.size +%global version 3.4.1 +%global release 1 + +Summary: Interfaces and simple adapter that give the size of an object +Name: python-zope-size +Version: %{version} +Release: %{release}%{?dist} +Source0: http://pypi.python.org/packages/source/z/%{modname}/%{modname}-%{version}.tar.gz +License: ZPLv2.1 +Group: Development/Libraries +BuildArch: noarch +URL: http://pypi.python.org/pypi/zope.size + +BuildRequires: python2-devel +BuildRequires: python-setuptools +Requires: python-zope-filesystem +Requires: python-zope-interface +Requires: python-zope-i18nmessageid + +%description +This package provides a definition of simple interface that allows to +retrieve the size of the object for displaying and for sorting. + +%prep +%setup -q -n %{modname}-%{version} + +%build +python setup.py build + +%install +rm -rf $RPM_BUILD_ROOT +python setup.py install --root=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc CHANGES.txt README.txt +%{python_sitelib}/zope/size/ +%{python_sitelib}/%{modname}-*.egg-info +%{python_sitelib}/%{modname}-*-nspkg.pth + + +%changelog +* Thu Jun 17 2010 Robin Lee <robinlee.sysu@gmail.com> - 3.4.1-1 +- Initial packaging diff --git a/python-zope-structuredtext/F-13/python-zope-structuredtext.spec b/python-zope-structuredtext/F-13/python-zope-structuredtext.spec new file mode 100644 index 0000000..1ed3063 --- /dev/null +++ b/python-zope-structuredtext/F-13/python-zope-structuredtext.spec @@ -0,0 +1,50 @@ +%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5) +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} +%endif +%global modname zope.structuredtext +%global version 3.5.0 +%global release 1 + +Summary: StructuredText parser +Name: python-zope-structuredtext +Version: %{version} +Release: %{release}%{?dist} +Source0: http://pypi.python.org/packages/source/z/%{modname}/%{modname}-%{version}.tar.gz +License: ZPLv2.1 +Group: Development/Libraries +BuildArch: noarch +URL: http://pypi.python.org/pypi/zope.structuredtext + +BuildRequires: python2-devel +BuildRequires: python-setuptools +Requires: python-zope-filesystem + +%description +This package provides a parser and renderers for the classic Zope +"structured text" markup dialect (STX). STX is a plain text markup in +which document structure is signaled primarily by indentation + +%prep +%setup -q -n %{modname}-%{version} + +%build +python setup.py build + +%install +rm -rf $RPM_BUILD_ROOT +python setup.py install --root=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc CHANGES.txt README.txt TODO.txt docs/ +%{python_sitelib}/zope/structuredtext/ +%{python_sitelib}/%{modname}-*.egg-info +%{python_sitelib}/%{modname}-*-nspkg.pth + + +%changelog +* Thu Jun 17 2010 Robin Lee <robinlee.sysu@gmail.com> - 3.5.0-1 +- Initial packaging diff --git a/python-zope-tal/F-13/python-zope-tal.spec b/python-zope-tal/F-13/python-zope-tal.spec new file mode 100644 index 0000000..265e505 --- /dev/null +++ b/python-zope-tal/F-13/python-zope-tal.spec @@ -0,0 +1,54 @@ +%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5) +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} +%endif +%global modname zope.tal +%global version 3.5.2 +%global release 1 + +Summary: Zope 3 Template Application Languate (TAL) +Name: python-zope-tal +Version: %{version} +Release: %{release}%{?dist} +Source0: http://pypi.python.org/packages/source/z/%{modname}/%{modname}-%{version}.zip +License: ZPLv2.1 +Group: Development/Libraries +BuildArch: noarch +URL: http://pypi.python.org/pypi/zope.tal + +BuildRequires: python2-devel +BuildRequires: python-setuptools +Requires: python-zope-filesystem +Requires: python-zope-i18nmessageid +Requires: python-zope-interface + +%description +The Zope3 Template Attribute Languate (TAL) specifies the custom namespace +and attributes which are used by the Zope Page Templates renderer to inject +dynamic markup into a page. It also includes the Macro Expansion for TAL +(METAL) macro language used in page assembly. + +%prep +%setup -q -n %{modname}-%{version} +sed -i -e '/^#! *\//, 1d' src/zope/tal/*.py src/zope/tal/tests/*.py + +%build +python setup.py build + +%install +rm -rf $RPM_BUILD_ROOT +python setup.py install --root=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc CHANGES.txt README.txt +%{python_sitelib}/zope/tal/ +%{python_sitelib}/%{modname}-*.egg-info +%{python_sitelib}/%{modname}-*-nspkg.pth + + +%changelog +* Thu Jun 17 2010 Robin Lee <robinlee.sysu@gmail.com> - 3.5.2-1 +- Initial packaging diff --git a/python-zope-tales/F-13/python-zope-tales.spec b/python-zope-tales/F-13/python-zope-tales.spec new file mode 100644 index 0000000..2763eae --- /dev/null +++ b/python-zope-tales/F-13/python-zope-tales.spec @@ -0,0 +1,51 @@ +%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5) +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} +%endif +%global modname zope.tales +%global version 3.5.1 +%global release 1 + +Summary: Zope Template Application Language Expression Syntax (TALES) +Name: python-zope-tales +Version: %{version} +Release: %{release}%{?dist} +Source0: http://pypi.python.org/packages/source/z/%{modname}/%{modname}-%{version}.zip +License: ZPLv2.1 +Group: Development/Libraries +BuildArch: noarch +URL: http://pypi.python.org/pypi/zope.tales + +BuildRequires: python2-devel +BuildRequires: python-setuptools +Requires: python-zope-filesystem +Requires: python-zope-interface +Requires: python-zope-tal + +%description +This package provides Zope Template Application Language Expression Syntax +(TALES). + +%prep +%setup -q -n %{modname}-%{version} + +%build +python setup.py build + +%install +rm -rf $RPM_BUILD_ROOT +python setup.py install --root=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc CHANGES.txt README.txt +%{python_sitelib}/zope/tales/ +%{python_sitelib}/%{modname}-*.egg-info +%{python_sitelib}/%{modname}-*-nspkg.pth + + +%changelog +* Thu Jun 17 2010 Robin Lee <robinlee.sysu@gmail.com> - 3.5.1-1 +- Initial packaging diff --git a/python-zope-testbrowser/F-13/python-zope-testbrowser.spec b/python-zope-testbrowser/F-13/python-zope-testbrowser.spec new file mode 100644 index 0000000..28213d4 --- /dev/null +++ b/python-zope-testbrowser/F-13/python-zope-testbrowser.spec @@ -0,0 +1,57 @@ +%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5) +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} +%endif +%global modname zope.testbrowser +%global version 3.9.0 +%global release 1 + +Summary: Programmable browser for functional black-box tests +Name: python-zope-testbrowser +Version: %{version} +Release: %{release}%{?dist} +Source0: http://pypi.python.org/packages/source/z/%{modname}/%{modname}-%{version}.tar.gz +License: ZPLv2.1 +Group: Development/Libraries +BuildArch: noarch +URL: http://pypi.python.org/pypi/zope.testbrowser + +BuildRequires: python2-devel +BuildRequires: python-setuptools +Requires: python-zope-filesystem +Requires: python-mechanize > 0.2.0 +Requires: python-zope-inferface +Requires: python-zope-schema +Requires: pytz + +%description +zope.testbrowser provides an easy-to-use programmable web browser +with special focus on testing. It is used in Zope, but it's not Zope +specific at all. For instance, it can be used to test or otherwise +interact with any web site. + +%prep +%setup -q -n %{modname}-%{version} + +%build +python setup.py build + +%install +rm -rf $RPM_BUILD_ROOT +python setup.py install --root=$RPM_BUILD_ROOT +rm -f $RPM_BUILD_ROOT%{python_sitelib}/zope/testbrowser/*.txt + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc LICENSE.txt CHANGES.txt COPYRIGHT.txt +%doc src/zope/testbrowser/*.txt +%{python_sitelib}/zope/testbrowser/ +%{python_sitelib}/%{modname}-*.egg-info +%{python_sitelib}/%{modname}-*-nspkg.pth + + +%changelog +* Thu Jun 17 2010 Robin Lee <robinlee.sysu@gmail.com> - 3.9.0-1 +- Initial packaging diff --git a/python-zope-traversing/F-13/python-zope-traversing.spec b/python-zope-traversing/F-13/python-zope-traversing.spec new file mode 100644 index 0000000..945e75c --- /dev/null +++ b/python-zope-traversing/F-13/python-zope-traversing.spec @@ -0,0 +1,58 @@ +%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5) +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} +%endif +%global modname zope.traversing +%global version 3.12.1 +%global release 1 + +Summary: Resolving paths in the object hierarchy +Name: python-zope-traversing +Version: %{version} +Release: %{release}%{?dist} +Source0: http://pypi.python.org/packages/source/z/%{modname}/%{modname}-%{version}.zip +License: ZPLv2.1 +Group: Development/Libraries +BuildArch: noarch +URL: http://pypi.python.org/pypi/zope.traversing + +BuildRequires: python2-devel +BuildRequires: python-setuptools +Requires: python-zope-filesystem +Requires: python-zope-component +Requires: python-zope-i18n +Requires: python-zope-i18nmessageid +Requires: python-zope-interface +Requires: python-zope-proxy +Requires: python-zope-publisher +Requires: python-zope-security +Requires: python-zope-location + +%description +This package provides adapters for resolving object paths by traversing an +object hierarchy. This also includes support for traversal namespaces as well +as computing URLs. + +%prep +%setup -q -n %{modname}-%{version} + +%build +python setup.py build + +%install +rm -rf $RPM_BUILD_ROOT +python setup.py install --root=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc CHANGES.txt README.txt +%{python_sitelib}/zope/traversing/ +%{python_sitelib}/%{modname}-*.egg-info +%{python_sitelib}/%{modname}-*-nspkg.pth + + +%changelog +* Thu Jun 17 2010 Robin Lee <robinlee.sysu@gmail.com> - 3.12.1-1 +- Initial packaging diff --git a/python-zope-viewlet/F-13/python-zope-viewlet.spec b/python-zope-viewlet/F-13/python-zope-viewlet.spec new file mode 100644 index 0000000..470cf35 --- /dev/null +++ b/python-zope-viewlet/F-13/python-zope-viewlet.spec @@ -0,0 +1,62 @@ +%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5) +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} +%endif +%global modname zope.viewlet +%global version 3.7.2 +%global release 1 + +Summary: Zope Viewlets +Name: python-zope-viewlet +Version: %{version} +Release: %{release}%{?dist} +Source0: http://pypi.python.org/packages/source/z/%{modname}/%{modname}-%{version}.tar.gz +License: ZPLv2.1 +Group: Development/Libraries +BuildArch: noarch +URL: http://pypi.python.org/pypi/zope.viewlet + +BuildRequires: python2-devel +BuildRequires: python-setuptools +Requires: python-zope-filesystem +Requires: python-zope-browserpage +Requires: python-zope-component +Requires: python-zope-configuration +Requires: python-zope-contentprovider +Requires: python-zope-event +Requires: python-zope-i18nmessageid +Requires: python-zope-interface +Requires: python-zope-location +Requires: python-zope-publisher +Requires: python-zope-schema +Requires: python-zope-security +Requires: python-zope-traversing + +%description +Viewlets provide a generic framework for building pluggable user interfaces. + +%prep +%setup -q -n %{modname}-%{version} + +%build +python setup.py build + +%install +rm -rf $RPM_BUILD_ROOT +python setup.py install --root=$RPM_BUILD_ROOT +rm -f $RPM_BUILD_ROOT%{python_sitelib}/zope/viewlet/*.txt + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc LICENSE.txt CHANGES.txt COPYRIGHT.txt +%doc src/zope/viewlet/*.txt +%{python_sitelib}/zope/viewlet/ +%{python_sitelib}/%{modname}-*.egg-info +%{python_sitelib}/%{modname}-*-nspkg.pth + + +%changelog +* Thu Jun 17 2010 Robin Lee <robinlee.sysu@gmail.com> - 3.7.2-1 +- Initial packaging |