/
dragon.spec
69 lines (61 loc) · 2.09 KB
/
dragon.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
%define stable %([ "`echo %{version} |cut -d. -f3`" -ge 80 ] && echo -n un; echo -n stable)
Summary: A simple video player for KDE
Name: dragon
Epoch: 3
Version: 21.12.2
Release: 1
Group: Graphical desktop/KDE
License: GPLv2
Url: http://www.kde.org/applications/multimedia/dragonplayer/
Source0: http://download.kde.org/%{stable}/release-service/%{version}/src/%{name}-%{version}.tar.xz
BuildRequires: cmake
BuildRequires: ninja
BuildRequires: cmake(ECM)
BuildRequires: cmake(KF5Solid)
BuildRequires: cmake(KF5Config)
BuildRequires: cmake(KF5ConfigWidgets)
BuildRequires: cmake(KF5CoreAddons)
BuildRequires: cmake(KF5Crash)
BuildRequires: cmake(KF5DBusAddons)
BuildRequires: cmake(KF5DocTools)
BuildRequires: cmake(KF5I18n)
BuildRequires: cmake(KF5JobWidgets)
BuildRequires: cmake(KF5KIO)
BuildRequires: cmake(KF5Notifications)
BuildRequires: cmake(KF5Parts)
BuildRequires: cmake(KF5Service)
BuildRequires: cmake(KF5WidgetsAddons)
BuildRequires: cmake(KF5WindowSystem)
BuildRequires: cmake(KF5XmlGui)
BuildRequires: cmake(Qt5Core)
BuildRequires: cmake(Qt5DBus)
BuildRequires: cmake(Qt5Gui)
BuildRequires: cmake(Qt5Widgets)
BuildRequires: cmake(Phonon4Qt5)
%description
Dragon Player is a multimedia player where the focus is on simplicity,
instead of features. Dragon Player does one thing, and only one thing,
which is playing multimedia files. It's simple interface is designed not
to get in your way and instead empower you to simply play multimedia
files.
%files -f dragon.lang -f dragonplayer.lang
%config %{_sysconfdir}/xdg/dragonplayerrc
%{_bindir}/dragon
%{_libdir}/qt5/plugins/kf5/parts/dragonpart.so
%{_datadir}/applications/org.kde.dragonplayer.desktop
%{_datadir}/kservices5/ServiceMenus/*
%{_datadir}/kservices5/*.desktop
%{_datadir}/solid/actions/*.desktop
%{_datadir}/metainfo/org.kde.dragonplayer.appdata.xml
%{_datadir}/icons/*/*/*/*
%{_mandir}/man1/dragon.1*
#------------------------------------------------------------------------------
%prep
%setup -q -n dragon-%{version}
%cmake_kde5
%build
%ninja -C build
%install
%ninja_install -C build
%find_lang dragon --with-man
%find_lang dragonplayer --with-html