]>
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 |
d6730e7d | 5 | Version: 0.3.6 |
e81b8526 | 6 | Release: 1 |
dfc03c50 | 7 | License: BSD-like |
8 | Group: Applications | |
de26b5c2 | 9 | Source0: http://pwmt.org/projects/zathura/download/%{name}-%{version}.tar.gz |
d6730e7d | 10 | # Source0-md5: b92bc15f684cdf5a82b6fdddd1275ea5 |
925a5534 | 11 | Source1: config.txt |
dfc03c50 | 12 | URL: http://pwmt.org/projects/zathura |
d6730e7d | 13 | BuildRequires: girara-devel >= 0.2.6 |
41c46f61 JP |
14 | BuildRequires: glib2-devel >= 1:2.32.0 |
15 | BuildRequires: gtk+3-devel >= 3.6 | |
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 | 62 | %{__make} \ |
c4aa1495 | 63 | COLOR=0 \ |
65614859 JP |
64 | VERBOSE=1 \ |
65 | LIBDIR=%{_libdir} | |
dfc03c50 | 66 | |
67 | %install | |
68 | rm -rf $RPM_BUILD_ROOT | |
034746f6 | 69 | |
65614859 JP |
70 | install -d $RPM_BUILD_ROOT%{_libdir}/%{name} |
71 | ||
dfc03c50 | 72 | %{__make} install \ |
65614859 JP |
73 | DESTDIR=$RPM_BUILD_ROOT \ |
74 | LIBDIR=%{_libdir} | |
75 | ||
b7b1f08f | 76 | %{__mv} $RPM_BUILD_ROOT%{_localedir}/no $RPM_BUILD_ROOT%{_localedir}/nb |
65614859 JP |
77 | %{__mv} $RPM_BUILD_ROOT%{_localedir}/ta_IN $RPM_BUILD_ROOT%{_localedir}/ta |
78 | %{__mv} $RPM_BUILD_ROOT%{_localedir}/uk_UA $RPM_BUILD_ROOT%{_localedir}/uk | |
79 | ||
80 | %find_lang %{name} | |
dfc03c50 | 81 | |
82 | %clean | |
83 | rm -rf $RPM_BUILD_ROOT | |
84 | ||
65614859 | 85 | %files -f %{name}.lang |
dfc03c50 | 86 | %defattr(644,root,root,755) |
925a5534 | 87 | %doc LICENSE README config.txt |
dfc03c50 | 88 | %attr(755,root,root) %{_bindir}/zathura |
e170c822 | 89 | %{_desktopdir}/%{name}.desktop |
c4aa1495 | 90 | %{_datadir}/appdata/zathura.appdata.xml |
b7b1f08f | 91 | %{_datadir}/dbus-1/interfaces/org.pwmt.zathura.xml |
dfc03c50 | 92 | %{_mandir}/man1/zathura.1* |
e170c822 | 93 | %{_mandir}/man5/zathurarc.5* |
305de361 | 94 | %dir %{_libdir}/zathura |
65614859 JP |
95 | |
96 | %files devel | |
97 | %defattr(644,root,root,755) | |
98 | %{_includedir}/zathura | |
99 | %{_pkgconfigdir}/zathura.pc |