1 |
# |
2 |
# Please do not update/rebuild/touch this package before asking first |
3 |
# neoclust and/or daviddavid |
4 |
# This package is part of the KDE Stack. |
5 |
# |
6 |
|
7 |
%define rel 1 |
8 |
|
9 |
Name: dragon |
10 |
Epoch: 3 |
11 |
Version: 24.12.1 |
12 |
Release: %mkrel %{rel} |
13 |
Summary: A simple video player for Plasma |
14 |
Group: Video/Players |
15 |
License: GPLv2 |
16 |
URL: https://apps.kde.org/dragonplayer/ |
17 |
Source0: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz |
18 |
|
19 |
BuildRequires: kf6-rpm-macros |
20 |
|
21 |
BuildRequires: cmake(Qt6Core) |
22 |
BuildRequires: cmake(Qt6Gui) >= 6.5 |
23 |
BuildRequires: cmake(Qt6Widgets) |
24 |
|
25 |
BuildRequires: cmake(KF6Config) |
26 |
BuildRequires: cmake(KF6ConfigWidgets) |
27 |
BuildRequires: cmake(KF6CoreAddons) |
28 |
BuildRequires: cmake(KF6Crash) |
29 |
BuildRequires: cmake(KF6DBusAddons) |
30 |
BuildRequires: cmake(KF6DocTools) |
31 |
BuildRequires: cmake(KF6I18n) |
32 |
BuildRequires: cmake(KF6JobWidgets) |
33 |
BuildRequires: cmake(KF6KIO) |
34 |
BuildRequires: cmake(KF6Parts) |
35 |
BuildRequires: cmake(KF6Solid) |
36 |
BuildRequires: cmake(KF6WidgetsAddons) |
37 |
BuildRequires: cmake(KF6WindowSystem) |
38 |
BuildRequires: cmake(KF6XmlGui) |
39 |
|
40 |
BuildRequires: cmake(Phonon4Qt6) >= 4.6.60 |
41 |
|
42 |
Recommends: dragon-handbook |
43 |
|
44 |
Provides: dragonplayer = %{epoch}:%{version}-%{release} |
45 |
|
46 |
|
47 |
%description |
48 |
Dragon Player is a multimedia player where the focus is on simplicity, |
49 |
instead of features. Dragon Player does one thing, and only one thing, |
50 |
which is playing multimedia files. It's simple interface is designed not |
51 |
to get in your way and instead empower you to simply play multimedia |
52 |
files. |
53 |
|
54 |
%files -f %name.lang |
55 |
%_kf6_bindir/dragon |
56 |
%_kf6_sysconfdir/xdg/dragonplayerrc |
57 |
%_kf6_iconsdir/*/*/*/* |
58 |
%_kf6_applicationsdir/*.desktop |
59 |
%_kf6_plugindir/parts/dragonpart.so |
60 |
%_kf6_datadir/kio/servicemenus/dragonplayer_play_dvd.desktop |
61 |
%_kf6_datadir/solid/actions/dragonplayer-openaudiocd.desktop |
62 |
%_kf6_datadir/solid/actions/dragonplayer-opendvd.desktop |
63 |
%_kf6_metainfodir/org.kde.dragonplayer.appdata.xml |
64 |
%_kf6_mandir/man1/dragon.1.* |
65 |
|
66 |
#------------------------------------------------------------------------------ |
67 |
|
68 |
%package handbook |
69 |
Summary: dragon handbook |
70 |
Group: Documentation |
71 |
BuildArch: noarch |
72 |
Requires: %{name} >= %{epoch}:%{version}-%{release} |
73 |
Provides: dragonplayer-handbook = %{epoch}:%{version}-%{release} |
74 |
|
75 |
%description handbook |
76 |
This package provides dragon handbook. |
77 |
|
78 |
%files handbook |
79 |
%_kf6_docdir/HTML/*/dragonplayer |
80 |
|
81 |
#------------------------------------------------------------------------------ |
82 |
|
83 |
%prep |
84 |
%autosetup -p1 |
85 |
|
86 |
%build |
87 |
%cmake_kf6 |
88 |
%cmake_build |
89 |
|
90 |
%install |
91 |
%cmake_install |
92 |
%find_lang %name --all-name --with-man |