[python-zope-proxy] First import

cheeselee cheeselee at fedoraproject.org
Thu Sep 9 01:33:30 UTC 2010


commit 3b316c205d8b482a8f7a743c96153d4a9794e901
Author: Robin Lee <robinlee.sysu at gmail.com>
Date:   Thu Sep 9 09:33:00 2010 +0800

    First import

 .gitignore             |    1 +
 python-zope-proxy.spec |  103 ++++++++++++++++++++++++++++++++++++++++++++++++
 sources                |    1 +
 3 files changed, 105 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..dcf86c4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/zope.proxy-3.6.1.zip
diff --git a/python-zope-proxy.spec b/python-zope-proxy.spec
new file mode 100644
index 0000000..4ee7376
--- /dev/null
+++ b/python-zope-proxy.spec
@@ -0,0 +1,103 @@
+Name:           python-zope-proxy
+Version:        3.6.1
+Release:        4%{?dist}
+Summary:        Generic Transparent Proxies
+Group:          Development/Libraries
+License:        ZPLv2.1
+URL:            http://pypi.python.org/pypi/zope.proxy/
+Source0:        http://pypi.python.org/packages/source/z/zope.proxy/zope.proxy-%{version}.zip
+
+BuildRequires:  python2-devel
+BuildRequires:  python-setuptools
+# for test suite
+BuildRequires:  python-zope-testing
+Requires:       python-zope-interface
+
+
+%description
+This package provides convenient functions for dealing with proxies.
+
+
+%package devel
+Summary:        Development files for %{name}
+Group:          Development/Libraries
+Requires:       %{name} = %{version}-%{release}
+Requires:       python2-devel
+BuildArch:      noarch
+
+
+%description devel
+Development headers and libraries for %{name}.
+
+
+%prep
+%setup -q -n zope.proxy-%{version}
+
+
+%build
+CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
+
+
+%install
+%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+# Remove included source files
+rm -f $RPM_BUILD_ROOT%{python_sitearch}/zope/proxy/proxy.h
+rm -f $RPM_BUILD_ROOT%{python_sitearch}/zope/proxy/_zope_proxy_proxy.c
+
+
+%check
+%{__python} setup.py test
+
+
+%files
+%defattr(-,root,root,-)
+%doc CHANGES.txt README.txt COPYRIGHT.txt LICENSE.txt
+%{python_sitearch}/zope/proxy/
+%{python_sitearch}/zope.proxy-*.egg-info
+%{python_sitearch}/zope.proxy-*-nspkg.pth
+
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/python?.?/zope.proxy
+
+
+
+%changelog
+* Mon Sep  6 2010 Robin Lee <robinlee.sysu at gmail.com> - 3.6.1-4
+- Include tests
+- More comments
+
+* Wed Sep  1 2010 Robin Lee <robinlee.sysu at gmail.com> - 3.6.1-3
+- Description revised
+
+* Tue Aug 31 2010 Robin Lee <robinlee.sysu at gmail.com> - 3.6.1-2
+- Remove %%check section
+- Group changed from Development/Languages to Development/Libraries
+- BR: python-devel renamed to python2-devel, python-zope-testing removed
+
+* Tue Aug 31 2010 Robin Lee <robinlee.sysu at gmail.com> - 3.6.1-1
+- Update to 3.6.1
+- Requirement: python-zope-filesystem removed, python-zope-interface added
+- Spec cleaned up
+- -devel subpackage set to noarch, added python2-devel as requirement
+- Include the license
+
+* Mon Jun 7 2010 Conrad Meyer <konrad at tylerc.org> - 3.6.0-1
+- Bump to latest version.
+
+* Mon Feb 15 2010 Conrad Meyer <konrad at tylerc.org> - 3.5.0-3
+- Nuke .c/.h files used to build C library from installed
+  files.
+
+* Wed Dec 30 2009 Conrad Meyer <konrad at tylerc.org> - 3.5.0-2
+- Move development files to devel subpackage.
+- Use global instead of define.
+
+* Sun Jul 5 2009 Conrad Meyer <konrad at tylerc.org> - 3.5.0-1
+- Bump to latest version.
+- Enable tests as zope.testing is in devel.
+- Add missing BR on python-setuptools.
+
+* Sun Dec 14 2008 Conrad Meyer <konrad at tylerc.org> - 3.4.2-1
+- Initial package.
diff --git a/sources b/sources
index e69de29..93449f2 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+a400b0a26624b17fa889dbcaa989d440  zope.proxy-3.6.1.zip


More information about the scm-commits mailing list