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