LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File audex.spec of Package audex (Project KDE:Extra)

# spec file for package audex
# Copyright (c) 2012 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.76b1
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
# PATCH-FIX-OPENSUSE require_cmake_2.6.4.patch asterios.dramis@gmail.com -- make the package use cmake-2.6.4 (fixes build in openSUSE 11.2)
Patch0:         require_cmake_2.6.4.patch
# PATCH-FIX-UPSTREAM install_translations.diff ctrippe@opensuse.org -- install translations
Patch1:         install_translations.diff
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

BuildRequires:  libkcddb4-devel
BuildRequires:  libkcompactdisc4-devel
BuildRequires:  libkde4-devel
%if 0%{?suse_version}
BuildRequires:  update-desktop-files
BuildRequires:  xz
%if 0%{?suse_version} > 1110
BuildRequires:  cdparanoia-devel
BuildRequires:  cdparanoia
Recommends:     python-eyeD3
Recommends:     %{name}-lang = %{version}

Due to the lack of a good cdda extraction tool with view on archival funtions,
audex is a new audio grabber tool for CD-ROM drives based on KDE 4.

    Marco Nelles <marco@maniatek.de>


%setup -q
%patch1 -p1

%cmake_kde4 -d build

cd build
cd ..

%if 0%{?suse_version}
%suse_update_desktop_file -r %{name} Qt KDE AudioVideo Audio CD

%find_lang %{name}


rm -rf %{buildroot}

%dir %{_kde4_appsdir}/solid
%dir %{_kde4_appsdir}/solid/actions

%files lang -f %{name}.lang