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