File gnome-nds-thumbnailer.spec of Package gnome-nds-thumbnailer
#
# spec file for package gnome-nds-thumbnailer
#
# Copyright (c) 2007 Mathieu Cadet.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# norootforbuild
Name: gnome-nds-thumbnailer
Version: 1.0.1
Release: 2
License: GPL v2 or later
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: pkg-config gtk2-devel gconf2-devel glib2-devel
Requires: gtk2 gconf2 glib2
Group: System/GUI/GNOME
URL: http://ftp.gnome.org/pub/GNOME/sources/gnome-nds-thumbnailer/1.0/
Summary: A thumbnailer for Nintendo DS ROM files
Source: %{name}-%{version}.tar.bz2
%description
This is gnome-nds-thumbnailer, a nautilus/GNOME thumbnailer for Nintendo DS ROM files.
Authors:
--------
Bastien Nocera <hadess@hadess.net>
Thomas Köckerbauer <tkoecker@gmx.net>
%prep
%setup -q
%build
#autoreconf -f -i
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
%configure
make
%install
%makeinstall
%clean
rm -rf "$RPM_BUILD_ROOT"
%post
if [ -d /opt/gnome ]; then
GNOME_PATH=/opt/gnome
else
GNOME_PATH=/usr
fi
mv %{_sysconfdir}/gconf/schemas/%{name}.schema{,s}
export GCONF_CONFIG_SOURCE=`${GNOME_PATH}/bin/gconftool-2 --get-default-source`
${GNOME_PATH}/bin/gconftool-2 --makefile-install-rule \
%{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null || :
killall -HUP gconfd-2 &> /dev/null || :
%files
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog NEWS README
%config %{_sysconfdir}/gconf/schemas/*
%{_bindir}/*
%changelog
* Tue Jul 29 2008 - mcadet@novell.com
Fixed the spec file to make rpmlint happy
* Sun Oct 7 2007 - mcadet@novell.com
initial creation of gnome-nds-thumbnailer package, version 1.0.1