[rednotebook] Updated to new upstream version 1.1.8 List locales correctly tagged as %lang
Christoph Wickert
cwickert at fedoraproject.org
Tue Aug 9 11:11:13 UTC 2011
commit 7e5fd133ee0507cf8aabb0e399f376a7fde35d24
Author: Christoph Wickert <cwickert at fedoraproject.org>
Date: Tue Aug 9 13:10:28 2011 +0200
Updated to new upstream version 1.1.8
List locales correctly tagged as %lang
.gitignore | 1 +
rednotebook.spec | 24 +++++++++++++++++++++---
sources | 2 +-
3 files changed, 23 insertions(+), 4 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 14664e2..c68871c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,3 +6,4 @@ rednotebook-1.1.0.tar.gz
/rednotebook-1.1.4.tar.gz
/rednotebook-1.1.5.tar.gz
/rednotebook-1.1.7.tar.gz
+/rednotebook-1.1.8.tar.gz
diff --git a/rednotebook.spec b/rednotebook.spec
index 59c6b60..42e1eed 100644
--- a/rednotebook.spec
+++ b/rednotebook.spec
@@ -1,5 +1,5 @@
Name: rednotebook
-Version: 1.1.7
+Version: 1.1.8
Release: 1%{?dist}
Summary: A desktop diary
@@ -46,6 +46,13 @@ desktop-file-install \
--dir=%{buildroot}%{_datadir}/applications \
%{buildroot}/%{_datadir}/applications/%{name}.desktop
+# heavily borrowed from /usr/lib/rpm/find-lang.sh
+find %{buildroot} -type f -o -type l|sort|sed '
+s:'"%{buildroot}"'::
+s:\(.*/i18n/\)\([^/_]\+\)\(.*\.mo$\):%lang(\2) \1\2\3:
+s:^\([^%].*\)::
+/^$/d' > %{name}.lang
+
%clean
rm -rf %{buildroot}
@@ -66,18 +73,29 @@ fi
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
-%files
+%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS CHANGELOG LICENSE README
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/pixmaps/%{name}.png
%{_datadir}/icons/hicolor/*x*/apps/%{name}.png
-%{python_sitelib}/%{name}/
+# be careful to not list locales twice
+%dir %{python_sitelib}/%{name}/
+%{python_sitelib}/%{name}/*.py*
+%{python_sitelib}/%{name}/external/
+%{python_sitelib}/%{name}/files/
+%{python_sitelib}/%{name}/gui/
+%{python_sitelib}/%{name}/images/
+%{python_sitelib}/%{name}/util/
%{python_sitelib}/%{name}*.egg-info
%changelog
+* Tue Aug 09 2011 Christoph Wickert <cwickert at fedoraproject.org> - 1.1.8-1
+- Updated to new upstream version 1.1.8
+- List locales correctly tagged as %%lang
+
* Fri Jul 15 2011 Christoph Wickert <cwickert at fedoraproject.org> - 1.1.7-1
- Updated to new upstream version 1.1.7
diff --git a/sources b/sources
index b883b70..2f20c2a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-6bb824cb90a8c3160dd1c44025ad932d rednotebook-1.1.7.tar.gz
+78d8a4661ebb7d9ed7c55ca8f64bf803 rednotebook-1.1.8.tar.gz
More information about the scm-commits
mailing list