]> git.pld-linux.org Git - packages/zathura.git/blame - zathura.spec
R: sqlite3-libs instead of sqlite3; rel 2
[packages/zathura.git] / zathura.spec
CommitLineData
c630abcc
JB
1Summary: A vi-like PDF reader
2Summary(hu.UTF-8): Egy vi-szerű PDF olvasó
3Summary(pl.UTF-8): Czytnik PDF podobny do vi
dfc03c50 4Name: zathura
758d5622 5Version: 0.4.8
e6028952 6Release: 2
dfc03c50 7License: BSD-like
975e5f20 8Group: Applications/Text
04ba2203 9Source0: https://git.pwmt.org/pwmt/zathura/-/archive/%{version}/zathura-%{version}.tar.gz
758d5622 10# Source0-md5: ea5457f064bdcfb1fda1f6f27bafbeb7
925a5534 11Source1: config.txt
dfc03c50 12URL: http://pwmt.org/projects/zathura
7f7492d4 13BuildRequires: cairo-devel
c630abcc
JB
14# C11
15BuildRequires: gcc >= 6:4.7
758d5622 16BuildRequires: girara-devel >= 0.3.6
4b4c7190 17BuildRequires: glib2-devel >= 1:2.50.0
7f7492d4 18BuildRequires: gtk+3-devel >= 3.22
b7b1f08f
JP
19BuildRequires: intltool
20BuildRequires: libmagic-devel
c630abcc 21BuildRequires: libseccomp-devel
8d028e3c 22BuildRequires: meson >= 0.47
7f7492d4 23BuildRequires: ninja
279a1385 24BuildRequires: pkgconfig
b7b1f08f 25BuildRequires: python-docutils
247896b8 26BuildRequires: rpmbuild(macros) >= 1.736
758d5622 27BuildRequires: sphinx-pdg
65614859 28BuildRequires: sqlite3-devel >= 3.5.9
3cd750b7 29BuildRequires: synctex-devel >= 1.19
7f7492d4 30Requires(post,postun): gtk-update-icon-cache
758d5622 31Requires: girara >= 0.3.6
4b4c7190 32Requires: glib2 >= 1:2.50.0
7f7492d4
JP
33Requires: gtk+3 >= 3.22
34Requires: hicolor-icon-theme
e6028952 35Requires: sqlite3-libs >= 3.5.9
3cd750b7 36Requires: synctex >= 1.19
65614859 37Suggests: zathura-pdf-poppler
dfc03c50 38BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
39
2f57504e 40%define fishdir %{_datadir}/fish/vendor_completions.d
04ba2203 41
dfc03c50 42%description
43zathura is a highly customizable and functional PDF viewer based on
c630abcc 44the poppler rendering library and the GTK+ toolkit. The idea behind
dfc03c50 45zathura is an application that provides a minimalistic and space
46saving interface as well as an easy usage that mainly focuses on
47keyboard interaction.
48
925a5534
ZU
49%description -l hu.UTF-8
50zathura egy magas szinten konfigurálható és funkcionális PDF olvasó a
c630abcc 51poppler és GTK+ könyvtárako alapulva. A zathura célja, hogy egy olyan
925a5534
ZU
52alkalmazás legyen, amely minimalista és terület-takarékos felületet
53biztosítson, amennyire lehet, és könnyen lehessen használni, főleg
54billentyűzet segítségével.
55
ed957218 56%description -l pl.UTF-8
c630abcc 57zathura jest wysoko konfigurowalnym i funkcjonalnym czytnikiem PDF
ed957218 58opartym na bibliotece renderującej poppler i zestawie narzędziowym
c630abcc 59GTK+. zathura jest aplikacją, która udostępnia minimalistyczny i nie
ed957218 60zajmujący dużo miejsca interfejs, który jednocześnie jest prosty w
61użyciu. Interfejs skupia się głównie na interakcji klawiaturowej.
62
65614859
JP
63%package devel
64Summary: Header files for zathura
c630abcc 65Summary(pl.UTF-8): Pliki nagłówkowe aplikacji zathura
65614859 66Group: Development/Libraries
c630abcc 67# doesn't require base
758d5622 68Requires: girara-devel >= 0.3.6
65614859
JP
69
70%description devel
71Header files for zathura.
72
c630abcc
JB
73%description devel -l pl.UTF-8
74Pliki nagłówkowe aplikacji zathura.
75
76%package -n bash-completion-zathura
77Summary: Bash completion for zathura command line
78Summary(pl.UTF-8): Bashowe dopełnianie linii poleceń programu zathura
79Group: Applications/Shells
80Requires: %{name} = %{version}-%{release}
81Requires: bash-completion >= 2.0
04ba2203 82BuildArch: noarch
c630abcc
JB
83
84%description -n bash-completion-zathura
85Bash completion for zathura command line.
86
87%description -n bash-completion-zathura -l pl.UTF-8
88Bashowe dopełnianie linii poleceń programu zathura.
89
04ba2203
JP
90%package -n fish-completion-zathura
91Summary: fish-completion for zathura
92Summary(pl.UTF-8): Uzupełnianie nazw w fish dla zathura
93Group: Applications/Shells
94Requires: %{name} = %{version}-%{release}
95Requires: fish
04ba2203 96BuildArch: noarch
04ba2203
JP
97
98%description -n fish-completion-zathura
99fish-completion for zathura.
100
101%description -n fish-completion-zathura -l pl.UTF-8
102Pakiet ten dostarcza uzupełnianie nazw w fish dla zathura.
103
c630abcc
JB
104%package -n zsh-completion-zathura
105Summary: ZSH completion for zathura command line
106Summary(pl.UTF-8): Dopełnianie linii poleceń programu zathura dla powłoki ZSH
107Group: Applications/Shells
108Requires: %{name} = %{version}-%{release}
109Requires: zsh
04ba2203 110BuildArch: noarch
c630abcc
JB
111
112%description -n zsh-completion-zathura
113ZSH completion for zathura command line.
114
115%description -n zsh-completion-zathura -l pl.UTF-8
116Dopełnianie linii poleceń programu zathura dla powłoki ZSH.
117
dfc03c50 118%prep
119%setup -q
925a5534 120cp %{SOURCE1} config.txt
dfc03c50 121
122%build
7f7492d4 123%meson build
c630abcc 124
247896b8 125%ninja_build -C build
dfc03c50 126
127%install
128rm -rf $RPM_BUILD_ROOT
034746f6 129
fc2f5ee7 130install -d $RPM_BUILD_ROOT%{_libdir}/%{name}
65614859 131
247896b8 132%ninja_install -C build
65614859 133
7f7492d4 134%{__mv} $RPM_BUILD_ROOT%{_localedir}/id_ID $RPM_BUILD_ROOT%{_localedir}/id
b7b1f08f 135%{__mv} $RPM_BUILD_ROOT%{_localedir}/no $RPM_BUILD_ROOT%{_localedir}/nb
65614859
JP
136%{__mv} $RPM_BUILD_ROOT%{_localedir}/ta_IN $RPM_BUILD_ROOT%{_localedir}/ta
137%{__mv} $RPM_BUILD_ROOT%{_localedir}/uk_UA $RPM_BUILD_ROOT%{_localedir}/uk
138
139%find_lang %{name}
dfc03c50 140
141%clean
142rm -rf $RPM_BUILD_ROOT
143
7f7492d4
JP
144%post
145%update_icon_cache hicolor
146
147%postun
148%update_icon_cache hicolor
149
65614859 150%files -f %{name}.lang
dfc03c50 151%defattr(644,root,root,755)
2f57504e 152%doc LICENSE README.md config.txt
dfc03c50 153%attr(755,root,root) %{_bindir}/zathura
7f7492d4
JP
154%{_desktopdir}/org.pwmt.zathura.desktop
155%{_datadir}/metainfo/org.pwmt.zathura.appdata.xml
b7b1f08f 156%{_datadir}/dbus-1/interfaces/org.pwmt.zathura.xml
7f7492d4 157%{_iconsdir}/hicolor/*/apps/org.pwmt.zathura.png
8d028e3c 158%{_iconsdir}/hicolor/scalable/apps/org.pwmt.zathura.svg
dfc03c50 159%{_mandir}/man1/zathura.1*
e170c822 160%{_mandir}/man5/zathurarc.5*
305de361 161%dir %{_libdir}/zathura
65614859
JP
162
163%files devel
164%defattr(644,root,root,755)
165%{_includedir}/zathura
166%{_pkgconfigdir}/zathura.pc
c630abcc
JB
167
168%files -n bash-completion-zathura
169%defattr(644,root,root,755)
170%{bash_compdir}/zathura
171
04ba2203
JP
172%files -n fish-completion-zathura
173%defattr(644,root,root,755)
174%{fishdir}/zathura.fish
175
c630abcc
JB
176%files -n zsh-completion-zathura
177%defattr(644,root,root,755)
178%{zsh_compdir}/_zathura
This page took 0.143672 seconds and 4 git commands to generate.