]> git.pld-linux.org Git - packages/epdfview.git/blob - epdfview.spec
- updated gettext BR
[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:        4
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-tools
17 BuildRequires:  gtk+2-devel >= 2:2.6.0
18 BuildRequires:  intltool
19 BuildRequires:  pkgconfig
20 BuildRequires:  poppler-glib-devel > 0.5.2
21 Requires:       desktop-file-utils
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
43 # locales quick fix
44 %{__mv} po/pt_PT.gmo po/pt.gmo
45 %{__mv} po/pt_PT.po po/pt.po
46 %{__mv} po/he_IL.gmo po/he.gmo
47 %{__mv} po/he_IL.po po/he.po
48 %{__mv} po/nl_NL.gmo po/nl.gmo
49 %{__mv} po/nl_NL.po po/nl.po
50
51 %build
52 %{__aclocal} -I m4
53 %{__autoconf}
54 %{__autoheader}
55 %{__automake}
56 %configure
57 %{__make}
58
59 %install
60 rm -rf $RPM_BUILD_ROOT
61 %{__make} install \
62         DESTDIR=$RPM_BUILD_ROOT
63
64 install -d $RPM_BUILD_ROOT%{_pixmapsdir}
65 ln $RPM_BUILD_ROOT%{_datadir}/epdfview/pixmaps/icon_epdfview-48.png $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
66 %{__sed} -i -e 's,Icon=icon_epdfview-48,Icon=%{name},' $RPM_BUILD_ROOT%{_desktopdir}/epdfview.desktop
67
68 %find_lang %{name}
69
70 %clean
71 rm -rf $RPM_BUILD_ROOT
72
73 %post
74 %update_desktop_database
75
76 %files -f %{name}.lang
77 %defattr(644,root,root,755)
78 %doc AUTHORS NEWS README THANKS
79 %attr(755,root,root) %{_bindir}/epdfview
80 %{_mandir}/man1/epdfview.1*
81 %{_datadir}/epdfview
82 %{_desktopdir}/epdfview.desktop
83 %{_pixmapsdir}/epdfview.png
This page took 0.052862 seconds and 4 git commands to generate.