2009-04-30 17:39:08 +02:00
|
|
|
#
|
2011-01-17 19:06:05 +01:00
|
|
|
# spec file for package k3b
|
2009-04-30 17:39:08 +02:00
|
|
|
#
|
2024-02-23 21:07:55 +01:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2009-04-30 17:39:08 +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
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2018-10-12 10:43:56 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2009-04-30 17:39:08 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2024-02-23 21:07:55 +01:00
|
|
|
%define kf6_version 5.246.0
|
|
|
|
%define qt6_version 6.6.0
|
|
|
|
|
2022-01-06 13:44:27 +01:00
|
|
|
%bcond_without released
|
2016-08-03 11:40:43 +02:00
|
|
|
%bcond_without ffmpeg
|
2018-07-28 15:24:07 +02:00
|
|
|
%bcond_without lame
|
|
|
|
%bcond_without mad
|
2011-02-21 23:54:56 +01:00
|
|
|
Name: k3b
|
2024-02-23 21:07:55 +01:00
|
|
|
Version: 24.01.95
|
2012-04-19 08:48:59 +02:00
|
|
|
Release: 0
|
2021-04-19 15:30:49 +02:00
|
|
|
Summary: CD/DVD/Blu-ray Burning Application by KDE
|
2018-03-10 13:10:20 +01:00
|
|
|
License: GPL-2.0-or-later
|
2021-04-19 15:30:49 +02:00
|
|
|
URL: https://apps.kde.org/k3b
|
2024-02-23 21:07:55 +01:00
|
|
|
Source: https://download.kde.org/unstable/release-service/%{version}/src/%{name}-%{version}.tar.xz
|
2022-01-06 13:44:27 +01:00
|
|
|
%if %{with released}
|
2024-02-23 21:07:55 +01:00
|
|
|
Source1: https://download.kde.org/unstable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig
|
2021-04-19 15:30:49 +02:00
|
|
|
Source2: applications.keyring
|
|
|
|
%endif
|
2017-07-27 07:10:28 +02:00
|
|
|
# PATCH-FIX-OPENSUSE
|
2022-11-23 17:41:49 +01:00
|
|
|
Patch0: Don-t-suggest-to-install-libburn.patch
|
2019-07-26 16:04:33 +02:00
|
|
|
# PATCH-FIX-OPENSUSE
|
2022-11-23 17:41:49 +01:00
|
|
|
Patch1: 0001-Revert-Enable-the-k3b-helper-by-default.patch
|
2011-05-17 13:25:07 +02:00
|
|
|
BuildRequires: fdupes
|
2024-02-23 21:07:55 +01:00
|
|
|
BuildRequires: kf6-extra-cmake-modules >= %{kf6_version}
|
|
|
|
BuildRequires: libmusicbrainz-devel
|
2020-10-19 08:42:33 +02:00
|
|
|
BuildRequires: musepack-devel
|
2018-11-25 00:44:10 +01:00
|
|
|
BuildRequires: pkgconfig
|
2024-02-23 21:07:55 +01:00
|
|
|
BuildRequires: cmake(KCddb6)
|
|
|
|
BuildRequires: cmake(KF6Archive) >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(KF6Auth) >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(KF6Config) >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(KF6CoreAddons) >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(KF6DocTools) >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(KF6FileMetaData) >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(KF6I18n) >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(KF6IconThemes) >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(KF6JobWidgets) >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(KF6KCMUtils) >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(KF6KIO) >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(KF6NewStuff) >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(KF6Notifications) >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(KF6NotifyConfig) >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(KF6Solid) >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(KF6WidgetsAddons) >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(KF6XmlGui) >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(Qt6Core) >= %{qt6_version}
|
|
|
|
BuildRequires: cmake(Qt6Core5Compat) >= %{qt6_version}
|
|
|
|
BuildRequires: cmake(Qt6DBus) >= %{qt6_version}
|
|
|
|
BuildRequires: cmake(Qt6Gui) >= %{qt6_version}
|
|
|
|
%ifarch x86_64 aarch64 riscv64
|
|
|
|
BuildRequires: cmake(Qt6WebEngineWidgets) >= %{qt6_version}
|
|
|
|
%endif
|
|
|
|
BuildRequires: pkgconfig(dvdread)
|
|
|
|
BuildRequires: pkgconfig(flac)
|
|
|
|
BuildRequires: pkgconfig(flac++)
|
|
|
|
BuildRequires: pkgconfig(samplerate)
|
|
|
|
BuildRequires: pkgconfig(sndfile)
|
2015-11-12 19:40:03 +01:00
|
|
|
BuildRequires: pkgconfig(taglib)
|
2024-02-23 21:07:55 +01:00
|
|
|
BuildRequires: pkgconfig(vorbis)
|
2015-11-12 19:40:03 +01:00
|
|
|
Requires: %{_bindir}/cdrdao
|
|
|
|
Requires: %{_bindir}/cdrecord
|
|
|
|
Requires: %{_bindir}/mkisofs
|
|
|
|
Requires: %{_bindir}/readcd
|
2011-05-17 13:25:07 +02:00
|
|
|
Requires: dvd+rw-tools
|
2023-12-07 23:52:57 +01:00
|
|
|
Requires: udisks2
|
2015-11-12 19:40:03 +01:00
|
|
|
Recommends: %{_bindir}/normalize
|
|
|
|
Recommends: %{_bindir}/sox
|
|
|
|
Recommends: %{_bindir}/transcode
|
|
|
|
Recommends: vcdimager
|
2018-11-25 00:44:10 +01:00
|
|
|
%if %{with ffmpeg}
|
|
|
|
BuildRequires: pkgconfig(libavcodec)
|
|
|
|
BuildRequires: pkgconfig(libavformat)
|
|
|
|
%endif
|
|
|
|
%if %{with lame}
|
|
|
|
BuildRequires: libmp3lame-devel
|
|
|
|
Requires: lame
|
|
|
|
%endif
|
|
|
|
%if %{with mad}
|
|
|
|
BuildRequires: pkgconfig(mad)
|
|
|
|
%endif
|
2009-04-30 17:39:08 +02:00
|
|
|
|
|
|
|
%description
|
2017-09-15 23:41:41 +02:00
|
|
|
Featuring a graphical interface, k3b provides various
|
|
|
|
options for burning a CD, DVD, or BD (Blu-ray disc). Various types of
|
|
|
|
projects are supported, including audio and data, video
|
2011-05-17 13:25:07 +02:00
|
|
|
projects for DVD and VCD, as well as multi-session and mixed-mode discs. k3b
|
2017-09-15 23:41:41 +02:00
|
|
|
has the ability to erase re-writeable media, and can perform more
|
2011-05-17 13:25:07 +02:00
|
|
|
complicated tasks such as audiovisual encoding and decoding.
|
2009-04-30 17:39:08 +02:00
|
|
|
|
|
|
|
%package devel
|
2011-05-17 13:25:07 +02:00
|
|
|
Summary: Development files for k3b
|
2024-02-23 21:07:55 +01:00
|
|
|
Requires: k3b = %{version}
|
2009-04-30 17:39:08 +02:00
|
|
|
|
|
|
|
%description devel
|
2011-05-17 13:25:07 +02:00
|
|
|
This package contain files needed for development with k3b.
|
2009-04-30 17:39:08 +02:00
|
|
|
|
2009-08-11 17:40:19 +02:00
|
|
|
%lang_package
|
2015-11-12 19:40:03 +01:00
|
|
|
|
2009-04-30 17:39:08 +02:00
|
|
|
%prep
|
2021-04-19 15:30:49 +02:00
|
|
|
%autosetup -p1
|
2011-05-17 13:25:07 +02:00
|
|
|
|
2009-04-30 17:39:08 +02:00
|
|
|
%build
|
2015-11-12 19:40:03 +01:00
|
|
|
CXXFLAGS="%{optflags} -fno-strict-aliasing"
|
2024-02-23 21:07:55 +01:00
|
|
|
%cmake_kf6 -DBUILD_WITH_QT6:BOOL=TRUE
|
2009-04-30 17:39:08 +02:00
|
|
|
|
2024-02-23 21:07:55 +01:00
|
|
|
%kf6_build
|
2022-11-23 17:40:47 +01:00
|
|
|
|
2024-02-23 21:07:55 +01:00
|
|
|
%install
|
|
|
|
%kf6_install
|
2011-05-17 13:25:07 +02:00
|
|
|
|
2024-02-23 21:07:55 +01:00
|
|
|
%find_lang %{name} --with-html --all-name
|
2015-05-19 23:32:04 +02:00
|
|
|
|
2024-02-23 21:07:55 +01:00
|
|
|
%fdupes %{buildroot}
|
2011-05-17 13:25:07 +02:00
|
|
|
|
2023-03-02 15:20:45 +01:00
|
|
|
%ldconfig_scriptlets
|
2009-08-11 17:40:19 +02:00
|
|
|
|
2009-04-30 17:39:08 +02:00
|
|
|
%files
|
2021-07-27 11:35:38 +02:00
|
|
|
%license LICENSES/*
|
2024-02-23 21:07:55 +01:00
|
|
|
%doc README.txt
|
|
|
|
%doc %lang(en) %{_kf6_htmldir}/en/k3b/
|
|
|
|
%{_kf6_applicationsdir}/org.kde.k3b.desktop
|
|
|
|
%{_kf6_appstreamdir}/org.kde.k3b.appdata.xml
|
|
|
|
%{_kf6_bindir}/k3b
|
|
|
|
%{_kf6_debugdir}/k3b.categories
|
|
|
|
%{_kf6_iconsdir}/hicolor/*/apps/k3b.*
|
|
|
|
%{_kf6_iconsdir}/hicolor/*/mimetypes/application-x-k3b.*
|
|
|
|
%{_kf6_knsrcfilesdir}/k3btheme.knsrc
|
|
|
|
%{_kf6_libdir}/libk3bdevice.so.*
|
|
|
|
%{_kf6_libdir}/libk3blib.so.*
|
|
|
|
%{_kf6_notificationsdir}/k3b.notifyrc
|
|
|
|
%{_kf6_plugindir}/k3b_plugins/
|
|
|
|
%{_kf6_plugindir}/kf6/kio/videodvd.so
|
|
|
|
%{_kf6_sharedir}/k3b/
|
|
|
|
%dir %{_kf6_sharedir}/kio
|
|
|
|
%dir %{_kf6_sharedir}/kio/servicemenus
|
|
|
|
%{_kf6_sharedir}/kio/servicemenus/k3b_create_audio_cd.desktop
|
|
|
|
%{_kf6_sharedir}/kio/servicemenus/k3b_create_data_project.desktop
|
|
|
|
%{_kf6_sharedir}/kio/servicemenus/k3b_create_video_cd.desktop
|
|
|
|
%{_kf6_sharedir}/kio/servicemenus/k3b_write_bin_image.desktop
|
|
|
|
%{_kf6_sharedir}/kio/servicemenus/k3b_write_iso_image.desktop
|
|
|
|
# No idea if that still works
|
|
|
|
%dir %{_kf6_sharedir}/konqsidebartng
|
|
|
|
%dir %{_kf6_sharedir}/konqsidebartng/virtual_folders
|
|
|
|
%dir %{_kf6_sharedir}/konqsidebartng/virtual_folders/services
|
|
|
|
%{_kf6_sharedir}/konqsidebartng/virtual_folders/services/videodvd.desktop
|
|
|
|
%{_kf6_sharedir}/mime/packages/x-k3b.xml
|
|
|
|
%dir %{_kf6_sharedir}/solid
|
|
|
|
%dir %{_kf6_sharedir}/solid/actions
|
|
|
|
%{_kf6_sharedir}/solid/actions/k3b_*.desktop
|
2009-04-30 17:39:08 +02:00
|
|
|
|
|
|
|
%files devel
|
2017-05-08 18:46:57 +02:00
|
|
|
%{_includedir}/k3b*.h
|
2024-02-23 21:07:55 +01:00
|
|
|
%{_kf6_libdir}/libk3bdevice.so
|
|
|
|
%{_kf6_libdir}/libk3blib.so
|
2017-05-08 18:46:57 +02:00
|
|
|
|
|
|
|
%files lang -f %{name}.lang
|
2024-02-23 21:07:55 +01:00
|
|
|
%exclude %{_kf6_htmldir}/en/k3b/
|
2009-04-30 17:39:08 +02:00
|
|
|
|
|
|
|
%changelog
|