Install mupdf-gl
This commit is contained in:
parent
902e4b5291
commit
a4812e4ec4
@ -1,6 +1,6 @@
|
|||||||
Name: mupdf
|
Name: mupdf
|
||||||
Version: 1.11
|
Version: 1.11
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: A lightweight PDF viewer and toolkit
|
Summary: A lightweight PDF viewer and toolkit
|
||||||
Group: Applications/Publishing
|
Group: Applications/Publishing
|
||||||
License: GPLv3
|
License: GPLv3
|
||||||
@ -50,7 +50,7 @@ export XCFLAGS="%{optflags} -fPIC -DJBIG_NO_MEMENTO -DTOFU -DTOFU_CJK"
|
|||||||
|
|
||||||
make %{?_smp_mflags} build=debug verbose=yes HAVE_GLFW=yes SYS_GLFW_CFLAGS="-I%{_includedir}/GL -I%{_includedir}/GLFW" GLFW_LIBS="-lGL -lglfw"
|
make %{?_smp_mflags} build=debug verbose=yes HAVE_GLFW=yes SYS_GLFW_CFLAGS="-I%{_includedir}/GL -I%{_includedir}/GLFW" GLFW_LIBS="-lGL -lglfw"
|
||||||
%install
|
%install
|
||||||
make DESTDIR=%{buildroot} install prefix=%{_prefix} libdir=%{_libdir} build=debug verbose=yes
|
make DESTDIR=%{buildroot} install prefix=%{_prefix} libdir=%{_libdir} build=debug verbose=yes HAVE_GLFW=yes
|
||||||
## handle docs on our own
|
## handle docs on our own
|
||||||
rm -rf %{buildroot}/%{_docdir}
|
rm -rf %{buildroot}/%{_docdir}
|
||||||
desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{SOURCE1}
|
desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{SOURCE1}
|
||||||
@ -81,7 +81,7 @@ update-desktop-database &> /dev/null || :
|
|||||||
%{_libdir}/lib%{name}*.a
|
%{_libdir}/lib%{name}*.a
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri Apr 14 2017 Pavel Zhukov <landgraf@fedoraproject.org> - 1.11-2
|
* Fri Apr 14 2017 Pavel Zhukov <landgraf@fedoraproject.org> - 1.11-3
|
||||||
- Fix mupdf-gl build (#1442384)
|
- Fix mupdf-gl build (#1442384)
|
||||||
|
|
||||||
* Tue Apr 11 2017 Pavel Zhukov <landgraf@fedoraproject.org> - 1.11-1
|
* Tue Apr 11 2017 Pavel Zhukov <landgraf@fedoraproject.org> - 1.11-1
|
||||||
|
Loading…
Reference in New Issue
Block a user