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