[gnome-nds-thumbnailer] Update to 3.0, fixes it not working for the past 2 years

Bastien Nocera hadess at fedoraproject.org
Sat May 18 22:46:50 UTC 2013


commit 6d7ca4c60605c5684bc0285bf07a89a0c7823893
Author: Bastien Nocera <hadess at hadess.net>
Date:   Sun May 19 00:46:44 2013 +0200

    Update to 3.0, fixes it not working for the past 2 years

 .gitignore                 |    1 +
 gnome-nds-thumbnailer.spec |   42 ++++++++----------------------------------
 sources                    |    2 +-
 3 files changed, 10 insertions(+), 35 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 87c529a..14edb79 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 gnome-nds-thumbnailer-1.2.1.tar.bz2
+/gnome-nds-thumbnailer-3.0.0.tar.xz
diff --git a/gnome-nds-thumbnailer.spec b/gnome-nds-thumbnailer.spec
index e2d4688..d5acd5e 100644
--- a/gnome-nds-thumbnailer.spec
+++ b/gnome-nds-thumbnailer.spec
@@ -1,21 +1,15 @@
 Name:            gnome-nds-thumbnailer
-Version:         1.2.1
-Release:         7%{?dist}
+Version:         3.0.0
+Release:         1%{?dist}
 Summary:         Thumbnailer for Nintendo DS ROM files
 
 Group:           Amusements/Graphics
 License:         GPLv2+
 URL:             http://ftp.gnome.org/pub/GNOME/sources/%{name}
-Source0:         http://ftp.gnome.org/pub/GNOME/sources/%{name}/1.2/%{name}-%{version}.tar.bz2
+Source0:         http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.0/%{name}-%{version}.tar.xz
 BuildRoot:       %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
-BuildRequires:   gtk2-devel
-BuildRequires:   GConf2
-
-Requires(pre):   GConf2
-Requires(post):  GConf2
-Requires(preun): GConf2
-
+BuildRequires:   gdk-pixbuf2-devel glib2-devel
 
 %description
 Thumbnailer for Nintendo DS ROM files.
@@ -43,36 +37,16 @@ make install DESTDIR=$RPM_BUILD_ROOT
 rm -rf $RPM_BUILD_ROOT
 
 
-%pre
-if [ "$1" -gt 1 ]; then
-    export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
-    gconftool-2 --makefile-uninstall-rule \
-      %{_sysconfdir}/gconf/schemas/%{name}.schemas >/dev/null || :
-fi
-
-
-%post
-export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
-gconftool-2 --makefile-install-rule \
-  %{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null || :
-
-
-%preun
-if [ "$1" -eq 0 ]; then
-    export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
-    gconftool-2 --makefile-uninstall-rule \
-      %{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null || :
-fi
-
-
 %files
 %defattr(-,root,root,-)
 %doc README NEWS COPYING
-%config %{_sysconfdir}/gconf/schemas/gnome-nds-thumbnailer.schemas
 %{_bindir}/gnome-nds-thumbnailer
-
+%{_datadir}/thumbnailers/gnome-nds-thumbnailer.thumbnailer
 
 %changelog
+* Sun May 19 2013 Bastien Nocera <bnocera at redhat.com> 3.0.0-1
+- Update to 3.0, fixes it not working for the past 2 years
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.2.1-7
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 
diff --git a/sources b/sources
index 1b6e474..96afceb 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-a20c1d98d9b16d8a538134fec1455dd7  gnome-nds-thumbnailer-1.2.1.tar.bz2
+04efed71fd5311a844040630f07f4167  gnome-nds-thumbnailer-3.0.0.tar.xz


More information about the scm-commits mailing list