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: https://git.pwmt.org/pwmt/zathura/-/archive/%{version}/zathura-%{version}.tar.gz
10 # Source0-md5: ebff8233b2e588def137a33a632b1c91
12 URL: http://pwmt.org/projects/zathura
13 BuildRequires: cairo-devel
15 BuildRequires: gcc >= 6:4.7
16 BuildRequires: girara-devel >= 0.3.7
17 BuildRequires: glib2-devel >= 1:2.50.0
18 BuildRequires: gtk+3-devel >= 3.22
19 BuildRequires: intltool
20 BuildRequires: libmagic-devel
21 # rsvg-convert for png icons
22 BuildRequires: librsvg
23 BuildRequires: libseccomp-devel
24 BuildRequires: meson >= 0.56
26 BuildRequires: pkgconfig
27 BuildRequires: python-docutils
28 BuildRequires: rpm-build >= 4.6
29 BuildRequires: rpmbuild(macros) >= 1.736
30 BuildRequires: sphinx-pdg
31 BuildRequires: sqlite3-devel >= 3.5.9
32 BuildRequires: synctex-devel >= 1.19
33 Requires(post,postun): gtk-update-icon-cache
34 Requires: girara >= 0.3.7
35 Requires: glib2 >= 1:2.50.0
36 Requires: gtk+3 >= 3.22
37 Requires: hicolor-icon-theme
38 Requires: sqlite3-libs >= 3.5.9
39 Requires: synctex >= 1.19
40 Suggests: zathura-pdf-poppler
41 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
43 %define fishdir %{_datadir}/fish/vendor_completions.d
46 zathura is a highly customizable and functional PDF viewer based on
47 the poppler rendering library and the GTK+ toolkit. The idea behind
48 zathura is an application that provides a minimalistic and space
49 saving interface as well as an easy usage that mainly focuses on
52 %description -l hu.UTF-8
53 zathura egy magas szinten konfigurálható és funkcionális PDF olvasó a
54 poppler és GTK+ könyvtárako alapulva. A zathura célja, hogy egy olyan
55 alkalmazás legyen, amely minimalista és terület-takarékos felületet
56 biztosítson, amennyire lehet, és könnyen lehessen használni, főleg
57 billentyűzet segítségével.
59 %description -l pl.UTF-8
60 zathura jest wysoko konfigurowalnym i funkcjonalnym czytnikiem PDF
61 opartym na bibliotece renderującej poppler i zestawie narzędziowym
62 GTK+. zathura jest aplikacją, która udostępnia minimalistyczny i nie
63 zajmujący dużo miejsca interfejs, który jednocześnie jest prosty w
64 użyciu. Interfejs skupia się głównie na interakcji klawiaturowej.
67 Summary: Header files for zathura
68 Summary(pl.UTF-8): Pliki nagłówkowe aplikacji zathura
69 Group: Development/Libraries
70 # doesn't require base
71 Requires: girara-devel >= 0.3.7
74 Header files for zathura.
76 %description devel -l pl.UTF-8
77 Pliki nagłówkowe aplikacji zathura.
79 %package -n bash-completion-zathura
80 Summary: Bash completion for zathura command line
81 Summary(pl.UTF-8): Bashowe dopełnianie linii poleceń programu zathura
82 Group: Applications/Shells
83 Requires: %{name} = %{version}-%{release}
84 Requires: bash-completion >= 1:2.0
87 %description -n bash-completion-zathura
88 Bash completion for zathura command line.
90 %description -n bash-completion-zathura -l pl.UTF-8
91 Bashowe dopełnianie linii poleceń programu zathura.
93 %package -n fish-completion-zathura
94 Summary: fish-completion for zathura
95 Summary(pl.UTF-8): Uzupełnianie nazw w fish dla zathura
96 Group: Applications/Shells
97 Requires: %{name} = %{version}-%{release}
101 %description -n fish-completion-zathura
102 fish-completion for zathura.
104 %description -n fish-completion-zathura -l pl.UTF-8
105 Pakiet ten dostarcza uzupełnianie nazw w fish dla zathura.
107 %package -n zsh-completion-zathura
108 Summary: ZSH completion for zathura command line
109 Summary(pl.UTF-8): Dopełnianie linii poleceń programu zathura dla powłoki ZSH
110 Group: Applications/Shells
111 Requires: %{name} = %{version}-%{release}
115 %description -n zsh-completion-zathura
116 ZSH completion for zathura command line.
118 %description -n zsh-completion-zathura -l pl.UTF-8
119 Dopełnianie linii poleceń programu zathura dla powłoki ZSH.
123 cp %{SOURCE1} config.txt
128 %ninja_build -C build
131 rm -rf $RPM_BUILD_ROOT
133 install -d $RPM_BUILD_ROOT%{_libdir}/%{name}
135 %ninja_install -C build
137 %{__mv} $RPM_BUILD_ROOT%{_localedir}/id_ID $RPM_BUILD_ROOT%{_localedir}/id
138 %{__mv} $RPM_BUILD_ROOT%{_localedir}/no $RPM_BUILD_ROOT%{_localedir}/nb
139 %{__mv} $RPM_BUILD_ROOT%{_localedir}/ta_IN $RPM_BUILD_ROOT%{_localedir}/ta
140 %{__mv} $RPM_BUILD_ROOT%{_localedir}/uk_UA $RPM_BUILD_ROOT%{_localedir}/uk
145 rm -rf $RPM_BUILD_ROOT
148 %update_icon_cache hicolor
151 %update_icon_cache hicolor
153 %files -f %{name}.lang
154 %defattr(644,root,root,755)
155 %doc LICENSE README.md config.txt
156 %attr(755,root,root) %{_bindir}/zathura
157 %{_desktopdir}/org.pwmt.zathura.desktop
158 %{_datadir}/metainfo/org.pwmt.zathura.appdata.xml
159 %{_datadir}/dbus-1/interfaces/org.pwmt.zathura.xml
160 %{_iconsdir}/hicolor/*x*/apps/org.pwmt.zathura.png
161 %{_iconsdir}/hicolor/scalable/apps/org.pwmt.zathura.svg
162 %{_mandir}/man1/zathura.1*
163 %{_mandir}/man5/zathurarc.5*
164 %dir %{_libdir}/zathura
167 %defattr(644,root,root,755)
168 %{_includedir}/zathura
169 %{_pkgconfigdir}/zathura.pc
171 %files -n bash-completion-zathura
172 %defattr(644,root,root,755)
173 %{bash_compdir}/zathura
175 %files -n fish-completion-zathura
176 %defattr(644,root,root,755)
177 %{fishdir}/zathura.fish
179 %files -n zsh-completion-zathura
180 %defattr(644,root,root,755)
181 %{zsh_compdir}/_zathura