diff -Nur gcstar.orig/share/applications/gcstar.desktop gcstar/share/applications/gcstar.desktop
---- gcstar.orig/share/applications/gcstar.desktop 2005-11-14 14:55:00.000000000 +0000
-+++ gcstar/share/applications/gcstar.desktop 2006-12-02 18:11:54.000000000 +0000
-@@ -2,6 +2,7 @@
- Encoding=UTF-8
- Name=GCstar
- Comment=Movie Collection Catalog
+--- gcstar.orig/share/applications/gcstar.desktop 2008-05-26 16:53:36.000000000 +0000
++++ gcstar/share/applications/gcstar.desktop 2008-06-12 13:45:06.000000000 +0000
+@@ -8,6 +8,7 @@
+ Comment[es]=Organice sus colecciones de películas, juegos, vídeos, libros, música...
+ Comment[fr]=Gérer vos collections de films, jeux vidéos, livres, musique,...
+ Comment[pt]=Organize as suas colecções de filmes, jogos, vídeos, livros e música...
+Comment[pl]=Katalog kolekcji
- Comment[en]=Movie Catalog
- Comment[es]=Catálogo de Películas
- Comment[fr]=Catalogue de Films
+ Exec=gcstar %f
+ Icon=gcstar
+ Terminal=false
---- gcstar/install.orig 2007-01-11 02:37:48.000000000 +0000
-+++ gcstar/install 2007-01-11 02:40:39.000000000 +0000
-@@ -103,7 +103,7 @@
+diff -Nur gcstar.orig/install gcstar/install
+--- gcstar.orig/install 2008-03-05 03:56:00.000000000 +0000
++++ gcstar/install 2008-06-12 13:37:47.000000000 +0000
+@@ -107,7 +107,7 @@
}
unlink $baseDir.'/bin/'.$binName;
- unlink $baseDir.'/man/man1/'.$binName.'.1.gz';
+ unlink $baseDir.'/share/man/man1/'.$binName.'.1.gz';
- }
- sub recursiveCopy
-@@ -155,9 +155,9 @@
+ # remove menu and mime items
+
+@@ -187,9 +187,9 @@
mkpath $baseDir.'/bin';
copy 'bin/gcstar', $baseDir.'/bin/'.$binName;
---- gcstar/bin/gcstar.orig 2006-11-25 22:25:06.000000000 +0000
-+++ gcstar/bin/gcstar 2006-11-25 22:25:06.000000000 +0000
-@@ -39,23 +39,20 @@
+diff -Nur gcstar.orig/bin/gcstar gcstar/bin/gcstar
+--- gcstar.orig/bin/gcstar 2008-02-14 18:38:28.000000000 +0000
++++ gcstar/bin/gcstar 2008-06-12 13:56:35.000000000 +0000
+@@ -40,27 +40,24 @@
use Getopt::Long;
use File::Path;
use File::Spec;
-($ENV{GCS_LIB_DIR} = $ENV{GCS_BIN_DIR}) =~ s/bin\/?$/lib\/gcstar/;
-($ENV{GCS_SHARE_DIR} = $ENV{GCS_BIN_DIR}) =~ s/bin\/?$/share\/gcstar/;
-use lib File::Spec->canonpath("$RealBin/../lib/gcstar");
+-if (exists $ENV{PAR_TEMP})
+-{
+- unshift @INC, "$RealBin/../lib/gcstar";
+-}
+use lib qw(/usr/share/gcstar/lib);
+$ENV{GCS_BIN_DIR} = '/usr/bin';
+$ENV{GCS_LIB_DIR} = '/usr/share/gcstar/lib';
+$ENV{GCS_SHARE_DIR} = '/usr/share/gcstar';
++#if (exists $ENV{PAR_TEMP})
++#{
++# unshift @INC, "$RealBin/../lib/gcstar";
++#}
#XDG stuff
my $home = $ENV{'HOME'};
$ENV{XDG_DATA_HOME} = $home.'/.local/share' if ! exists $ENV{XDG_DATA_HOME};
mkpath $ENV{XDG_DATA_HOME};
---- gcstar/install.orig 2007-01-11 05:00:06.000000000 +0000
-+++ gcstar/install 2007-01-11 05:00:10.000000000 +0000
-@@ -165,7 +165,7 @@
+diff -Nur gcstar.orig/install gcstar/install
+--- gcstar.orig/install 2008-03-05 03:56:00.000000000 +0000
++++ gcstar/install 2008-06-12 13:55:33.000000000 +0000
+@@ -197,7 +197,7 @@
#Copying lib
verbosePrint $lang{InstallCopyDirectory}, $baseDir.'/lib/gcstar';
Summary: GCstar: collection manager
Summary(pl.UTF-8): GCstar: zarządca kolekcji
Name: gcstar
-Version: 1.2.2
+Version: 1.4.0
Release: 1
License: GPL
Group: Applications
Source0: http://download.gna.org/gcstar/%{name}-%{version}.tar.gz
-# Source0-md5: c3a20cf6e34522ba901f152ed53d891a
+# Source0-md5: 70bebd9e52e2f9d1532e91080604b26f
Patch0: %{name}-mandir.patch
Patch1: %{name}-desktop.patch
Patch2: %{name}-perlmoddir.patch