2012-10-08 20:32:24 +02:00
|
|
|
#
|
|
|
|
# spec file for package kio_audiocd
|
|
|
|
#
|
2016-12-03 15:59:41 +01:00
|
|
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
2012-10-08 20:32:24 +02:00
|
|
|
#
|
|
|
|
# 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
|
2012-11-08 07:44:35 +01:00
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
2012-10-08 20:32:24 +02:00
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: kio_audiocd
|
2017-01-14 09:57:25 +01:00
|
|
|
Version: 16.12.1
|
2016-12-03 15:59:41 +01:00
|
|
|
Release: 0
|
|
|
|
%define kf5_version 5.26.0
|
2017-01-14 09:57:25 +01:00
|
|
|
# Latest stable Applications (e.g. 16.08 in KA, but 16.12.1 in KUA)
|
2016-12-03 15:59:41 +01:00
|
|
|
%{!?_kapp_version: %global _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')}
|
2012-11-08 07:44:35 +01:00
|
|
|
Summary: KDE I/O Slave for Audio CDs
|
2012-10-08 20:32:24 +02:00
|
|
|
License: GPL-2.0+
|
|
|
|
Group: System/GUI/KDE
|
|
|
|
Url: http://www.kde.org
|
|
|
|
Source0: audiocd-kio-%{version}.tar.xz
|
2016-12-03 15:59:41 +01:00
|
|
|
BuildRequires: alsa-devel
|
|
|
|
BuildRequires: cdparanoia-devel
|
|
|
|
BuildRequires: extra-cmake-modules
|
|
|
|
BuildRequires: flac-devel
|
|
|
|
BuildRequires: kconfig-devel
|
|
|
|
BuildRequires: kdelibs4support-devel
|
|
|
|
BuildRequires: kdoctools-devel
|
|
|
|
BuildRequires: kio-devel
|
|
|
|
BuildRequires: libkcddb-devel
|
|
|
|
BuildRequires: libkcompactdisc-devel
|
|
|
|
BuildRequires: libvorbis-devel
|
|
|
|
BuildRequires: phonon4qt5-devel
|
2012-10-08 20:32:24 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
This package contains an KIO slave to access audio CDs.
|
|
|
|
|
2016-12-03 15:59:41 +01:00
|
|
|
%package devel
|
|
|
|
Summary: Development package for kio_audiocd
|
|
|
|
License: LGPL-2.1+
|
|
|
|
Group: Development/Libraries/KDE
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains the development files for the audiocd kio slave
|
|
|
|
|
2012-10-08 20:32:24 +02:00
|
|
|
%prep
|
|
|
|
%setup -q -n audiocd-kio-%{version}
|
|
|
|
|
|
|
|
%build
|
2016-12-03 15:59:41 +01:00
|
|
|
%cmake_kf5 -d build
|
2012-10-08 20:32:24 +02:00
|
|
|
%make_jobs
|
|
|
|
|
|
|
|
%install
|
2016-12-03 15:59:41 +01:00
|
|
|
%kf5_makeinstall -C build
|
2012-10-08 20:32:24 +02:00
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2014-07-16 16:19:09 +02:00
|
|
|
%doc COPYING*
|
2016-12-03 15:59:41 +01:00
|
|
|
%{_libdir}/libaudiocdplugins.so.*
|
|
|
|
%{_kf5_plugindir}/libaudiocd_encoder_*.so
|
|
|
|
%{_kf5_plugindir}/libkcm_audiocd.so
|
|
|
|
%{_kf5_plugindir}/libkio_audiocd.so
|
|
|
|
%{_kf5_configkcfgdir}/audiocd_*_encoder.kcfg
|
|
|
|
%{_kf5_htmldir}/en/kioslave5/audiocd/
|
|
|
|
%dir %{_datadir}/konqsidebartng
|
|
|
|
%dir %{_datadir}/konqsidebartng/virtual_folders
|
|
|
|
%dir %{_datadir}/konqsidebartng/virtual_folders/services
|
|
|
|
%{_datadir}/konqsidebartng/virtual_folders/services/audiocd.desktop
|
|
|
|
%{_kf5_servicesdir}/audiocd.desktop
|
|
|
|
%{_kf5_servicesdir}/audiocd.protocol
|
|
|
|
%dir %{_datadir}/solid
|
|
|
|
%dir %{_datadir}/solid/actions
|
|
|
|
%{_datadir}/solid/actions/solid_audiocd.desktop
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc COPYING*
|
|
|
|
%{_includedir}/audiocdencoder.h
|
|
|
|
%{_includedir}/audiocdplugins_export.h
|
|
|
|
%{_libdir}/libaudiocdplugins.so
|
2012-10-08 20:32:24 +02:00
|
|
|
|
|
|
|
%changelog
|