]>
Commit | Line | Data |
---|---|---|
403daad9 | 1 | Summary: A lightweight PDF viewer for GNOME |
2 | Summary(pl.UTF-8): Lekka przeglądarka PDF-ów dla GNOME | |
3 | Name: epdfview | |
3822c4ec | 4 | Version: 0.1.7 |
1a2399ef | 5 | Release: 4 |
403daad9 | 6 | License: GPL v2 |
7 | Group: X11/Applications | |
8 | Source0: http://trac.emma-soft.com/epdfview/chrome/site/releases/%{name}-%{version}.tar.bz2 | |
3822c4ec | 9 | # Source0-md5: 1919bb19c16ef0a97d48b0a8303d3c7b |
145a52a3 | 10 | Patch0: %{name}-locale.patch |
22270e3b | 11 | Patch1: %{name}-desktop.patch |
403daad9 | 12 | URL: http://trac.emma-soft.com/epdfview/ |
13 | BuildRequires: cups-devel | |
14 | BuildRequires: gettext-devel | |
a3a69f4e | 15 | BuildRequires: gtk+2-devel >= 2:2.6.0 |
403daad9 | 16 | BuildRequires: intltool |
145a52a3 | 17 | BuildRequires: pkgconfig |
403daad9 | 18 | BuildRequires: poppler-glib-devel > 0.5.2 |
403daad9 | 19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
20 | ||
21 | %description | |
22 | ePDFView is a free lightweight PDF document viewer using Poppler and | |
23 | GTK+ libraries. | |
24 | ||
25 | The aim of ePDFView is to make a simple PDF document viewer, in the | |
26 | lines of Evince but without using the GNOME libraries. | |
27 | ||
28 | %description -l pl.UTF-8 | |
29 | ePDFView to darmowa, lekka przeglądarka dokumentów PDF, używająca | |
30 | bibliotek Poppler i GTK+. | |
31 | ||
32 | Celem ePDFView jest zrobienie prostej przeglądarki dokumentów PDF w | |
33 | stylu Evince, ale bez wykorzystywania bibliotek GNOME. | |
34 | ||
35 | %prep | |
36 | %setup -q | |
145a52a3 | 37 | %patch0 -p1 |
22270e3b | 38 | %patch1 -p1 |
145a52a3 | 39 | # pt_PT locale quick fix |
40 | %{__mv} po/pt_PT.gmo po/pt.gmo | |
41 | %{__mv} po/pt_PT.po po/pt.po | |
403daad9 | 42 | |
43 | %build | |
44 | %configure | |
45 | %{__make} | |
46 | ||
47 | %install | |
48 | rm -rf $RPM_BUILD_ROOT | |
49 | ||
50 | %{__make} install \ | |
51 | DESTDIR=$RPM_BUILD_ROOT | |
52 | ||
53 | %find_lang %{name} | |
54 | ||
55 | %clean | |
56 | rm -rf $RPM_BUILD_ROOT | |
57 | ||
58 | %files -f %{name}.lang | |
59 | %defattr(644,root,root,755) | |
60 | %doc AUTHORS NEWS README THANKS | |
61 | %attr(755,root,root) %{_bindir}/* | |
62 | %{_desktopdir}/epdfview.desktop | |
63 | %{_datadir}/epdfview |