Registration is now invite-only. Any user can make an invite, you need to create it here and give resulting link to someone to register.
avatar
mikhailnov has added 7636e5e067
Split package (RB#13126)

smplayer requires /usr/bin/mpv, but it is not a good idea to install desktop files of another GUI when installing the smplayer GUI.
See: https://bugzilla.rosalinux.ru/show_bug.cgi?id=13126

... ... --- a/mpv.spec
... ... +++ b/mpv.spec
... ... @@ -5,7 +5,7 @@
5 5
Summary:	Movie player playing most video formats and DVDs
6 6
Name:		mpv
7 7
Version:	0.34.1
8
Release:	7
8
Release:	9
9 9
# We are enabling Samba support
10 10
License:	GPLv3+
11 11
Group:		Video
... ... @@ -98,6 +98,7 @@ BuildRequires: pkgconfig(x264)
98 98
BuildRequires:	pkgconfig(x265)
99 99
Requires:	hicolor-icon-theme
100 100
Requires:	%{libname} = %{EVRD}
101
Requires:	%{name}-core = %{EVRD}
101 102
Recommends:	youtube-dl
102 103
103 104
%description
... ... @@ -113,18 +114,39 @@ audio output methods are supported.
114 114
%{_docdir}/%{name}/mplayer-input.conf
115 115
%{_docdir}/%{name}/mpv.conf
116 116
%{_docdir}/%{name}/mpv.pdf
117
%dir %{_sysconfdir}/%{name}
117 118
%config(noreplace) %{_sysconfdir}/%{name}/encoding-profiles.conf
118 119
%config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf
119 120
%config(noreplace) %{_sysconfdir}/%{name}/input.conf
120 121
%{_bindir}/%{name}
121
%{_datadir}/applications/%{name}.desktop
122
%{_datadir}/icons/hicolor/*/*/%{name}.*
123
%{_datadir}/metainfo/%{name}.appdata.xml
124 122
%{_datadir}/bash-completion/completions/mpv
125 123
%{_docdir}/%{name}/restore-old-bindings.conf
126 124
%dir %{_datadir}/zsh/site-functions
127 125
%{_datadir}/zsh/site-functions/_mpv
128 126
%{_mandir}/man1/%{name}.1*
127
128
#----------------------------------------------------------------------------
129
130
%package core
131
Summary:	Core of the MPV media player
132
Group:		Video
133
# files were moved from "mpv"
134
Conflicts:	mpv < 0.34.1-9
135
136
%description core
137
Mpv is a movie player based on MPlayer and mplayer2. It supports a wide
138
variety of video file formats, audio and video codecs, and subtitle types.
139
Special input URL types are available to read input from a variety of sources
140
other than disk files. Depending on platform, a variety of different video and
141
audio output methods are supported.
142
This package the core of the player, without a desktop file
143
(because some other players, e.g. smplayer, require the mpv binary).
144
145
%files core
146
%license Copyright
147
%{_datadir}/applications/%{name}.desktop
148
%{_datadir}/icons/hicolor/*/*/%{name}.*
149
%{_datadir}/metainfo/%{name}.appdata.xml
129 150
%{_iconsdir}/hicolor/symbolic/apps/%{name}-symbolic.svg
130 151
131 152
#----------------------------------------------------------------------------

Comments