]> git.pld-linux.org Git - packages/mupdf.git/commitdiff
up to 1.23.0 auto/th/mupdf-1.23.0-1
authorJan Palus <atler@pld-linux.org>
Sat, 26 Aug 2023 12:33:51 +0000 (14:33 +0200)
committerJan Palus <atler@pld-linux.org>
Sat, 26 Aug 2023 12:33:51 +0000 (14:33 +0200)
mupdf-flags.patch
mupdf.spec

index 5f70682967677f0bfdf7a78d16577710b920b408..c0809c7d0d3e8a1e5bc33d8b7a6b55793ad2b387 100644 (file)
@@ -4,10 +4,10 @@
    CFLAGS += -pipe -g
    LDFLAGS += -g
  else ifeq ($(build),release)
--  CFLAGS += -pipe -O2 -DNDEBUG -fomit-frame-pointer
+-  CFLAGS += -pipe -O2 -DNDEBUG
 -  LDFLAGS += $(LDREMOVEUNREACH) -Wl,-s
 +  CFLAGS += -DNDEBUG
 +  LDFLAGS += $(LDREMOVEUNREACH)
  else ifeq ($(build),small)
-   CFLAGS += -pipe -Os -DNDEBUG -fomit-frame-pointer
+   CFLAGS += -pipe -Os -DNDEBUG
    LDFLAGS += $(LDREMOVEUNREACH) -Wl,-s
index 8c003ffb6f670dbffcaa81e46f3a2212e18d3ec9..466fd0f065670dd150d502127b7e40ef5e3b23e2 100644 (file)
@@ -1,12 +1,12 @@
 Summary:       MuPDF - lightweight PDF, XPS and CBZ viewer and parser/rendering library
 Summary(pl.UTF-8):     MuPDF - lekka przeglÄ…darka PDF, XPS, CBZ
 Name:          mupdf
-Version:       1.22.2
+Version:       1.23.0
 Release:       1
 License:       AGPL v3+
 Group:         Applications/Text
 Source0:       https://www.mupdf.com/downloads/archive/%{name}-%{version}-source.tar.gz
-# Source0-md5: d37d404e28bdd8f43601d3bc20603d38
+# Source0-md5: 2d24237298fb5e28d0e1e65d0cb9591a
 Patch0:                %{name}-soname.patch
 Patch1:                %{name}-flags.patch
 URL:           https://www.mupdf.com/
@@ -23,6 +23,9 @@ BuildRequires:        mujs-devel >= 1.3.3
 BuildRequires: openjpeg2-devel >= 2.5.0
 BuildRequires: openssl-devel >= 1.1.0
 BuildRequires: pkgconfig
+BuildRequires: python3-furo
+BuildRequires: python3-rst2pdf
+BuildRequires: sphinx-pdg
 BuildRequires: xorg-lib-libX11-devel
 BuildRequires: xorg-lib-libXext-devel
 BuildRequires: zlib-devel >= 1.2.13
@@ -137,6 +140,8 @@ LDFLAGS="%{rpmldflags}" \
        libdir=%{_libdir} \
        verbose=yes
 
+sphinx-build -M html docs/src build/docs
+
 %install
 rm -rf $RPM_BUILD_ROOT
 
@@ -168,7 +173,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc CHANGES CONTRIBUTORS README docs/{index,manual*,thirdparty}.html
+%doc CHANGES CONTRIBUTORS README build/docs/html/{_images,_static,*.html,*.js}
 %attr(755,root,root) %{_bindir}/mupdf-gl
 %attr(755,root,root) %{_bindir}/mupdf-x11
 %attr(755,root,root) %{_bindir}/mupdf-x11-curl
This page took 0.261048 seconds and 4 git commands to generate.