1 |
|
%define gitdate 20210126 |
2 |
|
|
3 |
|
%define rel 1 |
4 |
|
|
5 |
Name: kmplayer |
Name: kmplayer |
6 |
Version: 0.12.0b |
Version: 0.12.0b |
7 |
Release: %mkrel 8 |
Release: %mkrel 9.git%{gitdate}.%{rel} |
8 |
Summary: A multimedia mplayer/phonon frontend for Plasma 5 |
Summary: A multimedia mplayer/phonon frontend for Plasma 5 |
9 |
License: GPLv2+ |
License: GPLv2+ |
10 |
Group: Video/Players |
Group: Video/Players |
11 |
Url: https://kmplayer.kde.org/ |
Url: https://kmplayer.kde.org/ |
12 |
Source: http://download.kde.org/stable/kmplayer/0.12/%{name}-%{version}.tar.bz2 |
#Source0: http://download.kde.org/stable/kmplayer/0.12/%%{name}-%%{version}.tar.bz2 |
13 |
Patch0: kmplayer-0.12.0b-fix-desktop-file.patch |
# Upstream releases is inactive from while, so lets use latest git |
14 |
Patch1: kmplayer-0.12.0b-fix-build-with-qt59.patch |
Source0: %{name}-%{version}-%{gitdate}.tar.xz |
|
Patch2: kmplayer-0.12.0b-fix-build-against-qt-5.11.0.patch |
|
|
Patch3: kmplayer-0.11.3c-aarch64.patch |
|
15 |
|
|
16 |
BuildRequires: pkgconfig(cairo) |
BuildRequires: pkgconfig(cairo) |
17 |
BuildRequires: pkgconfig(dbus-glib-1) |
BuildRequires: pkgconfig(dbus-glib-1) |
18 |
BuildRequires: pkgconfig(gtk+-2.0) |
BuildRequires: pkgconfig(gtk+-x11-2.0) |
19 |
BuildRequires: pkgconfig(x11) |
BuildRequires: pkgconfig(x11) |
20 |
BuildRequires: gettext |
BuildRequires: gettext |
21 |
# Kf5 BuildRequires |
# Kf5 BuildRequires |
22 |
BuildRequires: kf5-macros |
BuildRequires: kf5-macros |
23 |
BuildRequires: cmake(KF5Config) |
BuildRequires: cmake(KF5Config) |
24 |
BuildRequires: cmake(KF5CoreAddons) |
BuildRequires: cmake(KF5CoreAddons) |
25 |
|
BuildRequires: cmake(KF5DocTools) |
26 |
|
BuildRequires: cmake(KF5IconThemes) |
27 |
BuildRequires: cmake(KF5Init) |
BuildRequires: cmake(KF5Init) |
28 |
BuildRequires: cmake(KF5I18n) |
BuildRequires: cmake(KF5I18n) |
|
BuildRequires: cmake(KF5KDELibs4Support) |
|
29 |
BuildRequires: cmake(KF5KIO) |
BuildRequires: cmake(KF5KIO) |
30 |
BuildRequires: cmake(KF5MediaPlayer) |
BuildRequires: cmake(KF5MediaPlayer) |
31 |
BuildRequires: cmake(KF5Parts) |
BuildRequires: cmake(KF5Parts) |
48 |
|
|
49 |
%files -f %{name}.lang |
%files -f %{name}.lang |
50 |
%doc AUTHORS ChangeLog README |
%doc AUTHORS ChangeLog README |
51 |
|
%{_kf5_categoriesdir}/%{name}.*categories |
52 |
%{_kf5_bindir}/%{name} |
%{_kf5_bindir}/%{name} |
53 |
%{_kf5_bindir}/kphononplayer |
%{_kf5_bindir}/kphononplayer |
54 |
%{_kf5_datadir}/%{name}/ |
%{_kf5_datadir}/%{name}/ |
55 |
%{_kf5_services}/*.desktop |
%{_kf5_services}/*.desktop |
|
%{_kf5_datadir}/kxmlgui5/%{name}/ |
|
56 |
%{_kf5_libdir}/*.so |
%{_kf5_libdir}/*.so |
57 |
%{_qt5_plugindir}/*.so |
%{_kf5_plugindir}/parts/*.so |
58 |
%{_kf5_iconsdir}/hicolor/*/*/* |
%{_kf5_iconsdir}/hicolor/*/*/* |
59 |
%{_kf5_applicationsdir}/%{name}.desktop |
%{_kf5_applicationsdir}/org.kde.%{name}.desktop |
60 |
|
%{_kf5_metainfodir}/org.kde.%{name}.appdata.xml |
61 |
%config(noreplace) %{_kf5_sysconfdir}/xdg/%{name}rc |
%config(noreplace) %{_kf5_sysconfdir}/xdg/%{name}rc |
62 |
|
|
63 |
#---------------------------------------------------- |
#---------------------------------------------------- |
77 |
#---------------------------------------------------- |
#---------------------------------------------------- |
78 |
|
|
79 |
%prep |
%prep |
80 |
%setup -q |
%setup -q -n %{name}-%{version}-%{gitdate} |
81 |
%autopatch -p1 |
%autopatch -p1 |
82 |
|
|
83 |
%build |
%build |