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