]> git.pld-linux.org Git - packages/epdfview.git/blame - epdfview.spec
- release 3
[packages/epdfview.git] / epdfview.spec
CommitLineData
403daad9 1Summary: A lightweight PDF viewer for GNOME
2Summary(pl.UTF-8): Lekka przeglądarka PDF-ów dla GNOME
3Name: epdfview
b6686e89 4Version: 0.1.8
4e5f4151 5Release: 3
c06303c4 6License: GPL v2+
403daad9 7Group: X11/Applications
8Source0: http://trac.emma-soft.com/epdfview/chrome/site/releases/%{name}-%{version}.tar.bz2
b6686e89 9# Source0-md5: e50285b01612169b2594fea375f53ae4
145a52a3 10Patch0: %{name}-locale.patch
22270e3b 11Patch1: %{name}-desktop.patch
403daad9 12URL: http://trac.emma-soft.com/epdfview/
c06303c4 13BuildRequires: autoconf
14BuildRequires: automake
403daad9 15BuildRequires: cups-devel
16BuildRequires: gettext-devel
a3a69f4e 17BuildRequires: gtk+2-devel >= 2:2.6.0
403daad9 18BuildRequires: intltool
145a52a3 19BuildRequires: pkgconfig
403daad9 20BuildRequires: poppler-glib-devel > 0.5.2
d84158da 21Requires: desktop-file-utils
403daad9 22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
25ePDFView is a free lightweight PDF document viewer using Poppler and
26GTK+ libraries.
27
28The aim of ePDFView is to make a simple PDF document viewer, in the
29lines of Evince but without using the GNOME libraries.
30
31%description -l pl.UTF-8
32ePDFView to darmowa, lekka przeglądarka dokumentów PDF, używająca
33bibliotek Poppler i GTK+.
34
35Celem ePDFView jest zrobienie prostej przeglądarki dokumentów PDF w
36stylu Evince, ale bez wykorzystywania bibliotek GNOME.
37
38%prep
39%setup -q
145a52a3 40%patch0 -p1
22270e3b 41%patch1 -p1
b6686e89 42
43# locales quick fix
145a52a3 44%{__mv} po/pt_PT.gmo po/pt.gmo
45%{__mv} po/pt_PT.po po/pt.po
b6686e89 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
403daad9 50
51%build
c06303c4 52%{__aclocal} -I m4
53%{__autoconf}
54%{__autoheader}
55%{__automake}
403daad9 56%configure
57%{__make}
58
59%install
60rm -rf $RPM_BUILD_ROOT
403daad9 61%{__make} install \
62 DESTDIR=$RPM_BUILD_ROOT
63
d84158da
ER
64install -d $RPM_BUILD_ROOT%{_pixmapsdir}
65ln $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
403daad9 68%find_lang %{name}
69
70%clean
71rm -rf $RPM_BUILD_ROOT
72
d84158da
ER
73%post
74%update_desktop_database
75
403daad9 76%files -f %{name}.lang
77%defattr(644,root,root,755)
78%doc AUTHORS NEWS README THANKS
b6686e89 79%attr(755,root,root) %{_bindir}/epdfview
b6686e89 80%{_mandir}/man1/epdfview.1*
d84158da
ER
81%{_datadir}/epdfview
82%{_desktopdir}/epdfview.desktop
83%{_pixmapsdir}/epdfview.png
This page took 0.070574 seconds and 4 git commands to generate.