[x-tile/f17] Update to 2.3.1

Mohamed ElMorabity melmorabity at fedoraproject.org
Sat Jul 14 09:56:13 UTC 2012


commit d4b108c950fda222ade46583a748ee3e20530171
Author: Mohamed El Morabity <melmorabity at fedoraproject.org>
Date:   Sat Jul 14 11:55:56 2012 +0200

    Update to 2.3.1

 .gitignore  |    1 +
 sources     |    2 +-
 x-tile.spec |   15 +++++++++------
 3 files changed, 11 insertions(+), 7 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 9c58174..cca2184 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,3 +9,4 @@ x-tile-1.5.2.tar.gz
 /x-tile-2.1.tar.gz
 /x-tile-2.2.tar.gz
 /x-tile-2.2.1.tar.gz
+/x-tile-2.3.1.tar.bz2
diff --git a/sources b/sources
index ba76dd8..f5ffbb0 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-8a585674e13086681750c91c39f0d99f  x-tile-2.2.1.tar.gz
+251aec74e6ebe9bef17598cfbff16871  x-tile-2.3.1.tar.bz2
diff --git a/x-tile.spec b/x-tile.spec
index 0eb62d5..4708788 100644
--- a/x-tile.spec
+++ b/x-tile.spec
@@ -1,12 +1,12 @@
 Name:           x-tile
-Version:        2.2.1
+Version:        2.3.1
 Release:        1%{?dist}
 Summary:        A GTK application to tile windows in different ways
 
 Group:          User Interface/Desktops
 License:        GPLv2+
 URL:            http://www.giuspen.com/x-tile/
-Source0:        http://www.giuspen.com/software/%{name}-%{version}.tar.gz
+Source0:        http://www.giuspen.com/software/%{name}-%{version}.tar.bz2
 
 BuildRequires:  desktop-file-utils
 BuildRequires:  gettext
@@ -30,11 +30,9 @@ programming.
 %setup -q
 
 # Remove import of cons module in setup.py, only needed to get the current
-# version of x-tile and supported languages. The cons module calls the gtk one,
-# which needs a running graphical session
+# version of x-tile. The cons module calls the gtk one, which needs a running
+# graphical session
 sed -i "\|import cons|d; s|cons.VERSION|\"%{version}\"|" setup.py
-LANGUAGES=$(sed -n "s/^AVAILABLE_LANGS = //p" modules/cons.py)
-sed -i "s|cons.AVAILABLE_LANGS|$LANGUAGES|" setup.py
 
 
 %build
@@ -46,6 +44,8 @@ sed -i "s|cons.AVAILABLE_LANGS|$LANGUAGES|" setup.py
   --no-compile \
   --root $RPM_BUILD_ROOT
 
+rm $RPM_BUILD_ROOT%{_datadir}/%{name}/glade/x-tile.glade.h
+
 desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
 
 %find_lang %{name}
@@ -61,6 +61,9 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
 
 
 %changelog
+* Sat Jul 14 2012 Mohamed El Morabity <melmorabity at fedoraproject.org> - 2.3.1-1
+- Update to 2.3.1
+
 * Mon Feb 20 2012 Mohamed El Morabity <melmorabity at fedoraproject.org> - 2.2.1-1
 - Update to 2.2.1
 


More information about the scm-commits mailing list