Summary: Simple and lightweight PDF viewer Name: epdfview Version: 0.1.7 Release: %mkrel 2 Group: Office License: GPLv2+ URL: http://trac.emma-soft.com/epdfview/ Source: http://trac.emma-soft.com/epdfview/chrome/site/releases/%{name}-%{version}.tar.bz2 Patch2: epdfview-0.1.6-format_not_a_string_literal_and_no_format_arguments.patch BuildRequires: libpoppler-glib-devel BuildRequires: libcups-devel BuildRequires: bison BuildRequires: cppunit-devel BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot %description ePDFView is a free lightweight PDF document viewer using Poppler and GTK+ libraries.The aim of ePDFView is to make a simple PDF document viewer, in the lines of Evince but without using the Gnome libraries. %prep %setup -q %patch2 -p1 %build %configure2_5x \ --disable-rpath \ --with-cups %make %install %makeinstall_std # (tpg) move icons to the right place for i in 24 32 48;do mkdir -p %{buildroot}%{_iconsdir}/hicolor/"$i"x"$i"/apps cp %{buildroot}%{_datadir}/%{name}/pixmaps/icon_epdfview-$i.png %{buildroot}%{_iconsdir}/hicolor/"$i"x"$i"/apps/%{name}.png; done sed -i -e 's/^Icon=icon_epdfview-48$/Icon=%{name}/g' %{buildroot}%{_datadir}/applications/* %find_lang %{name} %clean rm -rf %{buildroot} %if %mdkversion < 200900 %post %{update_menus} %{update_desktop_database} %update_icon_cache hicolor %endif %if %mdkversion < 200900 %postun %{clean_menus} %{clean_desktop_database} %clean_icon_cache hicolor %endif %files -f %{name}.lang %defattr (-,root,root) %dir %{_datadir}/%{name} %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/%{name}/* %{_iconsdir}/hicolor/*/apps/* %changelog * Sat Mar 07 2009 Tomasz Pawel Gajc <tpg@mandriva.org> 0.1.7-2mdv2009.0 + Revision: 351898 - fix missing icon (mdvbz #48511) * Tue Mar 03 2009 Tomasz Pawel Gajc <tpg@mandriva.org> 0.1.7-1mdv2009.1 + Revision: 348103 - update to the new version 0.1.7 - drop patches 0 and 1, merged upstream - fix missing icons - correct icon name in desktop file * Wed Feb 11 2009 Tomasz Pawel Gajc <tpg@mandriva.org> 0.1.6-7mdv2009.1 + Revision: 339502 - Patch2: fix building with -Werror=format-security - add buildrequires on bison and cppunit-devel * Fri Jul 04 2008 Tomasz Pawel Gajc <tpg@mandriva.org> 0.1.6-6mdv2009.0 + Revision: 231862 - move icons to the right place - fix icon name in menu entry - run scriplets for mdv < 2009.0 * Sun Jun 15 2008 Tomasz Pawel Gajc <tpg@mandriva.org> 0.1.6-5mdv2009.0 + Revision: 219295 - Patch1: fix compilation - rebuild for new poppler * Fri Mar 28 2008 Tomasz Pawel Gajc <tpg@mandriva.org> 0.1.6-4mdv2008.1 + Revision: 190802 - Patch0: fix printing of documents, patch from upstream svn (mdv bug #39332) * Thu Feb 14 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.1.6-3mdv2008.1 + Revision: 168491 - rebuild - fix summary * Tue Jan 22 2008 Funda Wang <fundawang@mandriva.org> 0.1.6-2mdv2008.1 + Revision: 156326 - fix URL and tarball URL + Olivier Blin <oblin@mandriva.com> - restore BuildRoot + Thierry Vignaud <tvignaud@mandriva.com> - kill re-definition of %%buildroot on Pixel's request * Sun Sep 09 2007 Tomasz Pawel Gajc <tpg@mandriva.org> 0.1.6-1mdv2008.0 + Revision: 83497 - Import epdfview