summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-07-21 06:36:56 +0000
committerCoprDistGit <infra@openeuler.org>2023-07-21 06:36:56 +0000
commite9648de9782495e38e5498e6676eb6bfa77f263f (patch)
tree70371386d696e8961b3f021c9b2f164ee4ac2ba8
parentf84ce779a137b2eb2cd62e45e757b20e83617433 (diff)
automatic import of k3bopeneuler23.03
-rw-r--r--.gitignore1
-rw-r--r--k3b.spec164
-rw-r--r--sources1
3 files changed, 166 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..f4b67ee 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/k3b-22.08.0.tar.xz
diff --git a/k3b.spec b/k3b.spec
new file mode 100644
index 0000000..7840842
--- /dev/null
+++ b/k3b.spec
@@ -0,0 +1,164 @@
+%define webkit 1
+
+Name: k3b
+Summary: CD/DVD/Blu-ray burning application
+Epoch: 1
+Version: 22.08.0
+Release: 1
+
+License: GPLv2+
+URL: http://www.k3b.org/
+
+%global revision %(echo %{version} | cut -d. -f3)
+%if %{revision} >= 50
+%global stable unstable
+%else
+%global stable stable
+%endif
+
+Source0: http://download.kde.org/%{stable}/release-service/%{version}/src/%{name}-%{version}.tar.xz
+
+BuildRequires: desktop-file-utils
+BuildRequires: libappstream-glib
+
+BuildRequires: cmake(Qt5Gui)
+%if 0%{?webkit}
+BuildRequires: cmake(Qt5WebKitWidgets)
+%endif
+
+BuildRequires: extra-cmake-modules
+BuildRequires: kf5-rpm-macros
+BuildRequires: cmake(KF5Archive)
+BuildRequires: cmake(KF5Config)
+BuildRequires: cmake(KF5CoreAddons)
+BuildRequires: cmake(KF5DocTools)
+BuildRequires: cmake(KF5FileMetaData)
+BuildRequires: cmake(KF5I18n)
+BuildRequires: cmake(KF5IconThemes)
+BuildRequires: cmake(KF5JobWidgets)
+BuildRequires: cmake(KF5KCMUtils)
+BuildRequires: cmake(KF5KIO)
+BuildRequires: cmake(KF5Notifications)
+BuildRequires: cmake(KF5NewStuff)
+BuildRequires: cmake(KF5NotifyConfig)
+BuildRequires: cmake(KF5Service)
+BuildRequires: cmake(KF5Solid)
+BuildRequires: cmake(KF5WidgetsAddons)
+BuildRequires: cmake(KF5XmlGui)
+
+BuildRequires: kf5-libkcddb-devel
+
+BuildRequires: lame-devel
+BuildRequires: libmpcdec-devel
+BuildRequires: pkgconfig(dvdread)
+BuildRequires: pkgconfig(flac++)
+
+BuildRequires: pkgconfig(mad)
+BuildRequires: pkgconfig(samplerate)
+BuildRequires: pkgconfig(sndfile)
+BuildRequires: pkgconfig(taglib)
+BuildRequires: pkgconfig(vorbisenc) pkgconfig(vorbisfile)
+BuildRequires: pkgconfig(taglib)
+
+BuildRequires: genisoimage
+
+Conflicts: k3b-extras-freeworld < 1:17.03
+
+Obsoletes: k3b-common < 1:17.03
+Provides: k3b-common = %{epoch}:%{version}-%{release}
+
+Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release}
+
+Requires: cdrdao
+Requires: dvd+rw-tools
+Requires: genisoimage
+
+BuildRequires: wodim
+Requires: wodim
+
+%description
+K3b provides a comfortable user interface to perform most CD/DVD
+burning tasks. While the experienced user can take influence in all
+steps of the burning process the beginner may find comfort in the
+automatic settings and the reasonable k3b defaults which allow a quick
+start.
+
+%package libs
+Summary: Runtime libraries for %{name}
+Requires: %{name} = %{epoch}:%{version}-%{release}
+
+%description libs
+%{summary}.
+
+%package devel
+Summary: Files for the development of applications which will use %{name}
+Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release}
+
+%description devel
+%{summary}.
+
+
+%prep
+%autosetup -p1
+
+
+%build
+mkdir %{_target_platform}
+pushd %{_target_platform}
+%{cmake_kf5} .. \
+ -DK3B_BUILD_FFMPEG_DECODER_PLUGIN:BOOL=OFF \
+ -DK3B_BUILD_LAME_ENCODER_PLUGIN:BOOL=ON \
+ -DK3B_BUILD_MAD_DECODER_PLUGIN:BOOL=ON
+popd
+%make_build -C %{_target_platform}
+
+
+%install
+make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
+
+%find_lang %{name} --all-name --with-html
+
+
+%check
+appstream-util validate-relax --nonet %{buildroot}%{_kf5_metainfodir}/org.kde.k3b.appdata.xml
+desktop-file-validate %{buildroot}%{_kf5_datadir}/applications/org.kde.k3b.desktop
+
+
+%files -f %{name}.lang
+%doc README*
+%license LICENSES/*
+%{_kf5_bindir}/k3b
+%{_kf5_metainfodir}/org.kde.k3b.appdata.xml
+%{_kf5_datadir}/applications/org.kde.k3b.desktop
+%{_kf5_datadir}/knotifications5/k3b.*
+%{_kf5_datadir}/knsrcfiles/k3btheme.knsrc
+%{_kf5_datadir}/konqsidebartng/virtual_folders/services/*.desktop
+%{_kf5_datadir}/kservices5/*
+%{_kf5_datadir}/kservicetypes5/*
+%{_kf5_datadir}/kxmlgui5/k3b/
+%{_kf5_datadir}/solid/actions/k3b*.desktop
+%{_kf5_datadir}/mime/packages/x-k3b.xml
+%{_kf5_datadir}/icons/hicolor/*/*/*
+%{_kf5_datadir}/k3b/
+%{_libexecdir}/kf5/kauth/k3bhelper
+%{_datadir}/dbus-1/system-services/org.kde.k3b.service
+%{_datadir}/dbus-1/system.d/org.kde.k3b.conf
+%{_datadir}/polkit-1/actions/org.kde.k3b.policy
+
+%ldconfig_scriptlets libs
+
+%files libs
+%{_kf5_libdir}/libk3bdevice.so.*
+%{_kf5_libdir}/libk3blib.so.*
+%{_kf5_qtplugindir}/k3b_plugins
+%{_kf5_plugindir}/kio/videodvd.so
+
+%files devel
+%{_includedir}/k3b*.h
+%{_kf5_libdir}/libk3bdevice.so
+%{_kf5_libdir}/libk3blib.so
+
+
+%changelog
+* Fri Dec 16 2022 misaka00251 <liuxin@iscas.ac.cn> - 1:22.08.0-1
+- 22.08.0
diff --git a/sources b/sources
new file mode 100644
index 0000000..890f61a
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+15df47ce0a4157e8c3d0b3bda16cdb94 k3b-22.08.0.tar.xz