Hello community, here is the log from the commit of package epdfview for openSUSE:Factory checked in at 2012-04-12 09:21:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/epdfview (Old) and /work/SRC/openSUSE:Factory/.epdfview.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "epdfview", Maintainer is "" Changes: -------- --- /work/SRC/openSUSE:Factory/epdfview/epdfview.changes 2012-01-19 16:54:49.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.epdfview.new/epdfview.changes 2012-04-12 09:21:49.000000000 +0200 @@ -1,0 +2,8 @@ +Sat Mar 31 12:50:27 UTC 2012 - gber@opensuse.org + +- split off -lang subpackage +- specfile cleanup +- drop epdfview-0.1.7-desktop.patch and edit the desktop file in + place + +------------------------------------------------------------------- Old: ---- epdfview-0.1.7-desktop.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ epdfview.spec ++++++ --- /var/tmp/diff_new_pack.w0vWQt/_old 2012-04-12 09:21:50.000000000 +0200 +++ /var/tmp/diff_new_pack.w0vWQt/_new 2012-04-12 09:21:50.000000000 +0200 @@ -15,15 +15,15 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: epdfview Version: 0.1.8 Release: 0 -Summary: Lightweight PDF document viewer +Summary: Lightweight PDF Document Viewer License: GPL-2.0+ Group: Productivity/Office/Other Url: http://trac.emma-soft.com/epdfview Source: http://trac.emma-soft.com/epdfview/chrome/site/releases/%{name}-%{version}.tar.bz2 -Patch0: %{name}-0.1.7-desktop.patch # PATCH-FEATURE-OPENSUSE epdfview-change-quit-shortcut.patch ro@suse.de -- Changes the quit shortcut from ctrl+w to ctrl+q Patch1: epdfview-change-quit-shortcut.patch # PATCH-FIX-UPSTREAM epdfview-fix-missing-return-value.patch ro@suse.de -- Fixes a missing return value in a non-void function @@ -34,12 +34,16 @@ Patch4: epdfview-fix-glib-include.patch BuildRequires: automake BuildRequires: cups-devel +BuildRequires: ed BuildRequires: gcc-c++ BuildRequires: hicolor-icon-theme -BuildRequires: libpoppler-glib-devel BuildRequires: update-desktop-files -BuildRequires: pkgconfig(glib-2.0) +BuildRequires: pkgconfig(gdk-2.0) +BuildRequires: pkgconfig(gthread-2.0) BuildRequires: pkgconfig(gtk+-2.0) +BuildRequires: pkgconfig(pango) +BuildRequires: pkgconfig(poppler-glib) +Recommends: %{name}-lang = %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -47,13 +51,18 @@ The aim of ePDFView is to make a simple PDF document viewer, in the lines of Evince but without using the Gnome libraries. +%lang_package + %prep %setup -q -%patch0 %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 +ed -s "data/epdfview.desktop" 2>/dev/null <<\EOF +,s/^Icon=icon_epdfview-48/Icon=epdfview/ +w +EOF %build touch ChangeLog @@ -63,7 +72,9 @@ %install %make_install + %suse_update_desktop_file %{name} + for size in 24 32 48; do install -d %{buildroot}%{_datadir}/icons/hicolor/${size}x${size}/apps/ ( @@ -72,9 +83,8 @@ epdfview.png ) done -%find_lang %{name} -%if 0%{?suse_version} >= 1140 +%find_lang %{name} %{?no_lang_C} %post %desktop_database_post @@ -83,9 +93,8 @@ %postun %desktop_database_postun %icon_theme_cache_postun -%endif -%files -f %{name}.lang +%files %defattr(-,root,root,-) %doc AUTHORS COPYING README NEWS THANKS %{_bindir}/%{name} @@ -96,4 +105,6 @@ %{_datadir}/icons/hicolor/*/*/%{name}.png %doc %{_mandir}/man1/epdfview.1* +%files lang -f %{name}.lang + %changelog -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org