commit 79a79f2ba8dbe948e3cec54ca853b589c2a98596
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Tue Jun 28 04:37:18 2016 +0100
Update to 0.18.0
.gitignore | 1 +
mpv.spec | 33 ++++++++++++++++++---------------
sources | 2 +-
3 files changed, 20 insertions(+), 16 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index aff014c..a7d4f1e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
v0.14.0.tar.gz
+/v0.18.0.tar.gz
diff --git a/mpv.spec b/mpv.spec
index c3fcb4d..0f93627 100644
--- a/mpv.spec
+++ b/mpv.spec
@@ -1,5 +1,5 @@
Name: mpv
-Version: 0.17.0
+Version: 0.18.0
Release: 1%{?dist}
Summary: Movie player playing most video formats and DVDs
License: GPLv2+
@@ -86,15 +86,14 @@ Libmpv development header files and libraries.
%build
CCFLAGS="%{optflags}" \
waf configure \
- --prefix="%{_prefix}" \
- --bindir="%{_bindir}" \
- --libdir="%{_libdir}" \
- --mandir="%{_mandir}" \
- --docdir="%{_docdir}/%{name}" \
- --confdir="%{_sysconfdir}/%{name}" \
+ --prefix=%{_prefix} \
+ --bindir=%{_bindir} \
+ --libdir=%{_libdir} \
+ --mandir=%{_mandir} \
+ --docdir=%{_docdir}/%{name} \
+ --confdir=%{_sysconfdir}/%{name} \
--disable-build-date \
--enable-libmpv-shared \
- --enable-gpl3 \
--enable-sdl2 \
--enable-encoding
@@ -104,21 +103,21 @@ waf build %{?_smp_mflags}
waf install --destdir=%{buildroot}
desktop-file-install etc/mpv.desktop
-install -Dpm 644 README.md %{buildroot}%{_docdir}/%{name}/README.md
+install -Dpm 644 README.md etc/input.conf etc/mpv.conf -t %{buildroot}%{_docdir}/%{name}
%post
-update-desktop-database &>/dev/null || :
-touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
+/usr/bin/update-desktop-database &>/dev/null || :
+/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
%postun
-update-desktop-database &> /dev/null || :
+/usr/bin/update-desktop-database &> /dev/null || :
if [ $1 -eq 0 ] ; then
- touch --no-create %{_datadir}/icons/hicolor &>/dev/null
- gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor &>/dev/null || :
+ /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
+ /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi
%posttrans
-gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor &>/dev/null || :
+/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%post -n libmpv -p /sbin/ldconfig
@@ -136,6 +135,7 @@ gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
&>/dev/null || :
%config(noreplace) %{_sysconfdir}/%{name}/encoding-profiles.conf
%files -n libmpv
+%license LICENSE Copyright
%{_libdir}/libmpv.so.*
%files -n libmpv-devel
@@ -144,6 +144,9 @@ gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
&>/dev/null || :
%{_libdir}/pkgconfig/mpv.pc
%changelog
+* Tue Jun 28 2016 Sérgio Basto <sergio(a)serjux.com> - 0.18.0-1
+- Update to 0.18.0
+
* Mon Apr 11 2016 Evgeny Lensky <surfernsk(a)gmail.com> - 0.17.0-1
- update to 0.17.0
diff --git a/sources b/sources
index 9a09b5d..d8d047a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-6253da021af1fcc8c1998a190ac593cc v0.17.0.tar.gz
+d5bdc0751c4d1b5f8eaa9cb4762d5514 v0.18.0.tar.gz