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
|
|
|
#
|
2020-01-09 16:58:19 +01:00
|
|
|
# Copyright (c) 2020 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
|
|
|
#
|
|
|
|
|
|
|
|
|
2017-05-08 18:46:57 +02:00
|
|
|
%bcond_without lang
|
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
|
2020-08-03 10:29:38 +02:00
|
|
|
Version: 20.07.90
|
2012-04-19 08:48:59 +02:00
|
|
|
Release: 0
|
2011-05-17 13:25:07 +02:00
|
|
|
Summary: CD/DVD/Blu-ray Burning Application for KDE
|
2018-03-10 13:10:20 +01:00
|
|
|
License: GPL-2.0-or-later
|
2011-05-17 13:25:07 +02:00
|
|
|
Group: Productivity/Multimedia/CD/Record
|
2019-08-15 16:00:20 +02:00
|
|
|
URL: https://www.kde.org
|
2020-07-22 21:31:52 +02:00
|
|
|
Source: https://download.kde.org/unstable/release-service/%{version}/src/%{name}-%{version}.tar.xz
|
2017-07-27 07:10:28 +02:00
|
|
|
# PATCH-FIX-OPENSUSE
|
|
|
|
Patch1: Don-t-suggest-to-install-libburn.patch
|
2019-07-26 16:04:33 +02:00
|
|
|
# PATCH-FIX-OPENSUSE
|
|
|
|
Patch2: 0001-Revert-Enable-the-k3b-helper-by-default.patch
|
2017-05-08 18:46:57 +02:00
|
|
|
BuildRequires: extra-cmake-modules
|
2011-05-17 13:25:07 +02:00
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: flac-devel
|
|
|
|
BuildRequires: libdvdread-devel
|
|
|
|
BuildRequires: libmpcdec-devel
|
|
|
|
BuildRequires: libmusicbrainz-devel
|
|
|
|
BuildRequires: libsamplerate-devel
|
|
|
|
BuildRequires: libsndfile-devel
|
|
|
|
BuildRequires: libvorbis-devel
|
2018-11-25 00:44:10 +01:00
|
|
|
BuildRequires: pkgconfig
|
2011-05-17 13:25:07 +02:00
|
|
|
BuildRequires: update-desktop-files
|
2017-05-08 18:46:57 +02:00
|
|
|
BuildRequires: cmake(KF5Archive) >= 5.21.0
|
2019-11-29 12:39:04 +01:00
|
|
|
BuildRequires: cmake(KF5Cddb)
|
2017-05-08 18:46:57 +02:00
|
|
|
BuildRequires: cmake(KF5Config) >= 5.21.0
|
|
|
|
BuildRequires: cmake(KF5CoreAddons) >= 5.21.0
|
|
|
|
BuildRequires: cmake(KF5DocTools) >= 5.21.0
|
|
|
|
BuildRequires: cmake(KF5FileMetaData) >= 5.21.0
|
|
|
|
BuildRequires: cmake(KF5I18n) >= 5.21.0
|
|
|
|
BuildRequires: cmake(KF5IconThemes) >= 5.21.0
|
|
|
|
BuildRequires: cmake(KF5JobWidgets) >= 5.21.0
|
|
|
|
BuildRequires: cmake(KF5KCMUtils) >= 5.21.0
|
|
|
|
BuildRequires: cmake(KF5KIO) >= 5.21.0
|
|
|
|
BuildRequires: cmake(KF5NewStuff) >= 5.21.0
|
|
|
|
BuildRequires: cmake(KF5Notifications) >= 5.21.0
|
|
|
|
BuildRequires: cmake(KF5NotifyConfig) >= 5.21.0
|
|
|
|
BuildRequires: cmake(KF5Service) >= 5.21.0
|
|
|
|
BuildRequires: cmake(KF5Solid) >= 5.21.0
|
|
|
|
BuildRequires: cmake(KF5WidgetsAddons) >= 5.21.0
|
|
|
|
BuildRequires: cmake(KF5XmlGui) >= 5.21.0
|
|
|
|
BuildRequires: cmake(Qt5Core) >= 5.5.0
|
|
|
|
BuildRequires: cmake(Qt5DBus) >= 5.5.0
|
|
|
|
BuildRequires: cmake(Qt5Gui) >= 5.5.0
|
|
|
|
BuildRequires: cmake(Qt5Test) >= 5.5.0
|
2015-11-12 19:40:03 +01:00
|
|
|
BuildRequires: pkgconfig(taglib)
|
|
|
|
Requires: %{_bindir}/cdrdao
|
|
|
|
Requires: %{_bindir}/cdrecord
|
|
|
|
Requires: %{_bindir}/mkisofs
|
|
|
|
Requires: %{_bindir}/readcd
|
2011-05-17 13:25:07 +02:00
|
|
|
Requires: dvd+rw-tools
|
2018-11-25 00:44:10 +01:00
|
|
|
Requires(post): hicolor-icon-theme
|
2011-05-17 13:25:07 +02:00
|
|
|
Requires(post): shared-mime-info
|
2018-11-25 00:44:10 +01:00
|
|
|
Requires(postun): hicolor-icon-theme
|
2011-05-17 13:25:07 +02:00
|
|
|
Requires(postun): shared-mime-info
|
2015-11-12 19:40:03 +01:00
|
|
|
Recommends: %{_bindir}/normalize
|
|
|
|
Recommends: %{_bindir}/sox
|
|
|
|
Recommends: %{_bindir}/transcode
|
2018-11-25 00:44:10 +01:00
|
|
|
Recommends: %{name}-lang
|
2015-11-12 19:40:03 +01:00
|
|
|
Recommends: vcdimager
|
2011-05-17 13:25:07 +02:00
|
|
|
Provides: kde4-k3b = 4.2.2.svn951754
|
2016-12-02 16:38:32 +01:00
|
|
|
Obsoletes: k3b-codecs
|
2017-05-08 18:46:57 +02:00
|
|
|
Obsoletes: kde4-k3b < 4.2.2.svn951754
|
2020-03-28 14:56:57 +01:00
|
|
|
%if %{with lang}
|
2020-07-22 21:31:52 +02:00
|
|
|
Source1: https://download.kde.org/unstable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig
|
2020-03-28 14:56:57 +01:00
|
|
|
Source2: applications.keyring
|
|
|
|
%endif
|
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
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: %{name} = %{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
|
2015-11-12 19:40:03 +01:00
|
|
|
%setup -q
|
2018-07-28 15:24:07 +02:00
|
|
|
%autopatch -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"
|
2017-05-08 18:46:57 +02:00
|
|
|
%cmake_kf5 -d build -- -DBUILD_TESTING=ON -DKF5_INCLUDE_INSTALL_DIR=%{_kf5_includedir}
|
2020-02-07 09:39:46 +01:00
|
|
|
%cmake_build
|
2009-04-30 17:39:08 +02:00
|
|
|
|
|
|
|
%install
|
2017-05-08 18:46:57 +02:00
|
|
|
%kf5_makeinstall -C build
|
|
|
|
%if %{with lang}
|
|
|
|
%find_lang %{name} --with-man --all-name
|
2018-11-25 00:44:10 +01:00
|
|
|
%{kf5_find_htmldocs}
|
2017-05-08 18:46:57 +02:00
|
|
|
%endif
|
2011-05-17 13:25:07 +02:00
|
|
|
|
2017-05-08 18:46:57 +02:00
|
|
|
%suse_update_desktop_file -r org.kde.k3b Qt KDE AudioVideo DiscBurning
|
2015-05-19 23:32:04 +02:00
|
|
|
|
2011-05-17 13:25:07 +02:00
|
|
|
%fdupes -s %{buildroot}
|
|
|
|
|
2011-02-21 23:54:44 +01:00
|
|
|
%post
|
|
|
|
/sbin/ldconfig
|
2015-11-12 19:40:03 +01:00
|
|
|
%desktop_database_post
|
|
|
|
%icon_theme_cache_post
|
2009-04-30 17:39:08 +02:00
|
|
|
|
2011-02-21 23:54:44 +01:00
|
|
|
%postun
|
|
|
|
/sbin/ldconfig
|
2015-11-12 19:40:03 +01:00
|
|
|
%desktop_database_postun
|
|
|
|
%icon_theme_cache_postun
|
2009-08-11 17:40:19 +02:00
|
|
|
|
2009-04-30 17:39:08 +02:00
|
|
|
%files
|
2018-11-25 00:44:10 +01:00
|
|
|
%license COPYING*
|
|
|
|
%doc ChangeLog FAQ.txt PERMISSIONS.txt README.txt
|
2019-11-29 12:39:04 +01:00
|
|
|
%{_kf5_knsrcfilesdir}/k3btheme.knsrc
|
2017-08-12 00:53:29 +02:00
|
|
|
%dir %{_kf5_servicesdir}/ServiceMenus
|
|
|
|
%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
|
|
|
|
%doc %lang(en) %{_kf5_htmldir}/en/k3b/
|
2017-05-08 18:46:57 +02:00
|
|
|
%{_kf5_applicationsdir}/org.kde.k3b.desktop
|
|
|
|
%{_kf5_appstreamdir}/org.kde.k3b.appdata.xml
|
2017-08-12 00:53:29 +02:00
|
|
|
%{_kf5_bindir}/k3b
|
2017-05-08 18:46:57 +02:00
|
|
|
%{_kf5_iconsdir}/hicolor/*/apps/k3b.*
|
|
|
|
%{_kf5_iconsdir}/hicolor/*/mimetypes/application-x-k3b.*
|
2017-08-12 00:53:29 +02:00
|
|
|
%{_kf5_kxmlguidir}/k3b
|
|
|
|
%{_kf5_libdir}/libk3bdevice.so.*
|
|
|
|
%{_kf5_libdir}/libk3blib.so.*
|
|
|
|
%{_kf5_notifydir}/k3b.notifyrc
|
|
|
|
%{_kf5_plugindir}/k3b*.so
|
|
|
|
%{_kf5_plugindir}/kcm_k3b*.so
|
2019-04-03 10:51:04 +02:00
|
|
|
%dir %{_kf5_plugindir}/kf5/
|
|
|
|
%dir %{_kf5_plugindir}/kf5/kio/
|
|
|
|
%{_kf5_plugindir}/kf5/kio/videodvd.so
|
2017-05-08 18:46:57 +02:00
|
|
|
%{_kf5_servicesdir}/ServiceMenus/k3b_*.desktop
|
|
|
|
%{_kf5_servicesdir}/k3b*.desktop
|
|
|
|
%{_kf5_servicesdir}/kcm_k3b*.desktop
|
|
|
|
%{_kf5_servicesdir}/videodvd.protocol
|
|
|
|
%{_kf5_servicetypesdir}/k3bplugin.desktop
|
2017-08-12 00:53:29 +02:00
|
|
|
%{_kf5_sharedir}/k3b
|
|
|
|
%{_kf5_sharedir}/konqsidebartng/virtual_folders/services/videodvd.desktop
|
|
|
|
%{_kf5_sharedir}/mime/packages/x-k3b.xml
|
|
|
|
%{_kf5_sharedir}/solid/actions/k3b_*.desktop
|
2009-04-30 17:39:08 +02:00
|
|
|
|
|
|
|
%files devel
|
2018-11-25 00:44:10 +01:00
|
|
|
%license COPYING*
|
2017-05-08 18:46:57 +02:00
|
|
|
%{_includedir}/k3b*.h
|
2017-08-12 00:53:29 +02:00
|
|
|
%{_kf5_libdir}/libk3bdevice.so
|
|
|
|
%{_kf5_libdir}/libk3blib.so
|
2017-05-08 18:46:57 +02:00
|
|
|
|
|
|
|
%if %{with lang}
|
|
|
|
%files lang -f %{name}.lang
|
2018-11-25 00:44:10 +01:00
|
|
|
%license COPYING*
|
2017-05-08 18:46:57 +02:00
|
|
|
%endif
|
2009-04-30 17:39:08 +02:00
|
|
|
|
|
|
|
%changelog
|