]>
Commit | Line | Data |
---|---|---|
dfc03c50 | 1 | Summary: A vi-like pdf reader |
925a5534 | 2 | Summary(hu.UTF-8): Egy vi-szerű pdf olvasó |
ed957218 | 3 | Summary(pl.UTF-8): Czytnik pdf podobny do vi |
dfc03c50 | 4 | Name: zathura |
de26b5c2 | 5 | Version: 0.2.9 |
e81b8526 | 6 | Release: 1 |
dfc03c50 | 7 | License: BSD-like |
8 | Group: Applications | |
de26b5c2 JP |
9 | Source0: http://pwmt.org/projects/zathura/download/%{name}-%{version}.tar.gz |
10 | # Source0-md5: afc56f9df7677215ea10b92239611faa | |
925a5534 | 11 | Source1: config.txt |
dfc03c50 | 12 | URL: http://pwmt.org/projects/zathura |
de26b5c2 | 13 | BuildRequires: girara-devel >= 0.2.2 |
b7b1f08f | 14 | BuildRequires: glib2-devel >= 1:2.28.0 |
e81b8526 | 15 | BuildRequires: gtk+3-devel |
b7b1f08f JP |
16 | BuildRequires: intltool |
17 | BuildRequires: libmagic-devel | |
279a1385 | 18 | BuildRequires: pkgconfig |
b7b1f08f | 19 | BuildRequires: python-docutils |
65614859 | 20 | BuildRequires: sqlite3-devel >= 3.5.9 |
de26b5c2 | 21 | BuildRequires: zlib-devel |
65614859 | 22 | Suggests: zathura-pdf-poppler |
dfc03c50 | 23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
24 | ||
25 | %description | |
26 | zathura is a highly customizable and functional PDF viewer based on | |
27 | the poppler rendering library and the gtk+ toolkit. The idea behind | |
28 | zathura is an application that provides a minimalistic and space | |
29 | saving interface as well as an easy usage that mainly focuses on | |
30 | keyboard interaction. | |
31 | ||
925a5534 ZU |
32 | %description -l hu.UTF-8 |
33 | zathura egy magas szinten konfigurálható és funkcionális PDF olvasó a | |
34 | poppler és gtk+ könyvtárako alapulva. A zathura célja, hogy egy olyan | |
35 | alkalmazás legyen, amely minimalista és terület-takarékos felületet | |
36 | biztosítson, amennyire lehet, és könnyen lehessen használni, főleg | |
37 | billentyűzet segítségével. | |
38 | ||
ed957218 | 39 | %description -l pl.UTF-8 |
40 | zathura jest wysoko konfigurowalnym i funkcjonalnym wyświetlaczem PDF | |
41 | opartym na bibliotece renderującej poppler i zestawie narzędziowym | |
42 | gtk+. zathura jest aplikacją, która udostępnia minimalistyczny i nie | |
43 | zajmujący dużo miejsca interfejs, który jednocześnie jest prosty w | |
44 | użyciu. Interfejs skupia się głównie na interakcji klawiaturowej. | |
45 | ||
65614859 JP |
46 | %package devel |
47 | Summary: Header files for zathura | |
48 | Group: Development/Libraries | |
49 | Requires: %{name} = %{version}-%{release} | |
50 | ||
51 | %description devel | |
52 | Header files for zathura. | |
53 | ||
dfc03c50 | 54 | %prep |
55 | %setup -q | |
925a5534 | 56 | cp %{SOURCE1} config.txt |
6e662f3c | 57 | %{__mv} po/id_ID.po po/id.po |
dfc03c50 | 58 | |
59 | %build | |
60 | CFLAGS="%{rpmcflags}" \ | |
61 | LDFLAGS="%{rpmldflags}" \ | |
65614859 JP |
62 | %{__make} \ |
63 | VERBOSE=1 \ | |
64 | LIBDIR=%{_libdir} | |
dfc03c50 | 65 | |
66 | %install | |
67 | rm -rf $RPM_BUILD_ROOT | |
034746f6 | 68 | |
65614859 JP |
69 | install -d $RPM_BUILD_ROOT%{_libdir}/%{name} |
70 | ||
dfc03c50 | 71 | %{__make} install \ |
65614859 JP |
72 | DESTDIR=$RPM_BUILD_ROOT \ |
73 | LIBDIR=%{_libdir} | |
74 | ||
b7b1f08f | 75 | %{__mv} $RPM_BUILD_ROOT%{_localedir}/no $RPM_BUILD_ROOT%{_localedir}/nb |
65614859 JP |
76 | %{__mv} $RPM_BUILD_ROOT%{_localedir}/ta_IN $RPM_BUILD_ROOT%{_localedir}/ta |
77 | %{__mv} $RPM_BUILD_ROOT%{_localedir}/uk_UA $RPM_BUILD_ROOT%{_localedir}/uk | |
78 | ||
79 | %find_lang %{name} | |
dfc03c50 | 80 | |
81 | %clean | |
82 | rm -rf $RPM_BUILD_ROOT | |
83 | ||
65614859 | 84 | %files -f %{name}.lang |
dfc03c50 | 85 | %defattr(644,root,root,755) |
925a5534 | 86 | %doc LICENSE README config.txt |
dfc03c50 | 87 | %attr(755,root,root) %{_bindir}/zathura |
e170c822 | 88 | %{_desktopdir}/%{name}.desktop |
b7b1f08f | 89 | %{_datadir}/dbus-1/interfaces/org.pwmt.zathura.xml |
dfc03c50 | 90 | %{_mandir}/man1/zathura.1* |
e170c822 | 91 | %{_mandir}/man5/zathurarc.5* |
305de361 | 92 | %dir %{_libdir}/zathura |
65614859 JP |
93 | |
94 | %files devel | |
95 | %defattr(644,root,root,755) | |
96 | %{_includedir}/zathura | |
97 | %{_pkgconfigdir}/zathura.pc |