2012-10-08 20:32:24 +02:00
|
|
|
#
|
|
|
|
# spec file for package kio_audiocd
|
|
|
|
#
|
2021-03-28 09:27:17 +02:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
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.
|
|
|
|
|
2018-11-25 00:44:49 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2012-10-08 20:32:24 +02:00
|
|
|
#
|
|
|
|
|
2017-08-12 00:56:42 +02:00
|
|
|
|
2019-08-15 16:00:44 +02:00
|
|
|
%define rname audiocd-kio
|
2017-08-12 00:56:42 +02:00
|
|
|
# Latest stable Applications (e.g. 17.08 in KA, but 17.11.80 in KUA)
|
2018-07-28 15:35:21 +02:00
|
|
|
%{!?_kapp_version: %define _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')}
|
2022-01-06 13:44:45 +01:00
|
|
|
%bcond_without released
|
2018-11-25 00:44:49 +01:00
|
|
|
Name: kio_audiocd
|
2022-07-07 17:54:14 +02:00
|
|
|
Version: 22.04.3
|
2018-11-25 00:44:49 +01:00
|
|
|
Release: 0
|
2012-11-08 07:44:35 +01:00
|
|
|
Summary: KDE I/O Slave for Audio CDs
|
2018-11-25 00:44:49 +01:00
|
|
|
License: GPL-2.0-or-later
|
2012-10-08 20:32:24 +02:00
|
|
|
Group: System/GUI/KDE
|
2020-03-28 14:57:42 +01:00
|
|
|
URL: https://www.kde.org
|
2022-04-21 10:21:16 +02:00
|
|
|
Source: https://download.kde.org/stable/release-service/%{version}/src/%{rname}-%{version}.tar.xz
|
2022-01-06 13:44:45 +01:00
|
|
|
%if %{with released}
|
2022-04-21 10:21:16 +02:00
|
|
|
Source1: https://download.kde.org/stable/release-service/%{version}/src/%{rname}-%{version}.tar.xz.sig
|
2021-04-19 15:30:59 +02:00
|
|
|
Source2: applications.keyring
|
|
|
|
%endif
|
2016-12-03 15:59:41 +01:00
|
|
|
BuildRequires: alsa-devel
|
|
|
|
BuildRequires: cdparanoia-devel
|
|
|
|
BuildRequires: extra-cmake-modules
|
|
|
|
BuildRequires: flac-devel
|
2020-03-28 14:57:42 +01:00
|
|
|
BuildRequires: libvorbis-devel
|
|
|
|
BuildRequires: cmake(KF5Cddb)
|
|
|
|
BuildRequires: cmake(KF5CompactDisc)
|
2019-11-29 12:39:44 +01:00
|
|
|
BuildRequires: cmake(KF5Config)
|
|
|
|
BuildRequires: cmake(KF5DocTools)
|
|
|
|
BuildRequires: cmake(KF5I18n)
|
2020-03-28 14:57:42 +01:00
|
|
|
BuildRequires: cmake(KF5KCMUtils)
|
2019-11-29 12:39:44 +01:00
|
|
|
BuildRequires: cmake(KF5KIO)
|
2022-03-29 08:44:39 +02:00
|
|
|
BuildRequires: cmake(KF5Cddb)
|
2019-11-29 12:39:44 +01:00
|
|
|
BuildRequires: cmake(Phonon4Qt5)
|
2012-10-08 20:32:24 +02:00
|
|
|
|
|
|
|
%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
|
2018-11-25 00:44:49 +01:00
|
|
|
License: LGPL-2.1-or-later
|
2016-12-03 15:59:41 +01:00
|
|
|
Group: Development/Libraries/KDE
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains the development files for the audiocd kio slave
|
|
|
|
|
2017-04-15 15:28:24 +02:00
|
|
|
%lang_package
|
|
|
|
|
2012-10-08 20:32:24 +02:00
|
|
|
%prep
|
2021-04-19 15:30:59 +02:00
|
|
|
%autosetup -p1 -n %{rname}-%{version}
|
2012-10-08 20:32:24 +02:00
|
|
|
|
|
|
|
%build
|
2016-12-03 15:59:41 +01:00
|
|
|
%cmake_kf5 -d build
|
2020-02-07 09:43:47 +01:00
|
|
|
%cmake_build
|
2012-10-08 20:32:24 +02:00
|
|
|
|
|
|
|
%install
|
2016-12-03 15:59:41 +01:00
|
|
|
%kf5_makeinstall -C build
|
2022-01-06 13:44:45 +01:00
|
|
|
%if %{with released}
|
2017-04-15 15:28:24 +02:00
|
|
|
%find_lang %{name} --with-man --all-name
|
2018-11-25 00:44:49 +01:00
|
|
|
%{kf5_find_htmldocs}
|
2017-04-15 15:28:24 +02:00
|
|
|
%endif
|
2012-10-08 20:32:24 +02:00
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
2018-11-25 00:44:49 +01:00
|
|
|
%license COPYING*
|
2021-04-19 15:30:59 +02:00
|
|
|
%doc %lang(en) %{_kf5_htmldir}/en/kioslave5/audiocd/
|
|
|
|
%doc %lang(en) %{_kf5_htmldir}/en/kcontrol/audiocd/
|
2017-08-12 00:56:42 +02:00
|
|
|
%dir %{_kf5_sharedir}/konqsidebartng
|
|
|
|
%dir %{_kf5_sharedir}/konqsidebartng/virtual_folders
|
|
|
|
%dir %{_kf5_sharedir}/konqsidebartng/virtual_folders/services
|
|
|
|
%dir %{_kf5_sharedir}/solid
|
|
|
|
%dir %{_kf5_sharedir}/solid/actions
|
2019-11-29 12:39:44 +01:00
|
|
|
%{_kf5_appstreamdir}/org.kde.kio_audiocd.metainfo.xml
|
2017-08-12 00:56:42 +02:00
|
|
|
%{_kf5_configkcfgdir}/audiocd_*_encoder.kcfg
|
2018-11-25 00:44:49 +01:00
|
|
|
%{_kf5_debugdir}/kio_audiocd.categories
|
2020-11-21 13:58:13 +01:00
|
|
|
%{_kf5_debugdir}/kio_audiocd.renamecategories
|
2017-08-12 00:56:42 +02:00
|
|
|
%{_kf5_libdir}/libaudiocdplugins.so.*
|
2019-01-12 02:59:09 +01:00
|
|
|
%{_kf5_plugindir}/kcm_audiocd.so
|
2019-04-03 10:52:10 +02:00
|
|
|
%{_kf5_plugindir}/kf5/kio/audiocd.so
|
2019-11-29 12:39:44 +01:00
|
|
|
%{_kf5_plugindir}/libaudiocd_encoder_*.so
|
2016-12-03 15:59:41 +01:00
|
|
|
%{_kf5_servicesdir}/audiocd.desktop
|
2017-08-12 00:56:42 +02:00
|
|
|
%{_kf5_sharedir}/konqsidebartng/virtual_folders/services/audiocd.desktop
|
|
|
|
%{_kf5_sharedir}/solid/actions/solid_audiocd.desktop
|
2016-12-03 15:59:41 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%{_includedir}/audiocdencoder.h
|
|
|
|
%{_includedir}/audiocdplugins_export.h
|
2017-08-12 00:56:42 +02:00
|
|
|
%{_kf5_libdir}/libaudiocdplugins.so
|
2012-10-08 20:32:24 +02:00
|
|
|
|
2022-01-06 13:44:45 +01:00
|
|
|
%if %{with released}
|
2017-04-15 15:28:24 +02:00
|
|
|
%files lang -f %{name}.lang
|
|
|
|
%endif
|
|
|
|
|
2012-10-08 20:32:24 +02:00
|
|
|
%changelog
|