[shotwell] Include pre-generated language packs (# 642092)

Michel Alexandre Salim salimma at fedoraproject.org
Thu Mar 17 22:56:48 UTC 2011


commit 0054cc95e1b0453cfc48764f5ff914b4866948f4
Author: Michel Alexandre Salim <salimma at fedoraproject.org>
Date:   Thu Mar 17 23:56:23 2011 +0100

    Include pre-generated language packs (# 642092)

 .gitignore    |    1 +
 shotwell.spec |   13 +++++++++++--
 sources       |    1 +
 3 files changed, 13 insertions(+), 2 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 31277af..2bcb2f1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /shotwell-0.8.90-r2758.tar.xz
+/shotwell-0.8.90-locale-langpack.tar.xz
diff --git a/shotwell.spec b/shotwell.spec
index 96a4179..ac53a85 100644
--- a/shotwell.spec
+++ b/shotwell.spec
@@ -2,7 +2,7 @@
 
 Name:           shotwell
 Version:        0.8.90
-Release:        1.%{?svnrev}%{?dist}
+Release:        2.%{?svnrev}%{?dist}
 Summary:        A photo organizer for the GNOME desktop
 
 Group:          Applications/Multimedia
@@ -14,6 +14,12 @@ URL:            http://www.yorba.org/shotwell/
 # git archive --format=tar --prefix=%{name}-%{version}/ \
 # `git svn find-rev %{svnrev}` | xz - > %{name}-%{version}-%{svnrev}.tar.xz
 Source0:        shotwell-%{version}-%{svnrev}.tar.xz
+# precomputed language pack, since there is no network access
+# during the build process
+#
+# make locale-langpack/.langstamp
+# tar cf - locale-langpack | xz - > %{name}-%{version}-locale-langpack.tar.xz
+Source1:        shotwell-%{version}-locale-langpack.tar.xz
 Patch0:         shotwell-0.8.90-mimetype.patch
 
 BuildRequires:  vala-devel >= 0.11.7
@@ -45,7 +51,7 @@ environment. It allows you to import photos from your camera, view and edit
 them, and share them with others.
 
 %prep
-%setup -q
+%setup -q -a1
 %patch0 -p1 -b .mimetype
 
 %build
@@ -103,6 +109,9 @@ gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor &>/dev/null || :
 
 
 %changelog
+* Thu Mar 17 2011 Michel Salim <salimma at fedoraproject.org> - 0.8.90-2.r2758
+- Include pre-generated language packs (# 642092)
+
 * Thu Mar 17 2011 Michel Salim <salimma at fedoraproject.org> - 0.8.90-1.r2758
 - Update to 0.9.0 pre-release
 - Switch declaration of build requirements to pkgconfig
diff --git a/sources b/sources
index 7214e6a..7550173 100644
--- a/sources
+++ b/sources
@@ -1 +1,2 @@
 8c643fbaf9de91a730a91e1b513746a2  shotwell-0.8.90-r2758.tar.xz
+31351456c081d06a0cae4f386ff0a169  shotwell-0.8.90-locale-langpack.tar.xz


More information about the scm-commits mailing list