Sophie

Sophie

distrib > Fedora > 13 > i386 > media > updates-src > by-pkgid > 35c608e0a495d3be09e039054b081604 > files > 1

gnome-exe-thumbnailer-0.7-4.fc13.src.rpm


Name:         gnome-exe-thumbnailer
Version:      0.7
Release:      4%{?dist}
Summary:      Shows thumbnails of exe files in nautilus

Group:        User Interface/Desktops
License:      LGPLv2+
URL:          https://launchpad.net/ubuntu/+source/%{name}/%{version}-0ubuntu1
BuildRoot:    %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source:       https://launchpad.net/ubuntu/+archive/primary/+files/%{name}_%{version}-0ubuntu1.tar.gz
#Redhat Bugzilla #636819 comment 29, Upstream bug https://bugs.launchpad.net/ubuntu/+source/gnome-exe-thumbnailer/+bug/752578
Source1:      %{name}.thumbnailer
Requires:     xorg-x11-fonts-misc glibc-common icoutils ImageMagick gawk grep
%if 0%{?fedora} < 15
BuildRequires: GConf2
Requires(pre): GConf2
Requires(post): GConf2
Requires(preun): GConf2
%endif
BuildArch:    noarch

%description
%{name} is a thumbnailer for Gnome that will give Windows .exe
files an icon based on their embedded icon and a generic "Wine program" icon.
If the program has normal execute permissions, then the standard embedded icon
will be shown.  This thumbnailer will also give a thumbnail icon for .jar, .py, 
and similar executable programs.

%prep
%setup -q
mv debian/README ./
rm -fr debian

%build
%{nil}

%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_bindir}
install -d $RPM_BUILD_ROOT%{_sysconfdir}
install -d $RPM_BUILD_ROOT%{_sysconfdir}/gconf
install -d $RPM_BUILD_ROOT%{_sysconfdir}/gconf/schemas
install -d $RPM_BUILD_ROOT%{_datadir}/doc/%{name}-%{version}/
install -d $RPM_BUILD_ROOT%{_datadir}/pixmaps/
install -d $RPM_BUILD_ROOT%{_datadir}/pixmaps/gnome-exe-thumbnailer
install -pm 755 %{name}.sh $RPM_BUILD_ROOT%{_bindir}/
%if 0%{?fedora} < 15
install -pm 644 %{name}.schemas $RPM_BUILD_ROOT%{_sysconfdir}/gconf/schemas/
%else
install -Dpm 644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/thumbnailers/%{name}.thumbnailer
%endif
install -pm 644 README $RPM_BUILD_ROOT%{_datadir}/doc/%{name}-%{version}/
install -pm 644 LICENSE $RPM_BUILD_ROOT%{_datadir}/doc/%{name}-%{version}/
install -pm 644 template.png $RPM_BUILD_ROOT%{_datadir}/pixmaps/%{name}/
install -pm 644 generic-exe.png $RPM_BUILD_ROOT%{_datadir}/pixmaps/%{name}/
install -pm 644 generic.png $RPM_BUILD_ROOT%{_datadir}/pixmaps/%{name}/
install -pm 644 generic-installer.png $RPM_BUILD_ROOT%{_datadir}/pixmaps/%{name}/

%clean
rm -fr $RPM_BUILD_ROOT

%if 0%{?fedora} < 15
%pre
%gconf_schema_prepare %{name}
%endif

%if 0%{?fedora} < 15
%post
%gconf_schema_upgrade %{name}
%endif

%if 0%{?fedora} < 15
%preun
%gconf_schema_remove %{name}
%endif

%files
%defattr(-,root,root,-)
%doc %{_datadir}/doc/*
%{_bindir}/%{name}.sh
%if 0%{?fedora} < 15
%config %{_sysconfdir}/gconf/schemas/%{name}.schemas
%else
%{_datadir}/thumbnailers/%{name}.thumbnailer
%endif
%{_datadir}/pixmaps/%{name}/template.png
%{_datadir}/pixmaps/%{name}/generic-exe.png
%{_datadir}/pixmaps/%{name}/generic.png
%{_datadir}/pixmaps/%{name}/generic-installer.png

%changelog
* Sat Apr 16 2011 Elad Alfassa <el.il@doom.co.il> - 0.7-4
- Fix installation on F13 as well

* Tue Apr 12 2011 Elad Alfassa <el.il@doom.co.il> - 0.7-3
- Fix issues from review

* Mon Apr 11 2011 Elad Alfassa <el.il@doom.co.il> - 0.7-2
- Bugfix: add xorg-x11-fonts-misc to the dependecy list to make exe version number displaying work again.

* Mon Apr 11 2011 Elad Alfassa <el.il@doom.co.il> - 0.7-1
- Now works on GNOME 3

* Wed Sep 29 2010 Elad Alfassa <el.il@doom.co.il> - 0.7-0
- Version update:
- support Vista icons
- Include copy of LGPL 2.1 
- Put images in /usr/share/pixmaps/gnome-exe-thumbnailer
-and spec file fixes.

* Sun Sep 26 2010 Elad Alfassa <el.il@doom.co.il> - 0.6-3
-Fix typo.

* Sun Sep 26 2010 Elad Alfassa <el.il@doom.co.il> - 0.6-2
- Mark schemas file as config file

* Sun Sep 26 2010 Elad Alfassa <el.il@doom.co.il> - 0.6-1
- More spec file fixes

* Thu Sep 23 2010 Elad Alfassa <elad@macron.co.il> - 0.6-0
- Version update, some general spec file fixes.

* Sun Jul 25 2010 Elad Alfassa <elad@macron.co.il> - 0.3-1
- initial build