[python-grapefruit] Fix summary to be shorter than 80 characters Clean up spec file
Rahul Sundaram
sundaram at fedoraproject.org
Thu Jul 14 10:13:42 UTC 2011
commit 936260d472d7e90a68f52507c89ea77dded0fd0c
Author: Rahul Sundaram <sundaram at fedoraproject.org>
Date: Thu Jul 14 15:39:40 2011 +0530
Fix summary to be shorter than 80 characters
Clean up spec file
python-grapefruit.spec | 31 ++++++++++++++-----------------
1 files changed, 14 insertions(+), 17 deletions(-)
---
diff --git a/python-grapefruit.spec b/python-grapefruit.spec
index 935a381..b3f40cd 100644
--- a/python-grapefruit.spec
+++ b/python-grapefruit.spec
@@ -1,20 +1,19 @@
%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/
+Name: python-grapefruit
+Version: 0.1a3
+Release: 1.%{snapshot_date}svn%{snapshot_revision}%{?dist}
+Summary: Python module for easy manipulation of 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
+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.
@@ -22,25 +21,23 @@ 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
+%doc doc/ CHANGES COPYING README LICENSE TODO
%{python_sitelib}/*.egg-info
%{python_sitelib}/grapefruit.py*
-%doc doc/ CHANGES COPYING README LICENSE TODO
-
-
%changelog
+* Thu Jul 14 2011 Rahul Sundaram <sundaram at fedoraproject.org> - 0.1a3-2.20110710svn31
+- Fix summary to be shorter than 80 characters
+- Clean up spec file
* Sun Jul 10 2011 Praveen Kumar <kumarpraveen.nitdgp at gmail.com> - 0.1a3-1.20110710svn31
- Initial RPM release
More information about the scm-commits
mailing list