2012-10-08 11:23:54 +00:00
|
|
|
#
|
|
|
|
# spec file for package juk
|
|
|
|
#
|
2021-03-28 07:26:56 +00:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2012-10-08 11:23:54 +00: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-11-24 23:44:10 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2012-10-08 11:23:54 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2017-08-11 22:53:27 +00:00
|
|
|
# Latest stable Applications (e.g. 17.08 in KA, but 17.11.80 in KUA)
|
2018-07-28 13:23:56 +00:00
|
|
|
%{!?_kapp_version: %define _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')}
|
2022-01-06 12:44:27 +00:00
|
|
|
%bcond_without released
|
2017-07-25 23:00:47 +00:00
|
|
|
Name: juk
|
2022-07-07 15:53:55 +00:00
|
|
|
Version: 22.04.3
|
2017-07-25 23:00:47 +00:00
|
|
|
Release: 0
|
2012-10-08 11:23:54 +00:00
|
|
|
Summary: Jukebox
|
2018-07-28 13:23:56 +00:00
|
|
|
License: GPL-2.0-or-later
|
2012-10-08 11:23:54 +00:00
|
|
|
Group: Productivity/Multimedia/Sound/Players
|
2021-04-19 13:30:49 +00:00
|
|
|
URL: https://apps.kde.org/juk
|
2022-04-21 08:20:53 +00:00
|
|
|
Source: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz
|
2022-01-06 12:44:27 +00:00
|
|
|
%if %{with released}
|
2022-04-21 08:20:53 +00:00
|
|
|
Source1: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig
|
2021-04-19 13:30:49 +00:00
|
|
|
Source2: applications.keyring
|
|
|
|
%endif
|
2020-03-28 13:56:57 +00:00
|
|
|
BuildRequires: extra-cmake-modules
|
|
|
|
BuildRequires: libtag-devel
|
|
|
|
BuildRequires: update-desktop-files
|
2017-11-21 22:12:35 +00:00
|
|
|
BuildRequires: cmake(KF5Completion)
|
|
|
|
BuildRequires: cmake(KF5Config)
|
2018-11-24 23:44:10 +00:00
|
|
|
BuildRequires: cmake(KF5CoreAddons)
|
2017-11-21 22:12:35 +00:00
|
|
|
BuildRequires: cmake(KF5Crash)
|
2019-11-29 11:39:03 +00:00
|
|
|
BuildRequires: cmake(KF5DBusAddons)
|
2018-11-24 23:44:10 +00:00
|
|
|
BuildRequires: cmake(KF5DocTools)
|
2017-11-21 22:12:35 +00:00
|
|
|
BuildRequires: cmake(KF5GlobalAccel)
|
|
|
|
BuildRequires: cmake(KF5I18n)
|
|
|
|
BuildRequires: cmake(KF5IconThemes)
|
|
|
|
BuildRequires: cmake(KF5JobWidgets)
|
2018-11-24 23:44:10 +00:00
|
|
|
BuildRequires: cmake(KF5KIO)
|
2017-11-21 22:12:35 +00:00
|
|
|
BuildRequires: cmake(KF5Notifications)
|
|
|
|
BuildRequires: cmake(KF5TextWidgets)
|
|
|
|
BuildRequires: cmake(KF5Wallet)
|
|
|
|
BuildRequires: cmake(KF5WidgetsAddons)
|
|
|
|
BuildRequires: cmake(KF5WindowSystem)
|
2018-11-24 23:44:10 +00:00
|
|
|
BuildRequires: cmake(KF5XmlGui)
|
2020-03-28 13:56:57 +00:00
|
|
|
BuildRequires: cmake(Phonon4Qt5)
|
2017-11-21 22:12:35 +00:00
|
|
|
BuildRequires: cmake(Qt5Gui)
|
|
|
|
BuildRequires: cmake(Qt5Network)
|
2018-11-24 23:44:10 +00:00
|
|
|
BuildRequires: cmake(Qt5Svg)
|
2017-11-21 22:12:35 +00:00
|
|
|
BuildRequires: cmake(Qt5Test)
|
|
|
|
BuildRequires: cmake(Qt5Widgets)
|
2012-10-08 11:23:54 +00:00
|
|
|
|
|
|
|
%description
|
2017-11-21 22:12:35 +00:00
|
|
|
Jukebox and music manager by KDE
|
|
|
|
|
|
|
|
%lang_package
|
2012-10-08 11:23:54 +00:00
|
|
|
|
|
|
|
%prep
|
2021-04-19 13:30:49 +00:00
|
|
|
%autosetup -p1
|
2012-10-08 11:23:54 +00:00
|
|
|
|
|
|
|
%build
|
2017-11-21 22:12:35 +00:00
|
|
|
%cmake_kf5 -d build
|
2020-02-07 08:39:43 +00:00
|
|
|
%cmake_build
|
2012-10-08 11:23:54 +00:00
|
|
|
|
|
|
|
%install
|
2017-11-21 22:12:35 +00:00
|
|
|
%kf5_makeinstall -C build
|
2022-01-06 12:44:27 +00:00
|
|
|
%if %{with released}
|
2017-11-21 22:12:35 +00:00
|
|
|
%find_lang %{name} --with-man --all-name
|
2018-11-24 23:44:10 +00:00
|
|
|
%{kf5_find_htmldocs}
|
2017-11-21 22:12:35 +00:00
|
|
|
%endif
|
2021-07-27 09:35:38 +00:00
|
|
|
%suse_update_desktop_file org.kde.juk AudioVideo Player
|
2012-10-08 11:23:54 +00:00
|
|
|
|
|
|
|
%files
|
2018-11-24 23:44:10 +00:00
|
|
|
%license COPYING
|
2021-11-30 07:58:17 +00:00
|
|
|
%doc %lang(en) %{_kf5_htmldir}/en/juk/
|
2022-03-29 06:44:19 +00:00
|
|
|
%dir %{_kf5_sharedir}/kio
|
|
|
|
%dir %{_kf5_sharedir}/kio/servicemenus
|
2017-11-21 22:12:35 +00:00
|
|
|
%{_kf5_applicationsdir}/org.kde.juk.desktop
|
|
|
|
%{_kf5_appsdir}/juk/
|
|
|
|
%{_kf5_appstreamdir}/org.kde.juk.appdata.xml
|
2021-04-19 13:30:49 +00:00
|
|
|
%{_kf5_bindir}/juk
|
|
|
|
%{_kf5_dbusinterfacesdir}/org.kde.juk.*
|
2017-11-21 22:12:35 +00:00
|
|
|
%{_kf5_iconsdir}/hicolor/*/apps/juk.*
|
2021-04-19 13:30:49 +00:00
|
|
|
%{_kf5_kxmlguidir}/juk
|
2019-11-29 11:39:03 +00:00
|
|
|
%{_kf5_notifydir}/juk.notifyrc
|
2022-03-29 06:44:19 +00:00
|
|
|
%{_kf5_sharedir}/kio/servicemenus/jukservicemenu.desktop
|
2017-11-21 22:12:35 +00:00
|
|
|
|
2022-01-06 12:44:27 +00:00
|
|
|
%if %{with released}
|
2017-11-21 22:12:35 +00:00
|
|
|
%files lang -f %{name}.lang
|
|
|
|
%endif
|
2012-10-08 11:23:54 +00:00
|
|
|
|
|
|
|
%changelog
|