Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar-update-control.spec
diff options
context:
space:
mode:
authorC. Scott Ananian <cscott@laptop.org>2008-12-17 21:59:37 (GMT)
committer C. Scott Ananian <cscott@laptop.org>2008-12-17 22:42:52 (GMT)
commitecb4afb2ab09e729cbdb1eb06289ad6031707ae7 (patch)
treefcf16d7e0d8369d8a40cb746c0cdc671e384bf9d /sugar-update-control.spec
parentc49d2e6406653702c599a66aadd69101ed8696bf (diff)
Build and distribute i18n files.
Diffstat (limited to 'sugar-update-control.spec')
-rw-r--r--sugar-update-control.spec4
1 files changed, 3 insertions, 1 deletions
diff --git a/sugar-update-control.spec b/sugar-update-control.spec
index a1657bd..522544c 100644
--- a/sugar-update-control.spec
+++ b/sugar-update-control.spec
@@ -14,6 +14,7 @@ Source0: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: %{PYTHON_NAME} >= %{PYTHON_VERSION}, %{PYTHON_NAME} < %{NEXT_PYTHON_VERSION}, olpc-update >= 2.13, sugar >= 0.83.0
BuildPrereq: %{PYTHON_NAME}-devel >= 2.5
+BuildRequires: gettext, intltool
BuildArch: noarch
%description
@@ -32,11 +33,12 @@ mkdir -p $RPM_BUILD_ROOT
python2.5 setup.py install --root=$RPM_BUILD_ROOT
# avoid conflicts
rm $RPM_BUILD_ROOT/usr/lib/python2.5/site-packages/{bitfrost,bitfrost/update,bitfrost/util}/__init__.py*
+%find_lang %{name}
%clean
rm -rf $RPM_BUILD_ROOT
-%files
+%files -f %{name}.lang
%defattr(-,root,root,-)
%doc README COPYING