SHA256
1
0
forked from pool/mupdf

Accepting request 345176 from Publishing

- Ship mupdf-x11-curl as default mupdf. Drop non-curl version.
- Drop mujstest as it seems to be a test utility.

OBS-URL: https://build.opensuse.org/request/show/345176
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mupdf?expand=0&rev=16
This commit is contained in:
Stephan Kulow 2015-11-24 21:30:41 +00:00 committed by Git OBS Bridge
commit 8bf9c15ff2
2 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Nov 19 10:06:56 UTC 2015 - idonmez@suse.com
- Ship mupdf-x11-curl as default mupdf. Drop non-curl version.
- Drop mujstest as it seems to be a test utility.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Nov 12 13:02:09 UTC 2015 - idonmez@suse.com Thu Nov 12 13:02:09 UTC 2015 - idonmez@suse.com

View File

@ -85,13 +85,15 @@ make %{?_smp_mflags} \
NOCURL= \ NOCURL= \
CURL_CFLAGS="$(pkg-config --libs libcurl)" \ CURL_CFLAGS="$(pkg-config --libs libcurl)" \
CURL_LIBS=" -pthread $(pkg-config --libs libcurl)" \ CURL_LIBS=" -pthread $(pkg-config --libs libcurl)" \
HAVE_GLFW=no V=1 HAVE_GLFW=no
%install %install
%make_install build=release prefix=%{_prefix} libdir=%{_libdir} %make_install build=release prefix=%{_prefix} libdir=%{_libdir}
mv %{buildroot}%{_bindir}/mupdf-x11 %{buildroot}%{_bindir}/mupdf mv %{buildroot}%{_bindir}/mupdf-x11-curl %{buildroot}%{_bindir}/mupdf
rm %{buildroot}%{_bindir}/mujstest
rm %{buildroot}%{_bindir}/mupdf-x11
rm -rf %{buildroot}%{_datadir}/doc/ rm -rf %{buildroot}%{_datadir}/doc/
chmod 0644 %{buildroot}%{_includedir}/mupdf/*.h \ chmod 0644 %{buildroot}%{_includedir}/mupdf/*.h \
@ -116,9 +118,7 @@ install -D -p -m 644 %{SOURCE2} \
%doc CHANGES COPYING README docs/naming.txt docs/overview.txt %doc CHANGES COPYING README docs/naming.txt docs/overview.txt
%doc docs/progressive.txt docs/refcount.txt docs/examples/ %doc docs/progressive.txt docs/refcount.txt docs/examples/
%{_bindir}/mupdf %{_bindir}/mupdf
%{_bindir}/mupdf-x11-curl
%{_bindir}/mutool %{_bindir}/mutool
%{_bindir}/mujstest
%{_datadir}/applications/mupdf.desktop %{_datadir}/applications/mupdf.desktop
%{_datadir}/pixmaps/mupdf.png %{_datadir}/pixmaps/mupdf.png
%{_mandir}/man1/mu*.1* %{_mandir}/man1/mu*.1*