1 |
Name: zathura-pdf-poppler |
%define _disable_ld_no_undefined %nil |
2 |
Version: 0.2.3 |
|
3 |
Release: 2%{?dist} |
Name: zathura-pdf-poppler |
4 |
Summary: PDF support for zathura via poppler |
Version: 0.2.3 |
5 |
Group: Applications/Publishing |
Release: %mkrel 1 |
6 |
License: zlib |
Summary: PDF support for zathura via poppler |
7 |
URL: http://pwmt.org/projects/zathura/plugins/%{name} |
Group: Publishing |
8 |
Source0: http://pwmt.org/projects/zathura/plugins/download/%{name}-%{version}.tar.gz |
License: zlib |
9 |
Requires: zathura |
URL: http://pwmt.org/projects/zathura/plugins/%{name} |
10 |
BuildRequires: poppler-glib-devel |
Source0: http://pwmt.org/projects/zathura/plugins/download/%{name}-%{version}.tar.gz |
11 |
BuildRequires: zathura-devel >= 0.2.3 |
Requires: zathura |
12 |
|
BuildRequires: pkgconfig(zathura) >= 0.2.3 |
13 |
|
BuildRequires: pkgconfig(poppler-glib) |
14 |
|
|
15 |
%description |
%description |
16 |
The zathura-pdf-poppler plugin adds PDF support to zathura by using |
The zathura-pdf-poppler plugin adds PDF support to zathura by using |
18 |
|
|
19 |
%prep |
%prep |
20 |
%setup -q |
%setup -q |
21 |
|
|
22 |
# Don't rebuild during install phase |
# Don't rebuild during install phase |
23 |
sed -i 's/^install:\s*all/install:/' Makefile |
sed -i 's/^install:\s*all/install:/' Makefile |
24 |
|
|
25 |
%build |
%build |
26 |
CFLAGS='%{optflags}' make %{?_smp_mflags} LIBDIR=%{_libdir} debug |
%setup_compile_flags |
27 |
|
%make \ |
28 |
|
DFLAGS= \ |
29 |
|
LIBDIR=%{_libdir} \ |
30 |
|
VERBOSE=1 \ |
31 |
|
debug |
32 |
|
|
33 |
mv pdf-debug.so pdf.so |
mv pdf-debug.so pdf.so |
34 |
|
|
35 |
%install |
%install |
36 |
make DESTDIR=%{buildroot} LIBDIR=%{_libdir} install |
%makeinstall_std \ |
37 |
|
LIBDIR=%{_libdir} \ |
38 |
|
VERBOSE=1 |
39 |
|
|
40 |
%files |
%files |
41 |
%doc AUTHORS LICENSE |
%doc AUTHORS LICENSE |
42 |
%{_libdir}/zathura/pdf.so |
%{_libdir}/zathura/pdf.so |
43 |
%{_datadir}/applications/%{name}.desktop |
%{_datadir}/applications/%{name}.desktop |
|
|
|