]> git.pld-linux.org Git - packages/epdfview.git/blame_incremental - epdfview.spec
- notice poppler-0.16.patch removal in previous commit
[packages/epdfview.git] / epdfview.spec
... / ...
CommitLineData
1Summary: A lightweight PDF viewer for GNOME
2Summary(pl.UTF-8): Lekka przeglądarka PDF-ów dla GNOME
3Name: epdfview
4Version: 0.1.8
5Release: 1
6License: GPL v2+
7Group: X11/Applications
8Source0: http://trac.emma-soft.com/epdfview/chrome/site/releases/%{name}-%{version}.tar.bz2
9# Source0-md5: e50285b01612169b2594fea375f53ae4
10Patch0: %{name}-locale.patch
11Patch1: %{name}-desktop.patch
12URL: http://trac.emma-soft.com/epdfview/
13BuildRequires: autoconf
14BuildRequires: automake
15BuildRequires: cups-devel
16BuildRequires: gettext-devel
17BuildRequires: gtk+2-devel >= 2:2.6.0
18BuildRequires: intltool
19BuildRequires: pkgconfig
20BuildRequires: poppler-glib-devel > 0.5.2
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
39%patch0 -p1
40%patch1 -p1
41
42# locales quick fix
43%{__mv} po/pt_PT.gmo po/pt.gmo
44%{__mv} po/pt_PT.po po/pt.po
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
49
50%build
51%{__aclocal} -I m4
52%{__autoconf}
53%{__autoheader}
54%{__automake}
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
72%attr(755,root,root) %{_bindir}/epdfview
73%{_desktopdir}/epdfview.desktop
74%{_datadir}/epdfview
75%{_mandir}/man1/epdfview.1*
This page took 0.069399 seconds and 4 git commands to generate.