Hello community, here is the log from the commit of package xfmpc for openSUSE:Factory checked in at 2012-04-18 16:30:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/xfmpc (Old) and /work/SRC/openSUSE:Factory/.xfmpc.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xfmpc", Maintainer is "" Changes: -------- --- /work/SRC/openSUSE:Factory/xfmpc/xfmpc.changes 2011-10-28 15:30:14.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.xfmpc.new/xfmpc.changes 2012-04-18 16:30:09.000000000 +0200 @@ -1,0 +2,6 @@ +Tue Apr 3 12:13:07 UTC 2012 - g...@opensuse.org + +- specfile cleanup +- split off -lang subpackage + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xfmpc.spec ++++++ --- /var/tmp/diff_new_pack.bTHFIk/_old 2012-04-18 16:30:10.000000000 +0200 +++ /var/tmp/diff_new_pack.bTHFIk/_new 2012-04-18 16:30:10.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package xfmpc # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,23 +16,24 @@ # - Name: xfmpc Version: 0.2.2 Release: 0 +Summary: Lightweight MPD Client for the Xfce Desktop Environment License: GPL-2.0+ -Summary: Lightweight MPD client for Xfce -Url: http://goodies.xfce.org/projects/applications/xfmpc/ Group: Productivity/Multimedia/Sound/Players -Source: http://goodies.xfce.org/releases/xfmpc/%{name}-%{version}.tar.bz2 +Url: http://goodies.xfce.org/projects/applications/xfmpc +Source: http://archive.xfce.org/src/apps/xfmpc/0.2/%{name}-%{version}.tar.bz2 Source1: xfmpc.png +BuildRequires: ed BuildRequires: intltool -BuildRequires: perl-XML-Parser -BuildRequires: pkgconfig(libmpd) +BuildRequires: update-desktop-files +BuildRequires: pkgconfig(gthread-2.0) BuildRequires: pkgconfig(gtk+-2.0) +BuildRequires: pkgconfig(libmpd) BuildRequires: pkgconfig(libxfce4ui-1) BuildRequires: pkgconfig(libxfce4util-1.0) -BuildRequires: update-desktop-files +Recommends: %{name}-lang = %{version} Suggests: mpd BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -40,9 +41,15 @@ Xfmpc is a lightweight Music Player Daemon (MPD) client application for the Xfce desktop environment. +%lang_package + %prep %setup -q -sed -i 's:^Icon=stock_volume$:Icon=xfmpc:' xfmpc.desktop.in +ed -s xfmpc.desktop.in 2>/dev/null <<'EOF' +,s/^Icon=stock_volume/Icon=xfmpc/ +w +EOF +cat xfmpc.desktop.in %build %configure @@ -50,24 +57,24 @@ %install %make_install +install -D -m 0644 -p %{SOURCE1} %{buildroot}%{_datadir}/pixmaps/%{name}.png + %suse_update_desktop_file %{name} -install -D -m 0644 %{SOURCE1} %{buildroot}%{_datadir}/pixmaps/%{name}.png + rm -rf %{buildroot}%{_datadir}/locale/{ast,kk,tl_PH,ur_PK} -%find_lang %{name} + +%find_lang %{name} %{?no_lang_C} %clean rm -rf %{buildroot} -%if 0%{?suse_version} >= 1140 - %post %desktop_database_post %postun %desktop_database_postun -%endif -%files -f %{name}.lang +%files %defattr(-,root,root) %doc AUTHORS COPYING ChangeLog* IDEAS NEWS README THANKS %{_bindir}/xfmpc @@ -75,4 +82,6 @@ %{_datadir}/applications/%{name}.desktop %{_datadir}/pixmaps/%{name}.png +%files lang -f %{name}.lang + %changelog -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org