[sugar-castle/f18] added srpm, spec and source
Danishka Navin
snavin at fedoraproject.org
Tue Aug 6 15:49:02 UTC 2013
commit 7459deff9cd017837bb13a7369d5a4a5efaecda4
Author: Danishka Navin <danishka at thecellcity.com>
Date: Tue Aug 6 22:58:06 2013 +0800
added srpm, spec and source
castle-23.xo | Bin 0 -> 7036010 bytes
sugar-castle-23-4.fc18.src.rpm | Bin 0 -> 7029651 bytes
sugar-castle.spec | 50 ++++++++++++++++++++++++++++++++++++++++
3 files changed, 50 insertions(+), 0 deletions(-)
---
diff --git a/castle-23.xo b/castle-23.xo
new file mode 100644
index 0000000..3a063c7
Binary files /dev/null and b/castle-23.xo differ
diff --git a/sugar-castle-23-4.fc18.src.rpm b/sugar-castle-23-4.fc18.src.rpm
new file mode 100644
index 0000000..94f9a0c
Binary files /dev/null and b/sugar-castle-23-4.fc18.src.rpm differ
diff --git a/sugar-castle.spec b/sugar-castle.spec
new file mode 100644
index 0000000..216c7ce
--- /dev/null
+++ b/sugar-castle.spec
@@ -0,0 +1,50 @@
+Name: sugar-castle
+Version: 23
+Release: 4%{?dist}
+Summary: A game of discovery and strategy inspired by the Adventure games of the 70s
+
+License: GPLv3+
+URL: http://activities.sugarlabs.org/en-US/sugar/addon/4397
+Source0: http://mirror.aarnet.edu.au/pub/sugarlabs/activities/4397/castle-%{version}.xo
+
+BuildRequires: python2-devel sugar-toolkit gettext
+BuildArch: noarch
+Requires: sugar
+
+%description
+A game of discovery and strategy inspired by the Adventure games of the 70s.
+
+%prep
+%setup -q -n Castle.activity
+
+chmod -x *.py
+chmod -x data/*.dat
+chmod -x activity/activity.svg
+chmod +x setup.py Castle.py
+
+sed -i "s|\r||g" Castle.py
+sed -i "s|\r||g" activity/activity.svg
+
+
+%build
+%{__python} ./setup.py build
+
+%install
+%{__python} ./setup.py install --prefix=%{buildroot}%{_prefix}
+
+%files
+%doc MANIFEST
+%{sugaractivitydir}/Castle.activity/
+
+%changelog
+* Tue Aug 06 2013 Danishka Navin <danishka at gmail.com> - 23-4
+- removed "#sed -i 's/\r//' Castle.py" from the %%prep section
+
+* Tue Aug 06 2013 Danishka Navin <danishka at gmail.com> - 23-3
+- corrected spec as per suggestions of the review bug 843678
+
+* Thu Jun 06 2013 Danishka Navin <danishka at gmail.com> - 23-2
+- removed sed -i -e '1i#!%%{__python}' activity/activity.svg entry
+
+* Sun Jul 15 2012 Danishka Navin <danishka at gmail.com> - 23-1
+- initial packaging
More information about the scm-commits
mailing list