1 Summary: A lightweight PDF viewer for GNOME
2 Summary(pl.UTF-8): Lekka przeglądarka PDF-ów dla GNOME
7 Group: X11/Applications
8 Source0: http://trac.emma-soft.com/epdfview/chrome/site/releases/%{name}-%{version}.tar.bz2
9 # Source0-md5: e50285b01612169b2594fea375f53ae4
10 Patch0: %{name}-locale.patch
11 Patch1: %{name}-desktop.patch
12 URL: http://trac.emma-soft.com/epdfview/
13 BuildRequires: autoconf
14 BuildRequires: automake
15 BuildRequires: cups-devel
16 BuildRequires: gettext-devel
17 BuildRequires: gtk+2-devel >= 2:2.6.0
18 BuildRequires: intltool
19 BuildRequires: pkgconfig
20 BuildRequires: poppler-glib-devel > 0.5.2
21 Requires: desktop-file-utils
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 ePDFView is a free lightweight PDF document viewer using Poppler and
28 The aim of ePDFView is to make a simple PDF document viewer, in the
29 lines of Evince but without using the GNOME libraries.
31 %description -l pl.UTF-8
32 ePDFView to darmowa, lekka przeglądarka dokumentów PDF, używająca
33 bibliotek Poppler i GTK+.
35 Celem ePDFView jest zrobienie prostej przeglądarki dokumentów PDF w
36 stylu Evince, ale bez wykorzystywania bibliotek GNOME.
44 %{__mv} po/pt_PT.gmo po/pt.gmo
45 %{__mv} po/pt_PT.po po/pt.po
46 %{__mv} po/he_IL.gmo po/he.gmo
47 %{__mv} po/he_IL.po po/he.po
48 %{__mv} po/nl_NL.gmo po/nl.gmo
49 %{__mv} po/nl_NL.po po/nl.po
60 rm -rf $RPM_BUILD_ROOT
62 DESTDIR=$RPM_BUILD_ROOT
64 install -d $RPM_BUILD_ROOT%{_pixmapsdir}
65 ln $RPM_BUILD_ROOT%{_datadir}/epdfview/pixmaps/icon_epdfview-48.png $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
66 %{__sed} -i -e 's,Icon=icon_epdfview-48,Icon=%{name},' $RPM_BUILD_ROOT%{_desktopdir}/epdfview.desktop
71 rm -rf $RPM_BUILD_ROOT
74 %update_desktop_database
76 %files -f %{name}.lang
77 %defattr(644,root,root,755)
78 %doc AUTHORS NEWS README THANKS
79 %attr(755,root,root) %{_bindir}/epdfview
80 %{_mandir}/man1/epdfview.1*
82 %{_desktopdir}/epdfview.desktop
83 %{_pixmapsdir}/epdfview.png