[CentOS-devel] Package submission: thunar-thumbnailer

Sat May 10 22:16:12 UTC 2008
Heiko Adams <heiko.adams at gmail.com>

Hello,
I'd like to submit the thunar-thumbnailer-package to the centos repo.

Description:
Thunar uses external utilities - so called thumbnailers - to generate
previews of certain files. Thunar ships with thumbnailers to generate
previews of image and font files and can automatically use available
GNOME thumbnailers if it was build with support for gconf.

However, even then, there are several file types for which no
thumbnailer exists. The thunar-thumbnailers project provides additional
thumbnailers for Thunar, that also cover less common file formats. 

Download: 
http://download.ha-software.de/thunar-thumbnailers-0.3.2-1.src.rpm

Regards
-- 
Heiko Adams <heiko.adams at gmail.com>
-------------- next part --------------
# $Id: 
# Authority: 	h.adams

Summary: 	thunar-thumbnailers
Name: 		thunar-thumbnailers
Version: 	0.3.2
Release: 	1
License: 	GPL
Group: 		Applications/Graphics
URL: 		http://goodies.xfce.org/projects/applications/ristretto

Source: 	http://goodies.xfce.org/releases/%{name}/%{name}-%{version}.tar.bz2
BuildRoot: 	%{_tmppath}/%{name}-%{version}-%{release}-root

BuildRequires: 	Thunar-devel >= 0.9
BuildRequires: 	ImageMagick-devel >= 6.2.8.0

Requires: 	Thunar >= 0.9
Requires: 	ImageMagick >= 6.2.8.0

%description
Thunar uses external utilities - so called thumbnailers - to generate previews of certain files. Thunar ships with thumbnailers to generate previews of image and font files and can automatically use available GNOME thumbnailers if it was build with support for gconf.
However, even then, there are several file types for which no thumbnailer exists. The thunar-thumbnailers project provides additional thumbnailers for Thunar, that also cover less common file formats. 

%prep
%setup

%build
%configure
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
%makeinstall

%post
update-mime-database %{_datadir}/mime &> /dev/null || :
%{_libexecdir}/thunar-vfs-update-thumbnailers-cache-1

%postun
update-mime-database %{_datadir}/mime &> /dev/null || :


%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc AUTHORS ChangeLog COPYING INSTALL NEWS README
%{_datadir}/mime/packages/%{name}.xml
%{_libexecdir}/*thumbnailer
%{_datadir}/thumbnailers/*.desktop

%changelog
* Sun Apr 11 2008 Heiko Adams <info-2007 at fedora-blog.de> - 0.3.2-1
- Initial package.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://lists.centos.org/pipermail/centos-devel/attachments/20080511/1052d805/attachment-0006.sig>