File kde4-audio-thumbnail-plugin.spec of Package kde4-audio-thumbnail-plugin

# spec file for package kde4-audio-thumbnail-plugin (Version 0.1)
# Copyright 2009 Buschmann <>
# 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.

# norootforbuild

BuildRequires:      kdebase4-workspace-devel >= 4.3.0
BuildRequires:      taglib-devel >= 1.6.0
BuildRequires:      flac-devel >= 1.2.0
BuildRequires:      update-desktop-files
BuildRequires:      licenses

Name:               kde4-audio-thumbnail-plugin
Summary:            Audio File Thumbnail Plugin for KDE4
Version:            0.1
Release:            1
License:            GPLv3
Group:              System/GUI/KDE
Source0:            114885-AudioThumbs-%{version}.tar.gz
Patch0:             desktop-translation.patch
BuildRoot:          %{_tmppath}/%{name}-%{version}-build
AutoReqProv:        yes

Requires:           kdebase4-workspace
Requires:           licenses  


Plugin for KDE file managers (Dolphin and Konqueror) to preview
cover arts embedded in Audio (MP3, FLAC) file tags as Thumbnails.

    Vytautas Mickus

%setup -n AudioThumbs-%{version}

  %cmake_kde4 -d builddir

  cd builddir
  %suse_update_desktop_file -n $RPM_BUILD_ROOT/usr/share/kde4/services/AudioThumbs.desktop

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

  rm -rf $RPM_BUILD_ROOT