[python-grapefruit] Initial import (#720141).

kumarpraveen kumarpraveen at fedoraproject.org
Mon Jul 11 15:36:57 UTC 2011


commit 6671d5b09d62cb333e2259e4a35e106513abdc12
Author: Praveen <daredevil at localhost.localdomain>
Date:   Mon Jul 11 21:06:10 2011 +0530

    Initial import (#720141).

 .gitignore             |    1 +
 python-grapefruit.spec |   46 ++++++++++++++++++++++++++++++++++++++++++++++
 sources                |    1 +
 3 files changed, 48 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..17af555 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/python-grapefruit-0.1a3svn31.tar.xz
diff --git a/python-grapefruit.spec b/python-grapefruit.spec
new file mode 100644
index 0000000..935a381
--- /dev/null
+++ b/python-grapefruit.spec
@@ -0,0 +1,46 @@
+%global snapshot_date 20110710
+%global snapshot_revision 31
+
+Name:			python-grapefruit
+Version:		0.1a3
+Release:		1.%{snapshot_date}svn%{snapshot_revision}%{?dist}
+Summary:		Python module for easily manipulation and convert color information
+
+Group:			Development/Libraries
+License:		ASL 2.0
+URL:			https://code.google.com/p/grapefruit/
+#clone and tarred : svn export -r%%{snapshot_revision} http://grapefruit.googlecode.com/svn/trunk/ %%{name}-%%{version}
+#tar -cJvf %%{name}-%%{version}svn%%{snapshot_revision}.tar.xz %%{name}-%%{version}
+Source0:		%{name}-%{version}svn%{snapshot_revision}.tar.xz
+BuildArch:		noarch
+BuildRequires:	python2-devel
+
+%description
+GrapeFruit is a pure python module that let you easily manipulate and convert
+color information. It's primary goal is to be natural and flexible.
+
+%prep
+%setup -q
+
+
+%build
+CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
+
+
+%install
+%{__python} setup.py install --skip-build --root="$RPM_BUILD_ROOT"
+chmod 655 $RPM_BUILD_ROOT%{python_sitelib}/grapefruit.py
+sed -i 's/\r//' CHANGES LICENSE TODO doc/Makefile doc/index.rst doc/conf.py doc/makedoc.cmd
+
+
+%files
+%{python_sitelib}/*.egg-info
+%{python_sitelib}/grapefruit.py*
+
+%doc doc/ CHANGES COPYING README LICENSE TODO
+
+
+%changelog
+
+* Sun Jul 10 2011 Praveen Kumar <kumarpraveen.nitdgp at gmail.com> - 0.1a3-1.20110710svn31
+- Initial RPM release
diff --git a/sources b/sources
index e69de29..5c57ff6 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+6de09ae4f010d9cac2d9be36498c9624  python-grapefruit-0.1a3svn31.tar.xz


More information about the scm-commits mailing list