[sugar-starchart/f19] added sugar-starchart-15-2.fc19.src.rpm
Danishka Navin
snavin at fedoraproject.org
Tue Jun 11 08:50:19 UTC 2013
commit 9df8f7157072bc4e6cba13efa8d390a68403fbc4
Author: Danishka Navin <danishka at thecellcity.com>
Date: Tue Jun 11 16:49:58 2013 +0800
added sugar-starchart-15-2.fc19.src.rpm
.gitignore | 1 +
sources | 1 +
sugar-starchart.spec | 42 ++++++++++++++++++++++++++++++++++++++++++
3 files changed, 44 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..f1e2715 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/StarChart-15.tar.bz2
diff --git a/sources b/sources
index e69de29..15513ec 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+1f83404445a35cf78ab7f410019c6e4b StarChart-15.tar.bz2
diff --git a/sugar-starchart.spec b/sugar-starchart.spec
new file mode 100644
index 0000000..d5d9c63
--- /dev/null
+++ b/sugar-starchart.spec
@@ -0,0 +1,42 @@
+Name: sugar-starchart
+Version: 15
+Release: 2%{?dist}
+Summary: Display a map of the sky showing the position of the visible stars
+
+License: GPLv2+
+URL: http://wiki.laptop.org/go/StarChart
+Source0: http://download.sugarlabs.org/sources/honey/StarChart/StarChart-%{version}.tar.bz2
+
+BuildRequires: sugar-toolkit-gtk3 gettext python2-devel
+BuildArch: noarch
+Requires: sugar
+
+%description
+This activity will display a map of the sky showing the position
+of the visible stars, some of the larger and brighter deep-sky
+objects (DSOs), the "classical" planets, the sun and the moon.
+
+%prep
+%setup -q -n StarChart-%{version}
+sed -i "s|\r||g" NEWS
+chmod 644 activity/*
+
+%build
+%{__python} ./setup.py build
+
+%install
+%{__python} ./setup.py install --prefix=%{buildroot}%{_prefix}
+%find_lang org.laptop.StarChart
+
+%files -f org.laptop.StarChart.lang
+%doc COPYING NEWS
+%{sugaractivitydir}/StarChart.activity/
+
+%changelog
+* Mon Jun 10 2013 Danishka Navin <danishka at gmail.com> - 15-2
+- removed backslash between %%{buildroot} and %%{_prefix}
+- fixed script-without-shebang rpmlint error
+
+* Mon Jun 10 2013 Danishka Navin <danishka at gmail.com> - 15-1
+- initial packaging
+
More information about the scm-commits
mailing list