* Wed Jun 10 2015 Miro Hrončok <mhroncok@redhat.com> - 0.9.2-1

- Updated to 0.9.2
- Also build the library
el8
churchyard 10 years ago
parent adbdf0f5ec
commit d020be4dc5

2
.gitignore vendored

@ -1 +1 @@
v0.9.1.tar.gz v0.9.2.tar.gz

@ -1,5 +1,5 @@
Name: mpv Name: mpv
Version: 0.9.1 Version: 0.9.2
Release: 1%{?dist} Release: 1%{?dist}
Summary: Movie player playing most video formats and DVDs Summary: Movie player playing most video formats and DVDs
License: GPLv2+ License: GPLv2+
@ -55,6 +55,20 @@ input URL types are available to read input from a variety of sources other
than disk files. Depending on platform, a variety of different video and audio than disk files. Depending on platform, a variety of different video and audio
output methods are supported. output methods are supported.
%package -n libmpv
Summary: Dynamic library for Mpv frontends
%description -n libmpv
This package contains the dynamic library libmpv, which provides access to Mpv.
%package -n libmpv-devel
Summary: Development package for libmpv
Requires: libmpv%{_isa} = %{version}-%{release}
Requires: pkgconfig
%description -n libmpv-devel
Libmpv development header files and libraries.
%prep %prep
%setup -q %setup -q
%patch0 -p1 %patch0 -p1
@ -69,12 +83,14 @@ CCFLAGS="%{optflags}" \
waf configure \ waf configure \
--prefix="%{_prefix}" \ --prefix="%{_prefix}" \
--bindir="%{_bindir}" \ --bindir="%{_bindir}" \
--libdir="%{_libdir}" \
--mandir="%{_mandir}" \ --mandir="%{_mandir}" \
--docdir="%{_docdir}/%{name}" \ --docdir="%{_docdir}/%{name}" \
--confdir="%{_sysconfdir}/%{name}" \ --confdir="%{_sysconfdir}/%{name}" \
--disable-sdl1 --disable-sdl2 \ --disable-sdl1 --disable-sdl2 \
--disable-build-date \ --disable-build-date \
--disable-debug --disable-debug \
--enable-libmpv-shared
waf build --verbose %{?_smp_mflags} waf build --verbose %{?_smp_mflags}
@ -108,6 +124,10 @@ fi
gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor &>/dev/null || : gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor &>/dev/null || :
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
%post -n libmpv -p /sbin/ldconfig
%postun -n libmpv -p /sbin/ldconfig
%files %files
%doc LICENSE README.md Copyright %doc LICENSE README.md Copyright
%{_bindir}/%{name} %{_bindir}/%{name}
@ -119,7 +139,20 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
%config(noreplace) %{_sysconfdir}/%{name}/encoding-profiles.conf %config(noreplace) %{_sysconfdir}/%{name}/encoding-profiles.conf
%config(noreplace) %{_sysconfdir}/%{name}/input.conf %config(noreplace) %{_sysconfdir}/%{name}/input.conf
%files -n libmpv
%doc LICENSE README.md Copyright
%{_libdir}/libmpv.so.*
%files -n libmpv-devel
%{_includedir}/%{name}
%{_libdir}/libmpv.so
%{_libdir}/pkgconfig/mpv.pc
%changelog %changelog
* Wed Jun 10 2015 Miro Hrončok <mhroncok@redhat.com> - 0.9.2-1
- Updated to 0.9.2
- Also build the library
* Sat May 16 2015 Miro Hrončok <mhroncok@redhat.com> - 0.9.1-1 * Sat May 16 2015 Miro Hrončok <mhroncok@redhat.com> - 0.9.1-1
- Update to 0.9.1 - Update to 0.9.1
- BR compat-lua-devel because mpv does not work with lua 5.3 - BR compat-lua-devel because mpv does not work with lua 5.3

@ -1 +1 @@
c766cf3d6a7eb82a74564c47fa14d4a5 v0.9.1.tar.gz ed1384e703f7032e531731842e4da4f7 v0.9.2.tar.gz

Loading…
Cancel
Save