[gpredict/f15] Mapped locale files.

Eric Christensen sparks at fedoraproject.org
Tue Jan 31 05:59:05 UTC 2012


commit fab1e1b9e591b248caae64928c1400028cc102bd
Author: Eric Christensen <eric.christensen at citrix.com>
Date:   Tue Jan 31 00:58:55 2012 -0500

    Mapped locale files.

 gpredict.spec |   18 +++++++++++++-----
 1 files changed, 13 insertions(+), 5 deletions(-)
---
diff --git a/gpredict.spec b/gpredict.spec
index f8e9e2b..a67e8da 100644
--- a/gpredict.spec
+++ b/gpredict.spec
@@ -1,6 +1,6 @@
 Name:           gpredict
 Version:        1.3
-Release:        1%{?dist}
+Release:        4%{?dist}
 Summary:        Real-time satellite tracking and orbit prediction program
 Group:          Applications/Communications
 License:        GPLv2+
@@ -15,6 +15,7 @@ BuildRequires: curl-devel
 BuildRequires: desktop-file-utils
 BuildRequires: intltool >= 0.21
 BuildRequires: goocanvas-devel
+BuildRequires: gettext
 
 %description
 Gpredict is a real time satellite tracking and orbit prediction
@@ -36,9 +37,7 @@ make %{?_smp_mflags}
 %install
 rm -rf $RPM_BUILD_ROOT
 make install DESTDIR=$RPM_BUILD_ROOT
-
-rm -fr $RPM_BUILD_ROOT%{_datadir}/locale
-find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
+%find_lang %{name}
 
 rm -fr $RPM_BUILD_ROOT%{_datadir}/applications/gpredict.desktop
 
@@ -58,7 +57,7 @@ update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
 update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
 
 
-%files
+%files -f %{name}.lang
 %defattr(-,root,root,-)
 %doc AUTHORS COPYING ChangeLog NEWS README TODO
 %{_bindir}/*
@@ -71,6 +70,15 @@ update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
 
 
 %changelog
+* Tue Jan 31 2012 Eric "Sparks" Christensen <sparks at fedoraproject.org> - 1.3-4
+- Mapped localized files
+
+* Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.3-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+
+* Tue Dec 06 2011 Adam Jackson <ajax at redhat.com> - 1.3-2
+- Rebuild for new libpng
+
 * Wed Mar 02 2011 Eric "Sparks" Christensen <sparks at fedoraproject.org> - 1.3-1
 - Feature request 2873824: Flip Passes.
 - Feature Request 3022617: Malaysia's location.


More information about the scm-commits mailing list