File kde-odf-thumbnail.spec of Package kde-odf-thumbnail
#
# spec file for package kde-odf-thumbnail
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: kde-odf-thumbnail
Version: 1.0.0
Release: 0
Summary: ODF thumbnailer for KDE
License: LGPL-3.0
Group: System/GUI/KDE
Url: http://kde-apps.org/content/show.php?content=110864
Source: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%kde4_runtime_requires
BuildRequires: libkde4-devel
BuildRequires: libkdecore4-devel
%description
Plugin for KDE file managers (Dolphin and Konqueror) to preview ODF (OpenDocument Format) files as Thumbnails.
If you have koffice2 installed you won't need this package. koffice2 provides it's own ODF thumbnailer
%prep
%setup -q
%build
%cmake_kde4 -d build
%make_jobs
%install
cd build
%makeinstall
cd ..
%kde_post_install
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc README LICENSE LICENSE.html
%{_kde4_modulesdir}/opendocumentthumbnail.so
%{_kde4_servicesdir}/opendocumentthumbnail.desktop
%changelog