[sugar] sugar-journal rpm

Tomeu Vizoso tomeu at tomeuvizoso.net
Fri Jul 4 06:10:55 EDT 2008


Hi Dennis,

just built a new rpm of the journal in F-9. Needed to do the following
changes to the spec, and wonder what you think about it:

@@ -30,6 +30,7 @@
 %install
 rm -rf $RPM_BUILD_ROOT
 mkdir -p $RPM_BUILD_ROOT%{sugaractivitydir}
+python setup.py build
 python setup.py install $RPM_BUILD_ROOT%{sugaractivitydir}
 chmod +x $RPM_BUILD_ROOT%{sugaractivitydir}/Journal.activity/setup.py

AFAICS, we need to call build in order to have the locale dir created.

@@ -44,8 +45,9 @@
 %{sugaractivitydir}/Journal.activity/activity/
 %{sugaractivitydir}/Journal.activity/*.py*
 %{sugaractivitydir}/Journal.activity/icons/
-%{sugaractivitydir}/Journal.activity/po/
+#%{sugaractivitydir}/Journal.activity/po/

The version of sugar-toolkit in the F-9 repo that is used to build the
rpms is a bit old, and doesn't include the po dir in the bundle. When
a newer version gets in, we'll be able to install the po dir again.

Sounds good? Can you tag this rpm so it gets into joyride?

Thanks,

Tomeu


More information about the Sugar mailing list