rpms/python-protocols/devel python-protocols.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Shahms King (shahms)
fedora-extras-commits at redhat.com
Tue Mar 15 20:49:51 UTC 2005
Author: shahms
Update of /cvs/extras/rpms/python-protocols/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv23678/devel
Modified Files:
.cvsignore sources
Added Files:
python-protocols.spec
Log Message:
auto-import python-protocols-0.9.3-2 on branch devel from python-protocols-0.9.3-2.src.rpm
--- NEW FILE python-protocols.spec ---
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%define srcname PyProtocols
Name: python-protocols
Version: 0.9.3
Release: 2
Summary: Open Protocols and Component Adaptation for Python
Group: Development/Libraries
License: PSF or ZPL
URL: http://peak.telecommunity.com/PyProtocols.html
Source0: http://peak.telecommunity.com/dist/PyProtocols-0.9.3.tar.gz
Source1: setuptools.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: python-devel
Requires: python-abi = %(%{__python} -c "import sys ; print sys.version[:3]")
%description
PyProtocols is an implementation of PEP 246 allowing Python programmers to define
Interfaces and adapters between them, thereby reducing or eliminating fragile 'isinstance'
if type() comparisons.
%prep
%setup -q -n %{srcname}-%{version}
# install setuptools
tar -zxf %{SOURCE1}
%build
CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc README.txt CHANGES.txt docs/*
%dir %{python_sitelib}/protocols
%{python_sitelib}/protocols/*.so
%{python_sitelib}/protocols/*.py
%{python_sitelib}/protocols/*.pyc
%ghost %{python_sitelib}/protocols/*.pyo
%{python_sitelib}/protocols/*/*.py
%{python_sitelib}/protocols/*/*.pyc
%ghost %{python_sitelib}/protocols/*/*.pyo
%changelog
* Tue Mar 01 2005 Shahms E. King <shahms at shahms.com> 0.9.3-2
- Clean up spec file
* Tue Aug 31 2004 Shahms E. King <shahms at shahms.com> -
- Update to 0.9.3
* Fri Jul 30 2004 Shahms E. King <shahms at shahms.com> -
- Update to 0.9.3rc2
* Thu May 27 2004 Shahms King <shahms at shahms.com> -
- Initial Release
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/python-protocols/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 15 Mar 2005 20:49:27 -0000 1.1
+++ .cvsignore 15 Mar 2005 20:49:49 -0000 1.2
@@ -0,0 +1,2 @@
+PyProtocols-0.9.3.tar.gz
+setuptools.tar.gz
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/python-protocols/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 15 Mar 2005 20:49:27 -0000 1.1
+++ sources 15 Mar 2005 20:49:49 -0000 1.2
@@ -0,0 +1,2 @@
+50559c9869389e9d576b98f6382b1324 PyProtocols-0.9.3.tar.gz
+1fe0f57c72b81ab7fc357b972ba80f4b setuptools.tar.gz
More information about the fedora-extras-commits
mailing list