- Remove the pdf build, it is same as manpage
- Switch to python3 subpkgs as we use python3 anyway (Fixes TW build) OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpv?expand=0&rev=95
This commit is contained in:
parent
0772c81ffe
commit
5d4f910c0a
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue May 2 14:02:12 UTC 2017 - tchvatal@suse.com
|
||||
|
||||
- Remove the pdf build, it is same as manpage
|
||||
- Switch to python3 subpkgs as we use python3 anyway (Fixes TW build)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Apr 23 15:42:03 UTC 2017 - aloisio@gmx.com
|
||||
|
||||
|
10
mpv.spec
10
mpv.spec
@ -48,7 +48,7 @@ BuildRequires: lua
|
||||
BuildRequires: ncurses-devel
|
||||
BuildRequires: perl
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: python-docutils
|
||||
BuildRequires: python3-docutils
|
||||
BuildRequires: update-desktop-files
|
||||
BuildRequires: yasm
|
||||
BuildRequires: pkgconfig(alsa)
|
||||
@ -102,10 +102,8 @@ Recommends: youtube-dl
|
||||
Provides: mplayer2 = 20140101
|
||||
Obsoletes: mplayer2 < 20140101
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
# PDF manual.
|
||||
# JIT for lua.
|
||||
%if 0%{?suse_version} > 1320
|
||||
BuildRequires: python-rst2pdf
|
||||
%ifarch aarch64 %{ix86} x86_64
|
||||
BuildRequires: pkgconfig(luajit)
|
||||
%endif
|
||||
@ -221,9 +219,6 @@ export CCFLAGS="%{optflags}"
|
||||
--enable-zsh-comp \
|
||||
--enable-manpage-build \
|
||||
--enable-libarchive \
|
||||
%if 0%{?suse_version} > 1320
|
||||
--enable-pdf-build \
|
||||
%endif
|
||||
${myopts}
|
||||
|
||||
./waf build --verbose %{?_smp_mflags}
|
||||
@ -256,9 +251,6 @@ install -D -m 0644 etc/mpv.conf %{buildroot}%{_sysconfdir}/%{name}/mpv.conf
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%if 0%{?suse_version} > 1320
|
||||
%doc build/DOCS/man/mpv.pdf
|
||||
%endif
|
||||
%doc Copyright LICENSE README.md RELEASE_NOTES
|
||||
%doc %{_defaultdocdir}/%{name}/input.conf
|
||||
%doc %{_defaultdocdir}/%{name}/mplayer-input.conf
|
||||
|
Loading…
Reference in New Issue
Block a user