1 Summary: A vi-like PDF reader
2 Summary(hu.UTF-8): Egy vi-szerű PDF olvasó
3 Summary(pl.UTF-8): Czytnik PDF podobny do vi
8 Group: Applications/Text
9 Source0: http://pwmt.org/projects/zathura/download/%{name}-%{version}.tar.xz
10 # Source0-md5: ddc915b8d3e5217bf404cd4b5f20265d
12 Patch0: %{name}-hicolor_svg.patch
13 URL: http://pwmt.org/projects/zathura
14 BuildRequires: cairo-devel
16 BuildRequires: gcc >= 6:4.7
17 BuildRequires: girara-devel >= 0.3.2
18 BuildRequires: glib2-devel >= 1:2.50.0
19 BuildRequires: gtk+3-devel >= 3.22
20 BuildRequires: intltool
21 BuildRequires: libmagic-devel
22 BuildRequires: libseccomp-devel
23 BuildRequires: meson >= 0.47
25 BuildRequires: pkgconfig
26 BuildRequires: python-docutils
27 BuildRequires: rpmbuild(macros) >= 1.727
28 BuildRequires: sqlite3-devel >= 3.5.9
29 BuildRequires: synctex-devel >= 1.19
30 Requires(post,postun): gtk-update-icon-cache
31 Requires: girara >= 0.3.2
32 Requires: glib2 >= 1:2.50.0
33 Requires: gtk+3 >= 3.22
34 Requires: hicolor-icon-theme
35 Requires: sqlite3 >= 3.5.9
36 Requires: synctex >= 1.19
37 Suggests: zathura-pdf-poppler
38 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
41 zathura is a highly customizable and functional PDF viewer based on
42 the poppler rendering library and the GTK+ toolkit. The idea behind
43 zathura is an application that provides a minimalistic and space
44 saving interface as well as an easy usage that mainly focuses on
47 %description -l hu.UTF-8
48 zathura egy magas szinten konfigurálható és funkcionális PDF olvasó a
49 poppler és GTK+ könyvtárako alapulva. A zathura célja, hogy egy olyan
50 alkalmazás legyen, amely minimalista és terület-takarékos felületet
51 biztosítson, amennyire lehet, és könnyen lehessen használni, főleg
52 billentyűzet segítségével.
54 %description -l pl.UTF-8
55 zathura jest wysoko konfigurowalnym i funkcjonalnym czytnikiem PDF
56 opartym na bibliotece renderującej poppler i zestawie narzędziowym
57 GTK+. zathura jest aplikacją, która udostępnia minimalistyczny i nie
58 zajmujący dużo miejsca interfejs, który jednocześnie jest prosty w
59 użyciu. Interfejs skupia się głównie na interakcji klawiaturowej.
62 Summary: Header files for zathura
63 Summary(pl.UTF-8): Pliki nagłówkowe aplikacji zathura
64 Group: Development/Libraries
65 # doesn't require base
68 Header files for zathura.
70 %description devel -l pl.UTF-8
71 Pliki nagłówkowe aplikacji zathura.
73 %package -n bash-completion-zathura
74 Summary: Bash completion for zathura command line
75 Summary(pl.UTF-8): Bashowe dopełnianie linii poleceń programu zathura
76 Group: Applications/Shells
77 Requires: %{name} = %{version}-%{release}
78 Requires: bash-completion >= 2.0
80 %description -n bash-completion-zathura
81 Bash completion for zathura command line.
83 %description -n bash-completion-zathura -l pl.UTF-8
84 Bashowe dopełnianie linii poleceń programu zathura.
86 %package -n zsh-completion-zathura
87 Summary: ZSH completion for zathura command line
88 Summary(pl.UTF-8): Dopełnianie linii poleceń programu zathura dla powłoki ZSH
89 Group: Applications/Shells
90 Requires: %{name} = %{version}-%{release}
93 %description -n zsh-completion-zathura
94 ZSH completion for zathura command line.
96 %description -n zsh-completion-zathura -l pl.UTF-8
97 Dopełnianie linii poleceń programu zathura dla powłoki ZSH.
102 cp %{SOURCE1} config.txt
107 %meson_build -C build
110 rm -rf $RPM_BUILD_ROOT
112 install -d $RPM_BUILD_ROOT%{_libdir}/%{name}
114 %meson_install -C build
116 %{__mv} $RPM_BUILD_ROOT%{_localedir}/id_ID $RPM_BUILD_ROOT%{_localedir}/id
117 %{__mv} $RPM_BUILD_ROOT%{_localedir}/no $RPM_BUILD_ROOT%{_localedir}/nb
118 %{__mv} $RPM_BUILD_ROOT%{_localedir}/ta_IN $RPM_BUILD_ROOT%{_localedir}/ta
119 %{__mv} $RPM_BUILD_ROOT%{_localedir}/uk_UA $RPM_BUILD_ROOT%{_localedir}/uk
121 # adapt to PLD location
122 install -d $RPM_BUILD_ROOT%{zsh_compdir}
123 %{__mv} $RPM_BUILD_ROOT%{_datadir}/zsh/vendor-completions/_zathura $RPM_BUILD_ROOT%{zsh_compdir}
128 rm -rf $RPM_BUILD_ROOT
131 %update_icon_cache hicolor
134 %update_icon_cache hicolor
136 %files -f %{name}.lang
137 %defattr(644,root,root,755)
138 %doc LICENSE README config.txt
139 %attr(755,root,root) %{_bindir}/zathura
140 %{_desktopdir}/org.pwmt.zathura.desktop
141 %{_datadir}/metainfo/org.pwmt.zathura.appdata.xml
142 %{_datadir}/dbus-1/interfaces/org.pwmt.zathura.xml
143 %{_iconsdir}/hicolor/*/apps/org.pwmt.zathura.png
144 %{_iconsdir}/hicolor/scalable/apps/org.pwmt.zathura.svg
145 %{_mandir}/man1/zathura.1*
146 %{_mandir}/man5/zathurarc.5*
147 %dir %{_libdir}/zathura
150 %defattr(644,root,root,755)
151 %{_includedir}/zathura
152 %{_pkgconfigdir}/zathura.pc
154 %files -n bash-completion-zathura
155 %defattr(644,root,root,755)
156 %{bash_compdir}/zathura
158 %files -n zsh-completion-zathura
159 %defattr(644,root,root,755)
160 %{zsh_compdir}/_zathura