File xt7-player-mpv.spec of Package xt7-player-mpv (Revision dd77badee42521f689f452f137789d31)

Currently displaying revision dd77badee42521f689f452f137789d31 , Show latest

125
 
1
#
2
# spec file for package xt7-player-mpv
3
#
4
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
5
#
6
# All modifications and additions to the file contributed by third parties
7
# remain the property of their copyright owners, unless otherwise agreed
8
# upon. The license for this file, and modifications and additions to the
9
# file, is the same license as for the pristine package itself (unless the
10
# license for the pristine package is not an Open Source License, in which
11
# case the license is the MIT License). An "Open Source License" is a
12
# license that conforms to the Open Source Definition (Version 1.9)
13
# published by the Open Source Initiative.
14
15
# Please submit bugfixes or comments via http://bugs.opensuse.org/
16
#
17
18
19
Name:           xt7-player-mpv
20
Version:        0.24.392
21
Release:        0
22
Summary:        Qt/Gambas gui to mpv
23
License:        GPL-2.0+
24
Group:          Productivity/Multimedia/Video/Players
25
Url:            http://xt7-player.sourceforge.net/xt7forum/
26
Source0:        https://github.com/kokoko3k/xt7-player-mpv/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
27
BuildRequires:  desktop-file-utils
28
BuildRequires:  gambas3-devel >= 3.9.1
29
BuildRequires:  gambas3-gb-args
30
BuildRequires:  gambas3-gb-compress
31
BuildRequires:  gambas3-gb-db
32
BuildRequires:  gambas3-gb-db-form
33
BuildRequires:  gambas3-gb-dbus
34
BuildRequires:  gambas3-gb-desktop
35
BuildRequires:  gambas3-gb-form
36
BuildRequires:  gambas3-gb-form-dialog
37
BuildRequires:  gambas3-gb-form-mdi
38
BuildRequires:  gambas3-gb-form-stock
39
BuildRequires:  gambas3-gb-gui
40
BuildRequires:  gambas3-gb-image
41
BuildRequires:  gambas3-gb-image-imlib
42
BuildRequires:  gambas3-gb-image-io
43
BuildRequires:  gambas3-gb-libxml
44
BuildRequires:  gambas3-gb-net
45
BuildRequires:  gambas3-gb-net-curl
46
BuildRequires:  gambas3-gb-qt5
47
BuildRequires:  gambas3-gb-qt5-ext
48
BuildRequires:  gambas3-gb-settings
49
BuildRequires:  gambas3-gb-signal
50
BuildRequires:  gambas3-gb-util-web
51
BuildRequires:  gambas3-gb-web
52
BuildRequires:  pkgconfig
53
BuildRequires:  pkgconfig(taglib)
54
BuildRequires:  pkgconfig(taglib_c)
55
Requires:       %(rpm -qf $(readlink -qne %{_libdir}/libtag.so) --qf '%{NAME} >= %{VERSION}')
56
Requires:       %(rpm -qf $(readlink -qne %{_libdir}/libtag_c.so) --qf '%{NAME} >= %{VERSION}')
57
Requires:       ffmpeg
58
Requires:       gambas3-gb-args
59
Requires:       gambas3-gb-compress
60
Requires:       gambas3-gb-dbus
61
Requires:       gambas3-gb-desktop
62
Requires:       gambas3-gb-form
63
Requires:       gambas3-gb-form-dialog
64
Requires:       gambas3-gb-form-mdi
65
Requires:       gambas3-gb-form-stock
66
Requires:       gambas3-gb-geom
67
Requires:       gambas3-gb-gtk
68
Requires:       gambas3-gb-gui
69
Requires:       gambas3-gb-image
70
Requires:       gambas3-gb-libxml
71
Requires:       gambas3-gb-net
72
Requires:       gambas3-gb-net-curl
73
Requires:       gambas3-gb-qt5
74
Requires:       gambas3-gb-qt5-ext
75
Requires:       gambas3-gb-settings
76
Requires:       gambas3-gb-signal
77
Requires:       gambas3-gb-util-web
78
Requires:       gambas3-gb-web
79
Requires:       gambas3-runtime
80
Requires:       mpv >= 0.24.0
81
Requires:       wget
82
Requires:       youtube-dl
83
Recommends:     dvb
84
Recommends:     dvbsnoop
85
Recommends:     python >= 2.7
86
Recommends:     xbindkeys
87
Recommends:     xdg-utils
88
BuildArch:      noarch
89
90
%description
91
Aims to be an (in)complete graphical interface to mpv, focused on
92
usability. It also provides extra features like youtube and shoutcast
93
integration, dvbt, media tagging, library and playlist managment and a lot
94
more.
95
96
%prep
97
%setup -q
98
99
%build
100
gbc3 -e -a -g -t -p -m
101
gba3
102
103
%install
104
install -Dm755 %{name}-%{version}.gambas %{buildroot}%{_bindir}/%{name}.gambas
105
install -Dm0644 {./,%{buildroot}%{_datadir}/pixmaps/}%{name}.png
106
install -Dm0644 {./,%{buildroot}%{_datadir}/applications/}%{name}.desktop
107
install -Dm0644 {./,%{buildroot}%{_datadir}/appdata/}%{name}.appdata.xml
108
109
%post
110
%desktop_database_post
111
112
%postun
113
%desktop_database_postun
114
115
%files
116
%defattr(-,root,root)
117
%dir %{_datadir}/appdata
118
%doc CHANGELOG_GIT LICENSE*
119
%{_bindir}/%{name}.gambas
120
%{_datadir}/pixmaps/%{name}.png
121
%{_datadir}/applications/%{name}.desktop
122
%{_datadir}/appdata/%{name}*.xml
123
124
%changelog
125