]> git.pld-linux.org Git - packages/zathura-pdf-mupdf.git/blob - zathura-pdf-mupdf.spec
- new
[packages/zathura-pdf-mupdf.git] / zathura-pdf-mupdf.spec
1 Summary:        mupdf based PDF plugin for zathura
2 Name:           zathura-pdf-mupdf
3 Version:        0.2.7
4 Release:        1
5 License:        BSD-like
6 Group:          Applications/Publishing
7 Source0:        https://pwmt.org/projects/zathura/plugins/download/%{name}-%{version}.tar.gz
8 # Source0-md5:  b89b45289c8ec77854de4afc149cd1a4
9 URL:            https://pwmt.org/projects/zathura-pdf-mupdf/
10 BuildRequires:  girara-devel >= 0.2.3
11 BuildRequires:  gtk+3-devel >= 3.2
12 BuildRequires:  jbig2dec-devel
13 BuildRequires:  libjpeg-devel
14 BuildRequires:  openjpeg2-devel
15 BuildRequires:  pkgconfig
16 BuildRequires:  mujs-devel
17 BuildRequires:  mupdf-devel
18 BuildRequires:  openssl-devel
19 BuildRequires:  zathura-devel >= 0.2.0
20 Requires:       zathura >= 0.2.0
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 The zathura-pdf-mupdf plugin adds PDF support to zathura by using
25 the mupdf rendering engine.
26
27 %prep
28 %setup -q
29
30 %build
31 CFLAGS="%{rpmcflags}" \
32 LDFLAGS="%{rpmldflags}" \
33 %{__make} VERBOSE=1
34
35 %install
36 rm -rf $RPM_BUILD_ROOT
37
38 %{__make} install \
39         DESTDIR=$RPM_BUILD_ROOT \
40         LIBDIR=%{_libdir}
41
42 %clean
43 rm -rf $RPM_BUILD_ROOT
44
45 %files
46 %defattr(644,root,root,755)
47 %doc AUTHORS LICENSE
48 %attr(755,root,root) %{_libdir}/zathura/pdf.so
49 %{_desktopdir}/%{name}.desktop
This page took 0.098555 seconds and 3 git commands to generate.