A new user interface for you! Read more...

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 <buschmann23@opensuse.org>
#
# 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  
%kde4_runtime_requires

Url:                http://kde-apps.org/content/show.php/AudioThumbs?content=114885

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

Author:
-------
    Vytautas Mickus

%prep
%setup -n AudioThumbs-%{version}
%patch0

%build
  %cmake_kde4 -d builddir
  %make_jobs

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

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%clean
  rm -rf $RPM_BUILD_ROOT

%files
%defattr(644,root,root,755)
%doc README
%_libdir/kde4/AudioThumbs.so
%_kde_share_dir/services/AudioThumbs.desktop

%changelog