rpms/python-ZSI/F-8 python-ZSI.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Michał Bentkowski (ecik) fedora-extras-commits at redhat.com
Fri Jan 4 19:25:45 UTC 2008


Author: ecik

Update of /cvs/extras/rpms/python-ZSI/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27723/F-8

Modified Files:
	.cvsignore sources 
Added Files:
	python-ZSI.spec 
Log Message:
auto-import python-ZSI-2.0-2.fc8 on branch F-8 from python-ZSI-2.0-2.fc8.src.rpm


--- NEW FILE python-ZSI.spec ---
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}

Name:           python-ZSI
Version:        2.0
Release:        2%{?dist}
Summary:        Zolera SOAP Infrastructure
Group:          Development/Languages
# to obtain some license information have a look at ZSI/__init__.py file
License:        MIT and LBNL BSD and ZPLv2.0
URL:            http://pywebsvcs.sourceforge.net/
Source0:        http://belnet.dl.sourceforge.net/sourceforge/pywebsvcs/ZSI-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
BuildRequires:  python-devel python-setuptools
Requires:       PyXML

%description
The Zolara SOAP Infrastructure provides libraries for developing web services
using the python programming language. The libraries implement the various
protocols used when writing web services including SOAP, WSDL, and other
related protocols.

%prep
%setup -q -n ZSI-%{version}

# remove cvs internal files and
# get rid of executable perm due to rpmlint's
# warnings like: 
# W: python-zsi spurious-executable-perm
#

find doc/examples -name .cvs\* -exec rm -f {} \;
find doc/examples samples -perm 755 -type f -exec chmod a-x {} \;

%build
%{__python} setup.py build


%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT

# some files have shebang and aren't executable
# the simple command below looks for them and if
# they're found, it'll do chmod a+x

find $RPM_BUILD_ROOT%{python_sitelib}/ZSI \
    -type f -perm 644 -name \*.py \
    -exec grep -q \#\!\.\*python {} \; \
    -and -exec chmod a+x {} \;
 
%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
# we need png's for html's to be more readable
%doc CHANGES README samples doc/examples doc/*.html doc/*.png doc/*.css
%{_bindir}/wsdl2dispatch
%{_bindir}/wsdl2py
%{python_sitelib}/ZSI
%{python_sitelib}/ZSI-*.egg-info


%changelog
* Sat Dec 29 2007 Michał Bentkowski <mr.ecik at gmail.com> - 2.0-2
- Fix License field (BSD to LBNL BSD)

* Thu Nov 01 2007 Michał Bentkowski <mr.ecik at gmail.com> - 2.0-1
- First release



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/python-ZSI/F-8/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	4 Jan 2008 18:47:06 -0000	1.1
+++ .cvsignore	4 Jan 2008 19:25:09 -0000	1.2
@@ -0,0 +1 @@
+ZSI-2.0.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/python-ZSI/F-8/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	4 Jan 2008 18:47:06 -0000	1.1
+++ sources	4 Jan 2008 19:25:09 -0000	1.2
@@ -0,0 +1 @@
+bb706337cafe9e2201b06b1bce71ca0f  ZSI-2.0.tar.gz




More information about the fedora-extras-commits mailing list