File audex.spec of Package audex
#
# spec file for package audex
#
# 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: audex
Version: 0.79
Release: 0
Summary: KDE4 based CDDA extraction tool
License: GPL-3.0+
Group: Productivity/Multimedia/CD/Grabbers
Url: http://kde.maniatek.com/audex/
Source0: http://kde.maniatek.com/audex/files/%{name}-%{version}.tar.xz
BuildRequires: libkcddb4-devel
BuildRequires: libkcompactdisc4-devel
BuildRequires: libkde4-devel
%if 0%{?suse_version}
BuildRequires: update-desktop-files
%endif
BuildRequires: cdparanoia-devel
BuildRequires: xz
%kde4_runtime_requires
Recommends: python-eyeD3
Recommends: %{name}-lang = %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Audex is an audio grabber tool for CD-ROM drives based on KDE 4.
%lang_package
%prep
%setup -q
%build
%cmake_kde4 -d build
%make_jobs
%install
%kde4_makeinstall -C build
%if 0%{?suse_version}
%suse_update_desktop_file -r %{name} Qt KDE AudioVideo Audio CD
%endif
%find_lang %{name}
%kde_post_install
%files
%defattr(-,root,root,-)
%doc LICENCE README.md
%{_kde4_applicationsdir}/audex.desktop
%{_kde4_appsdir}/audex/
%dir %{_kde4_appsdir}/solid
%dir %{_kde4_appsdir}/solid/actions
%{_kde4_appsdir}/solid/actions/audex-rip-audiocd.desktop
%{_kde4_bindir}/audex
%{_kde4_iconsdir}/hicolor/*/apps/audex.png
%files lang -f %{name}.lang
%defattr(-,root,root,-)
%changelog