kio_audiocd/kio_audiocd.spec

81 lines
2.4 KiB
RPMSpec
Raw Normal View History

#
# spec file for package kio_audiocd
#
# 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: kio_audiocd
BuildRequires: cdparanoia-devel
BuildRequires: flac-devel
BuildRequires: libkcddb4-devel
BuildRequires: libkcompactdisc4-devel
BuildRequires: libkde4-devel
BuildRequires: libvorbis-devel
BuildRequires: xz
Summary: KDE I/O Slave for Audio CDs
License: GPL-2.0+
Group: System/GUI/KDE
Url: http://www.kde.org
Version: 4.9.3
Release: 0
Source0: audiocd-kio-%{version}.tar.xz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Provides: kdemultimedia3-CD:/opt/kde3/share/services/audiocd.protocol
%kde4_runtime_requires
%description
This package contains an KIO slave to access audio CDs.
%prep
%setup -q -n audiocd-kio-%{version}
%build
%cmake_kde4 -d build
%make_jobs
%install
cd build
%makeinstall
%kde_post_install
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
%dir %{_kde4_appsdir}/solid
%dir %{_kde4_appsdir}/solid/actions
%{_kde4_appsdir}/kconf_update/
%{_kde4_appsdir}/konqsidebartng/
%{_kde4_appsdir}/solid/actions/solid_audiocd.desktop
%config %{_kde4_configkcfgdir}/audiocd_lame_encoder.kcfg
%config %{_kde4_configkcfgdir}/audiocd_vorbis_encoder.kcfg
%{_kde4_htmldir}/en/kioslave/
%{_kde4_includedir}/audiocdencoder.h
%{_kde4_libdir}/libaudiocdplugins.*
%{_kde4_modulesdir}/kcm_audiocd.so
%{_kde4_modulesdir}/kio_audiocd.so
%{_kde4_modulesdir}/libaudiocd_encoder_flac.so
%{_kde4_modulesdir}/libaudiocd_encoder_lame.so
%{_kde4_modulesdir}/libaudiocd_encoder_vorbis.so
%{_kde4_modulesdir}/libaudiocd_encoder_wav.so
%{_kde4_servicesdir}/audiocd.desktop
%{_kde4_servicesdir}/audiocd.protocol
%changelog