up to 0.3.0
[packages/zathura-pdf-poppler.git] / zathura-pdf-poppler.spec
1 Summary:        poppler based PDF plugin for zathura
2 Summary(pl.UTF-8):      Wtyczka PDF do zathury oparta na bibliotece poppler
3 Name:           zathura-pdf-poppler
4 Version:        0.3.0
5 Release:        1
6 License:        BSD-like
7 Group:          Applications/Publishing
8 Source0:        https://pwmt.org/projects/zathura-pdf-poppler/download/%{name}-%{version}.tar.xz
9 # Source0-md5:  3d52abddb7b1a0cdd39689205c3cabed
10 URL:            https://pwmt.org/projects/zathura/zathura-pdf-poppler/
11 BuildRequires:  cairo-devel
12 # C11
13 BuildRequires:  gcc >= 6:4.7
14 BuildRequires:  girara-devel >= 0.1.8
15 BuildRequires:  gtk+3-devel >= 3.2
16 BuildRequires:  meson >= 0.43
17 BuildRequires:  ninja
18 BuildRequires:  pkgconfig
19 BuildRequires:  poppler-glib-devel >= 0.18
20 BuildRequires:  rpmbuild(macros) >= 1.727
21 BuildRequires:  zathura-devel >= 0.4.4
22 Requires(post,postun):  desktop-file-utils
23 Requires:       girara >= 0.1.8
24 Requires:       gtk+3 >= 3.2
25 Requires:       poppler-glib >= 0.18
26 Requires:       zathura >= 0.4.4
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %description
30 The zathura-pdf-poppler plugin adds PDF support to zathura by using
31 the poppler rendering engine.
32
33 %description -l pl.UTF-8
34 Wtyczka zathura-pdf-poppler dodaje obsługę PDF do zathury przez użycie
35 silnika renderującego poppler.
36
37 %prep
38 %setup -q
39
40 %build
41 %meson build
42
43 %meson_build -C build
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47
48 %meson_install -C build
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %post
54 %update_desktop_database_post
55
56 %postun
57 %update_desktop_database_postun
58
59 %files
60 %defattr(644,root,root,755)
61 %doc AUTHORS LICENSE README
62 %attr(755,root,root) %{_libdir}/zathura/libpdf-poppler.so
63 %{_desktopdir}/org.pwmt.zathura-pdf-poppler.desktop
64 %{_datadir}/metainfo/org.pwmt.zathura-pdf-poppler.metainfo.xml
This page took 0.079489 seconds and 4 git commands to generate.