Author: churchyard
Update of /cvs/free/rpms/mpv/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv13639
Modified Files:
.cvsignore mpv.spec sources
Log Message:
* Wed Jun 10 2015 Miro Hrončok <mhroncok(a)redhat.com> - 0.9.2-1
- Updated to 0.9.2
- Also build the library
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/mpv/devel/.cvsignore,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- .cvsignore 16 May 2015 00:30:45 -0000 1.17
+++ .cvsignore 10 Jun 2015 14:36:32 -0000 1.18
@@ -1 +1 @@
-v0.9.1.tar.gz
+v0.9.2.tar.gz
Index: mpv.spec
===================================================================
RCS file: /cvs/free/rpms/mpv/devel/mpv.spec,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -r1.41 -r1.42
--- mpv.spec 16 May 2015 00:30:45 -0000 1.41
+++ mpv.spec 10 Jun 2015 14:36:33 -0000 1.42
@@ -1,5 +1,5 @@
Name: mpv
-Version: 0.9.1
+Version: 0.9.2
Release: 1%{?dist}
Summary: Movie player playing most video formats and DVDs
License: GPLv2+
@@ -55,6 +55,20 @@
than disk files. Depending on platform, a variety of different video and audio
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
%setup -q
%patch0 -p1
@@ -69,12 +83,14 @@
waf configure \
--prefix="%{_prefix}" \
--bindir="%{_bindir}" \
+ --libdir="%{_libdir}" \
--mandir="%{_mandir}" \
--docdir="%{_docdir}/%{name}" \
--confdir="%{_sysconfdir}/%{name}" \
--disable-sdl1 --disable-sdl2 \
--disable-build-date \
- --disable-debug
+ --disable-debug \
+ --enable-libmpv-shared
waf build --verbose %{?_smp_mflags}
@@ -108,6 +124,10 @@
gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor &>/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
%doc LICENSE README.md Copyright
%{_bindir}/%{name}
@@ -119,7 +139,20 @@
%config(noreplace) %{_sysconfdir}/%{name}/encoding-profiles.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
+* Wed Jun 10 2015 Miro Hrončok <mhroncok(a)redhat.com> - 0.9.2-1
+- Updated to 0.9.2
+- Also build the library
+
* Sat May 16 2015 Miro Hrončok <mhroncok(a)redhat.com> - 0.9.1-1
- Update to 0.9.1
- BR compat-lua-devel because mpv does not work with lua 5.3
Index: sources
===================================================================
RCS file: /cvs/free/rpms/mpv/devel/sources,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- sources 16 May 2015 00:30:45 -0000 1.17
+++ sources 10 Jun 2015 14:36:33 -0000 1.18
@@ -1 +1 @@
-c766cf3d6a7eb82a74564c47fa14d4a5 v0.9.1.tar.gz
+ed1384e703f7032e531731842e4da4f7 v0.9.2.tar.gz