rpms/python-pygooglechart/EL-5 python-pygooglechart.spec, NONE, 1.1 sources, 1.1, 1.2

Michael Stahnke stahnma at fedoraproject.org
Sat Feb 7 04:39:45 UTC 2009


Author: stahnma

Update of /cvs/extras/rpms/python-pygooglechart/EL-5
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv19869/EL-5

Modified Files:
	sources 
Added Files:
	python-pygooglechart.spec 
Log Message:
Populating files



--- NEW FILE python-pygooglechart.spec ---
# sitelib for noarch packages, sitearch for others (remove the unneeded one)
%{!?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 realname pygooglechart

Name:           python-pygooglechart
Version:        0.2.1
Release:        3%{?dist}
Summary:        A complete Python wrapper for the Google Chart API

Group:          Development/Languages
License:        GPLv3+
URL:            http://pygooglechart.slowchop.com/
Source0:        http://pygooglechart.slowchop.com/files/download/%{realname}-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch:      noarch
BuildRequires:  python-devel, python-setuptools

%description
pygooglechart is a complete Python wrapper for the Google Chart API.
See http://pygooglechart.slowchop.com/

%prep
%setup -q -n %{realname}-%{version}
# Clean up proper line-endings
for file in examples/all.py examples/venn.py examples/pie.py 
do
  %{__sed} -i 's/\r//' $file
done


%build


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

# test.test.py does not work in Koji because it must talk to the internet

 
%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc examples COPYING
# For noarch packages: sitelib
%{python_sitelib}/*


%changelog
* Tue Jan 27 2009 Michael Stahnke <stahnma at fedoraproject.org> - 0.2.1-3
- Removing check stanza, as it requires internet connectivity

* Fri Jan 23 2009 Michael Stahnke <stahnma at fedoraproject.org> - 0.2.1-2
- Updates per review. Adding COPYING to doc and adding check section.

* Fri Jan 23 2009 Michael Stahnke <stahnma at fedoraproject.org> - 0.2.1-1
- Initial Package



Index: sources
===================================================================
RCS file: /cvs/extras/rpms/python-pygooglechart/EL-5/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	30 Jan 2009 06:19:17 -0000	1.1
+++ sources	7 Feb 2009 04:39:14 -0000	1.2
@@ -0,0 +1 @@
+ec6e1ddd678485c7971c8c0b5dd3cec6  pygooglechart-0.2.1.tar.gz




More information about the fedora-extras-commits mailing list