* Wed Jan 01 2014 Miro Hrončok <mhroncok@redhat.com> - 0.3.0-2

- Use upstream .desktop file
el8
churchyard 11 years ago
parent afbb234acc
commit ffb8d2deb2

@ -1,18 +0,0 @@
[Desktop Entry]
Name=mpv
Comment=Mpv Video Player
Comment[cs]=Přehrávač videí mpv
GenericName=Video Player
GenericName[cs]=Přehrávač videí
TryExec=mpv
Exec=mpv %F
Icon=applications-multimedia
NoDisplay=true
Terminal=true
StartupNotify=true
Type=Application
Categories=AudioVideo;Video;Player;
MimeType=application/mxf;application/ogg;application/ram;application/sdp;application/smil;application/smil+xml;application/vnd.apple.mpegurl;application/vnd.ms-wpl;application/vnd.rn-realmedia;application/x-extension-m4a;application/x-extension-mp4;application/x-flac;application/x-flash-video;application/x-matroska;application/x-netshow-channel;application/x-ogg;application/x-quicktime-media-link;application/x-quicktimeplayer;application/x-shorten;application/x-smil;application/xspf+xml;audio/3gpp;audio/ac3;audio/AMR;audio/AMR-WB;audio/basic;audio/flac;audio/midi;audio/mp2;audio/mp4;audio/mpeg;audio/mpegurl;audio/ogg;audio/prs.sid;audio/vnd.rn-realaudio;audio/x-aiff;audio/x-ape;audio/x-flac;audio/x-gsm;audio/x-it;audio/x-m4a;audio/x-matroska;audio/x-mod;audio/x-mp3;audio/x-mpeg;audio/x-mpegurl;audio/x-ms-asf;audio/x-ms-asx;audio/x-ms-wax;audio/x-ms-wma;audio/x-musepack;audio/x-pn-aiff;audio/x-pn-au;audio/x-pn-realaudio;audio/x-pn-realaudio-plugin;audio/x-pn-wav;audio/x-pn-windows-acm;audio/x-realaudio;audio/x-real-audio;audio/x-s3m;audio/x-sbc;audio/x-scpls;audio/x-speex;audio/x-stm;audio/x-tta;audio/x-wav;audio/x-wavpack;audio/x-vorbis;audio/x-vorbis+ogg;audio/x-xm;image/vnd.rn-realpix;image/x-pict;misc/ultravox;text/google-video-pointer;text/x-google-video-pointer;video/3gp;video/3gpp;video/dv;video/divx;video/fli;video/flv;video/mp2t;video/mp4;video/mp4v-es;video/mpeg;video/msvideo;video/ogg;video/quicktime;video/vivo;video/vnd.divx;video/vnd.mpegurl;video/vnd.rn-realvideo;video/vnd.vivo;video/webm;video/x-anim;video/x-avi;video/x-flc;video/x-fli;video/x-flic;video/x-flv;video/x-m4v;video/x-matroska;video/x-mpeg;video/x-mpeg2;video/x-ms-asf;video/x-ms-asx;video/x-msvideo;video/x-ms-wm;video/x-ms-wmv;video/x-ms-wmx;video/x-ms-wvx;video/x-nsv;video/x-ogm+ogg;video/x-theora+ogg;video/x-totem-stream;x-content/video-dvd;x-content/video-vcd;x-content/video-svcd;x-scheme-handler/pnm;x-scheme-handler/mms;x-scheme-handler/net;x-scheme-handler/rtp;x-scheme-handler/rtmp;x-scheme-handler/rtsp;x-scheme-handler/mmsh;x-scheme-handler/uvox;x-scheme-handler/icy;x-scheme-handler/icyx;
# vi:set encoding=UTF-8:
X-Desktop-File-Install-Version=0.21

@ -1,11 +1,10 @@
Name: mpv Name: mpv
Version: 0.3.0 Version: 0.3.0
Release: 1%{?dist} Release: 2%{?dist}
Summary: Movie player playing most video formats and DVDs Summary: Movie player playing most video formats and DVDs
License: GPLv2+ License: GPLv2+
URL: http://%{name}.io/ URL: http://%{name}.io/
Source0: https://github.com/%{name}-player/%{name}/archive/v%{version}.tar.gz Source0: https://github.com/%{name}-player/%{name}/archive/v%{version}.tar.gz
Source1: %{name}.desktop
# set defaults for Fedora # set defaults for Fedora
Patch0: %{name}-config.patch Patch0: %{name}-config.patch
@ -79,12 +78,13 @@ waf --destdir=%{buildroot} install %{?_smp_mflags}
install -Dpm 644 etc/example.conf %{buildroot}%{_sysconfdir}/%{name}/%{name}.conf install -Dpm 644 etc/example.conf %{buildroot}%{_sysconfdir}/%{name}/%{name}.conf
install -Dpm 644 etc/input.conf %{buildroot}%{_sysconfdir}/%{name}/input.conf install -Dpm 644 etc/input.conf %{buildroot}%{_sysconfdir}/%{name}/input.conf
desktop-file-install %{SOURCE1} desktop-file-install etc/mpv.desktop
for RES in 16 32 64; do for RES in 16 32 64; do
install -Dpm 644 etc/mpv-icon-8bit-${RES}x${RES}.png %{buildroot}%{_datadir}/icons/hicolor/${RES}x${RES}/apps/%{name}.png install -Dpm 644 etc/mpv-icon-8bit-${RES}x${RES}.png %{buildroot}%{_datadir}/icons/hicolor/${RES}x${RES}/apps/%{name}.png
done done
%post %post
update-desktop-database &>/dev/null || : update-desktop-database &>/dev/null || :
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
@ -113,6 +113,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
%config(noreplace) %{_sysconfdir}/%{name}/input.conf %config(noreplace) %{_sysconfdir}/%{name}/input.conf
%changelog %changelog
* Wed Jan 01 2014 Miro Hrončok <mhroncok@redhat.com> - 0.3.0-2
- Use upstream .desktop file
* Wed Jan 01 2014 Miro Hrončok <mhroncok@redhat.com> - 0.3.0-1 * Wed Jan 01 2014 Miro Hrončok <mhroncok@redhat.com> - 0.3.0-1
- New version 0.3.0 - New version 0.3.0
- Switch to waf - Switch to waf

Loading…
Cancel
Save