]> git.pld-linux.org Git - packages/epdfview.git/blob - epdfview.spec
fb776d29e760c56d332de69c755074083a0eb67d
[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.8
5 Release:        1
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:  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 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 ePDFView is a free lightweight PDF document viewer using Poppler and
25 GTK+ libraries.
26
27 The aim of ePDFView is to make a simple PDF document viewer, in the
28 lines of Evince but without using the GNOME libraries.
29
30 %description -l pl.UTF-8
31 ePDFView to darmowa, lekka przeglądarka dokumentów PDF, używająca
32 bibliotek Poppler i GTK+.
33
34 Celem ePDFView jest zrobienie prostej przeglądarki dokumentów PDF w
35 stylu 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
59 rm -rf $RPM_BUILD_ROOT
60
61 %{__make} install \
62         DESTDIR=$RPM_BUILD_ROOT
63
64 %find_lang %{name}
65
66 %clean
67 rm -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.06586 seconds and 3 git commands to generate.