[GLC_Player] Update to 2.2.0

Nicolas Chauvet kwizart at fedoraproject.org
Thu Dec 9 18:23:38 UTC 2010


commit 65553920d7e00a0e753fbf95bb65c55510def6cb
Author: Nicolas Chauvet <kwizart at gmail.com>
Date:   Thu Dec 9 19:24:47 2010 +0100

    Update to 2.2.0

 .gitignore                       |    1 +
 GLC_Player.spec                  |   13 +++++++++----
 GLC_Player_src_2.2.0-cache.patch |   12 ++++++++++++
 sources                          |    2 +-
 4 files changed, 23 insertions(+), 5 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 3a6c9e1..888a052 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 GLC_Player_src_2.0.0.zip
+/GLC_Player_src_2.2.0.zip
diff --git a/GLC_Player.spec b/GLC_Player.spec
index cc77eb0..708251f 100644
--- a/GLC_Player.spec
+++ b/GLC_Player.spec
@@ -1,6 +1,6 @@
 Name:           GLC_Player
-Version:        2.0.0
-Release:        2%{?dist}
+Version:        2.2.0
+Release:        1%{?dist}
 Summary:        GLC_Player is an Open Source software used to view 3d models (OBJ Format)
 
 Group:          Applications/Multimedia
@@ -8,9 +8,10 @@ License:        GPLv2+
 URL:            http://www.glc-player.net/
 Source0:        http://downloads.sourceforge.net/glc-player/GLC_Player_src_%{version}.zip
 Source1:        glc_player.desktop
+Patch0:         GLC_Player_src_2.2.0-cache.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
-BuildRequires:  GLC_lib-devel >= 1.1.0
+BuildRequires:  GLC_lib-devel >= 2.0.0
 BuildRequires:  desktop-file-utils
 
 %description
@@ -21,7 +22,8 @@ cross-platform, Qt 4 and GLC_lib application.
 
 
 %prep
-%setup -q -n %{name}_src
+%setup -q -n %{name}_src_%{version}
+%patch0 -p1 -b .cache
 
 
 %build
@@ -59,6 +61,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Thu Dec 09 2010 Nicolas Chauvet <kwizart at gmail.com> - 2.2.0-1
+- Update to 2.2.0
+
 * Fri Jul 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.0.0-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
 
diff --git a/GLC_Player_src_2.2.0-cache.patch b/GLC_Player_src_2.2.0-cache.patch
new file mode 100644
index 0000000..34410b0
--- /dev/null
+++ b/GLC_Player_src_2.2.0-cache.patch
@@ -0,0 +1,12 @@
+diff -up GLC_Player_src_2.2.0/glc_player.cpp.cache GLC_Player_src_2.2.0/glc_player.cpp
+--- GLC_Player_src_2.2.0/glc_player.cpp.cache	2010-07-01 11:49:56.000000000 +0200
++++ GLC_Player_src_2.2.0/glc_player.cpp	2010-12-09 19:19:43.424542001 +0100
+@@ -2555,7 +2555,7 @@ void glc_player::readSettings()
+ 		{
+ 			cachePath= QDir::homePath() + QDir::separator();
+ 		}
+-		cachePath+= "GLC_Player_Cache";
++		cachePath+= ".cache/glc_player";
+ 	}
+ 	QDir().mkpath(cachePath);
+ 	GLC_CacheManager cacheManager(cachePath);
diff --git a/sources b/sources
index 9d26fb3..ac62d5a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-98362347e61bfcda80284967c4c0689d  GLC_Player_src_2.0.0.zip
+9aa479e1c72381f9723e5af3bf68b36d  GLC_Player_src_2.2.0.zip


More information about the scm-commits mailing list