- new
authorJan Palus <atler@pld-linux.org>
Sun, 30 Nov 2014 10:42:46 +0000 (11:42 +0100)
committerJan Palus <atler@pld-linux.org>
Sun, 30 Nov 2014 10:42:46 +0000 (11:42 +0100)
zathura-pdf-mupdf.spec [new file with mode: 0644]

diff --git a/zathura-pdf-mupdf.spec b/zathura-pdf-mupdf.spec
new file mode 100644 (file)
index 0000000..71edce7
--- /dev/null
@@ -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
This page took 0.28952 seconds and 4 git commands to generate.