]> git.pld-linux.org Git - packages/epdfview.git/blame - epdfview.spec
- notice poppler-0.16.patch removal in previous commit
[packages/epdfview.git] / epdfview.spec
CommitLineData
403daad9 1Summary: A lightweight PDF viewer for GNOME
2Summary(pl.UTF-8): Lekka przeglądarka PDF-ów dla GNOME
3Name: epdfview
b6686e89 4Version: 0.1.8
5Release: 1
c06303c4 6License: GPL v2+
403daad9 7Group: X11/Applications
8Source0: http://trac.emma-soft.com/epdfview/chrome/site/releases/%{name}-%{version}.tar.bz2
b6686e89 9# Source0-md5: e50285b01612169b2594fea375f53ae4
145a52a3 10Patch0: %{name}-locale.patch
22270e3b 11Patch1: %{name}-desktop.patch
403daad9 12URL: http://trac.emma-soft.com/epdfview/
c06303c4 13BuildRequires: autoconf
14BuildRequires: automake
403daad9 15BuildRequires: cups-devel
16BuildRequires: gettext-devel
a3a69f4e 17BuildRequires: gtk+2-devel >= 2:2.6.0
403daad9 18BuildRequires: intltool
145a52a3 19BuildRequires: pkgconfig
403daad9 20BuildRequires: poppler-glib-devel > 0.5.2
403daad9 21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
24ePDFView is a free lightweight PDF document viewer using Poppler and
25GTK+ libraries.
26
27The aim of ePDFView is to make a simple PDF document viewer, in the
28lines of Evince but without using the GNOME libraries.
29
30%description -l pl.UTF-8
31ePDFView to darmowa, lekka przeglądarka dokumentów PDF, używająca
32bibliotek Poppler i GTK+.
33
34Celem ePDFView jest zrobienie prostej przeglądarki dokumentów PDF w
35stylu Evince, ale bez wykorzystywania bibliotek GNOME.
36
37%prep
38%setup -q
145a52a3 39%patch0 -p1
22270e3b 40%patch1 -p1
b6686e89 41
42# locales quick fix
145a52a3 43%{__mv} po/pt_PT.gmo po/pt.gmo
44%{__mv} po/pt_PT.po po/pt.po
b6686e89 45%{__mv} po/he_IL.gmo po/he.gmo
46%{__mv} po/he_IL.po po/he.po
47%{__mv} po/nl_NL.gmo po/nl.gmo
48%{__mv} po/nl_NL.po po/nl.po
403daad9 49
50%build
c06303c4 51%{__aclocal} -I m4
52%{__autoconf}
53%{__autoheader}
54%{__automake}
403daad9 55%configure
56%{__make}
57
58%install
59rm -rf $RPM_BUILD_ROOT
60
61%{__make} install \
62 DESTDIR=$RPM_BUILD_ROOT
63
64%find_lang %{name}
65
66%clean
67rm -rf $RPM_BUILD_ROOT
68
69%files -f %{name}.lang
70%defattr(644,root,root,755)
71%doc AUTHORS NEWS README THANKS
b6686e89 72%attr(755,root,root) %{_bindir}/epdfview
403daad9 73%{_desktopdir}/epdfview.desktop
74%{_datadir}/epdfview
b6686e89 75%{_mandir}/man1/epdfview.1*
This page took 0.141416 seconds and 4 git commands to generate.