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