2012-10-08 20:32:24 +02:00
|
|
|
#
|
|
|
|
# spec file for package kio_audiocd
|
|
|
|
#
|
2024-02-23 21:08:19 +01:00
|
|
|
# Copyright (c) 2024 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
|
2024-04-12 19:24:58 +02:00
|
|
|
%define kf6_version 6.0.0
|
2024-02-23 21:08:19 +01:00
|
|
|
%define qt6_version 6.6.0
|
|
|
|
|
2022-01-06 13:44:45 +01:00
|
|
|
%bcond_without released
|
2018-11-25 00:44:49 +01:00
|
|
|
Name: kio_audiocd
|
2024-05-23 13:00:15 +02:00
|
|
|
Version: 24.05.0
|
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
|
2020-03-28 14:57:42 +01:00
|
|
|
URL: https://www.kde.org
|
2024-05-23 13:00:15 +02:00
|
|
|
Source0: https://download.kde.org/stable/release-service/%{version}/src/%{rname}-%{version}.tar.xz
|
2022-01-06 13:44:45 +01:00
|
|
|
%if %{with released}
|
2024-05-23 13:00:15 +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: cdparanoia-devel
|
2024-02-23 21:08:19 +01:00
|
|
|
BuildRequires: kf6-extra-cmake-modules >= %{kf6_version}
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: cmake(KCddb6)
|
|
|
|
BuildRequires: cmake(KCompactDisc6)
|
|
|
|
BuildRequires: cmake(KF6Config) >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(KF6DocTools) >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(KF6I18n) >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(KF6KCMUtils) >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(KF6KIO) >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(Qt6Core) >= %{qt6_version}
|
|
|
|
BuildRequires: cmake(Qt6Widgets) >= %{qt6_version}
|
|
|
|
BuildRequires: pkgconfig(flac)
|
|
|
|
BuildRequires: pkgconfig(vorbis)
|
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
|
2024-02-23 21:08:19 +01:00
|
|
|
Requires: kio_audiocd = %{version}
|
2016-12-03 15:59:41 +01:00
|
|
|
|
|
|
|
%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
|
2024-02-23 21:08:19 +01:00
|
|
|
%cmake_kf6
|
|
|
|
|
|
|
|
%kf6_build
|
2012-10-08 20:32:24 +02:00
|
|
|
|
|
|
|
%install
|
2024-02-23 21:08:19 +01:00
|
|
|
%kf6_install
|
2022-11-17 23:58:24 +01:00
|
|
|
|
2024-02-23 21:08:19 +01:00
|
|
|
%find_lang %{name} --with-html --all-name
|
2012-10-08 20:32:24 +02:00
|
|
|
|
2023-03-02 15:21:11 +01:00
|
|
|
%ldconfig_scriptlets
|
2012-10-08 20:32:24 +02:00
|
|
|
|
|
|
|
%files
|
2018-11-25 00:44:49 +01:00
|
|
|
%license COPYING*
|
2024-02-23 21:08:19 +01:00
|
|
|
%doc %lang(en) %{_kf6_htmldir}/en/kcontrol/
|
|
|
|
%doc %lang(en) %{_kf6_htmldir}/en/kioslave5/
|
|
|
|
%{_kf6_applicationsdir}/kcm_audiocd.desktop
|
|
|
|
%{_kf6_appstreamdir}/org.kde.kio_audiocd.metainfo.xml
|
|
|
|
%{_kf6_configkcfgdir}/audiocd_*_encoder.kcfg
|
|
|
|
%{_kf6_debugdir}/kio_audiocd.categories
|
|
|
|
%{_kf6_debugdir}/kio_audiocd.renamecategories
|
|
|
|
%{_kf6_libdir}/libaudiocdplugins.so.*
|
|
|
|
%{_kf6_plugindir}/kf6/kio/audiocd.so
|
|
|
|
%{_kf6_plugindir}/libaudiocd_encoder_*.so
|
|
|
|
%{_kf6_plugindir}/plasma/kcms/systemsettings_qwidgets/kcm_audiocd.so
|
|
|
|
%dir %{_kf6_sharedir}/konqsidebartng
|
|
|
|
%dir %{_kf6_sharedir}/konqsidebartng/virtual_folders
|
|
|
|
%dir %{_kf6_sharedir}/konqsidebartng/virtual_folders/services
|
|
|
|
%{_kf6_sharedir}/konqsidebartng/virtual_folders/services/audiocd.desktop
|
|
|
|
%dir %{_kf6_sharedir}/solid
|
|
|
|
%dir %{_kf6_sharedir}/solid/actions
|
|
|
|
%{_kf6_sharedir}/solid/actions/solid_audiocd.desktop
|
2016-12-03 15:59:41 +01:00
|
|
|
|
|
|
|
%files devel
|
2023-03-20 09:51:54 +01:00
|
|
|
%{_includedir}/audiocdplugins/
|
2024-02-23 21:08:19 +01:00
|
|
|
%{_kf6_libdir}/libaudiocdplugins.so
|
2012-10-08 20:32:24 +02:00
|
|
|
|
2017-04-15 15:28:24 +02:00
|
|
|
%files lang -f %{name}.lang
|
2024-02-23 21:08:19 +01:00
|
|
|
%exclude %{_kf6_htmldir}/en/kcontrol/
|
|
|
|
%exclude %{_kf6_htmldir}/en/kioslave5/
|
2017-04-15 15:28:24 +02:00
|
|
|
|
2012-10-08 20:32:24 +02:00
|
|
|
%changelog
|