Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > 2e5a094f57ff6bab915ae1ffa6d76cbf > files > 2

python-googlechart-0.2.1-3.mga3.src.rpm

%define realname    pygooglechart
%define name   python-googlechart
%define version 0.2.1
%define release %mkrel 3

Name:           %{name}
Version:        %{version}
Release:        %{release}
Summary:        Python wrapper for the Google Chart API
Group:          Development/Python
License:        GPLv3
URL:            http://pygooglechart.slowchop.com
Source:         %{realname}-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
BuildArch:      noarch
BuildRequires:  python-devel python-setuptools

%description
pygooglechart is a complete Python wrapper for the Google Chart API. 

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

# (Fedora) fix line endings
sed -i.orig 's/\r//' examples/*.py

%build
python setup.py build

%install
rm -rf %{buildroot}
python setup.py install -O1 --skip-build --root %{buildroot}

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root,-)
%doc COPYING examples
%{py_puresitedir}/*


%changelog

* Sun Jan 13 2013 umeabot <umeabot> 0.2.1-3.mga3
+ Revision: 378949
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Wed Feb 02 2011 ahmad <ahmad> 0.2.1-2.mga1
+ Revision: 46367
- fix lincense and url
- fix the example files line endings
- %%doc some more files
- imported package python-googlechart