rpms/sugar-moon/devel .cvsignore, 1.4, 1.5 sources, 1.4, 1.5 sugar-moon.spec, 1.7, 1.8
Peter Robinson
pbrobinson at fedoraproject.org
Thu Jun 10 15:31:04 UTC 2010
Author: pbrobinson
Update of /cvs/pkgs/rpms/sugar-moon/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv30493
Modified Files:
.cvsignore sources sugar-moon.spec
Log Message:
- Update to 11
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/sugar-moon/devel/.cvsignore,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -p -r1.4 -r1.5
--- .cvsignore 3 Jun 2009 15:52:25 -0000 1.4
+++ .cvsignore 10 Jun 2010 15:31:03 -0000 1.5
@@ -1 +1 @@
-Moon-10.tar.bz2
+moon-11.xo
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/sugar-moon/devel/sources,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -p -r1.4 -r1.5
--- sources 3 Jun 2009 15:52:25 -0000 1.4
+++ sources 10 Jun 2010 15:31:04 -0000 1.5
@@ -1 +1 @@
-09bc14e7e6c18afc99175a86c025c021 Moon-10.tar.bz2
+16417d89f92751e12e226145a7c950b3 moon-11.xo
Index: sugar-moon.spec
===================================================================
RCS file: /cvs/pkgs/rpms/sugar-moon/devel/sugar-moon.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -p -r1.7 -r1.8
--- sugar-moon.spec 14 Dec 2009 11:51:41 -0000 1.7
+++ sugar-moon.spec 10 Jun 2010 15:31:04 -0000 1.8
@@ -1,57 +1,54 @@
+# sitelib for noarch packages, sitearch for others (remove the unneeded one)
+%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
+
# Moon Phases activity for the sugar desktop
Name: sugar-moon
-Version: 10
-Release: 3%{?dist}
+Version: 11
+Release: 1%{?dist}
Summary: Moon phases activity for sugar
Group: Sugar/Activities
License: GPLv2+
BuildArch: noarch
URL: http://wiki.laptop.org/go/Moon
-Source0: http://download.sugarlabs.org/sources/honey/Moon/Moon-10.tar.bz2
+Source0: http://mirrors.mit.edu/sugarlabs/activities/4034/moon-%{version}.xo
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gettext
-BuildRequires: python
+BuildRequires: python2-devel
BuildRequires: sugar-toolkit
Requires: sugar
Requires: python-simplejson
-
%description
-Moon is a simple Lunar phase activity for the XO.
-
+Moon is a simple Lunar phase activity for Sugar.
%prep
-%setup -q -n Moon-%{version}
-
+%setup -q -n Moon.activity
%build
python ./setup.py build
-
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{sugaractivitydir}
python ./setup.py install --prefix=$RPM_BUILD_ROOT/%{_prefix}
-
%find_lang com.garycmartin.Moon
-
%clean
rm -rf $RPM_BUILD_ROOT
-
%files -f com.garycmartin.Moon.lang
%defattr(-,root,root,-)
-%doc COPYING
-%doc AUTHORS
+%doc COPYING AUTHORS
%{sugaractivitydir}/Moon.activity/
-
%changelog
+* Thu Jun 10 2010 Peter Robinson <pbrobinson at gmail.com> - 11-1
+- Update to 11
+
* Mon Dec 14 2009 Peter Robinson <pbrobinson at gmail.com> - 10-3
- Add buildreq gettext to fix build issues on F-12/rawhide - fixes # 539034
More information about the scm-commits
mailing list