[python-lyricwiki] Initial build (see rhbz #710773)
Peter Lemenkov
peter at fedoraproject.org
Mon Jun 6 03:59:31 UTC 2011
commit e51a76fbe072198fc027a574430a8722a57e59e7
Author: Peter Lemenkov <lemenkov at gmail.com>
Date: Mon Jun 6 07:59:15 2011 +0400
Initial build (see rhbz #710773)
Signed-off-by: Peter Lemenkov <lemenkov at gmail.com>
.gitignore | 1 +
python-lyricwiki.spec | 51 +++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 53 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..8f02146 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/lyricwiki-0.1.35.tar.gz
diff --git a/python-lyricwiki.spec b/python-lyricwiki.spec
new file mode 100644
index 0000000..8903c8f
--- /dev/null
+++ b/python-lyricwiki.spec
@@ -0,0 +1,51 @@
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+%global realname lyricwiki
+
+Name: python-%{realname}
+Version: 0.1.35
+Release: 1%{?dist}
+Summary: A Python interface to the http://lyrics.wikia.com
+Group: Development/Languages
+License: GPLv2+
+URL: http://pypi.python.org/pypi/lyricwiki
+Source0: http://pypi.python.org/packages/source/l/%{realname}/%{realname}-%{version}.tar.gz
+BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
+BuildRequires: python-devel
+BuildRequires: python-setuptools
+BuildArch: noarch
+
+
+%description
+A Python interface which provides simple access to lyrics from
+http://lyrics.wikia.com
+
+
+%prep
+%setup -q -n %{realname}-%{version}
+
+
+%build
+%{__python} -c 'import setuptools; execfile("setup.py")' build
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} -c 'import setuptools; execfile("setup.py")' install --skip-build --root $RPM_BUILD_ROOT
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%files
+%defattr(-,root,root,-)
+%doc COPYING
+%{python_sitelib}/%{realname}.py*
+%{python_sitelib}/%{realname}-%{version}-*.egg-info/
+
+
+
+%changelog
+* Fri Jun 03 2011 Peter Lemenkov <lemenkov at gmail.com> - 0.1.35-1
+- Initial package
+
diff --git a/sources b/sources
index e69de29..9af5af7 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+8729749836e74b125c91e3e8645b0b7b lyricwiki-0.1.35.tar.gz
More information about the scm-commits
mailing list