[packages/zathura-pdf-mupdf] - new
atler
atler at pld-linux.org
Sun Nov 30 11:43:06 CET 2014
commit 1758d4ab3a78573fcb29ce1b3d9138a29f94a3fc
Author: Jan Palus <atler at pld-linux.org>
Date: Sun Nov 30 11:42:46 2014 +0100
- new
zathura-pdf-mupdf.spec | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+)
---
diff --git a/zathura-pdf-mupdf.spec b/zathura-pdf-mupdf.spec
new file mode 100644
index 0000000..71edce7
--- /dev/null
+++ b/zathura-pdf-mupdf.spec
@@ -0,0 +1,49 @@
+Summary: mupdf based PDF plugin for zathura
+Name: zathura-pdf-mupdf
+Version: 0.2.7
+Release: 1
+License: BSD-like
+Group: Applications/Publishing
+Source0: https://pwmt.org/projects/zathura/plugins/download/%{name}-%{version}.tar.gz
+# Source0-md5: b89b45289c8ec77854de4afc149cd1a4
+URL: https://pwmt.org/projects/zathura-pdf-mupdf/
+BuildRequires: girara-devel >= 0.2.3
+BuildRequires: gtk+3-devel >= 3.2
+BuildRequires: jbig2dec-devel
+BuildRequires: libjpeg-devel
+BuildRequires: openjpeg2-devel
+BuildRequires: pkgconfig
+BuildRequires: mujs-devel
+BuildRequires: mupdf-devel
+BuildRequires: openssl-devel
+BuildRequires: zathura-devel >= 0.2.0
+Requires: zathura >= 0.2.0
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The zathura-pdf-mupdf plugin adds PDF support to zathura by using
+the mupdf rendering engine.
+
+%prep
+%setup -q
+
+%build
+CFLAGS="%{rpmcflags}" \
+LDFLAGS="%{rpmldflags}" \
+%{__make} VERBOSE=1
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT \
+ LIBDIR=%{_libdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS LICENSE
+%attr(755,root,root) %{_libdir}/zathura/pdf.so
+%{_desktopdir}/%{name}.desktop
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/zathura-pdf-mupdf.git/commitdiff/1758d4ab3a78573fcb29ce1b3d9138a29f94a3fc
More information about the pld-cvs-commit
mailing list