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