Hello community, here is the log from the commit of package whaawmp for openSUSE:Factory checked in at 2012-04-12 09:55:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/whaawmp (Old) and /work/SRC/openSUSE:Factory/.whaawmp.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "whaawmp", Maintainer is "" Changes: -------- --- /work/SRC/openSUSE:Factory/whaawmp/whaawmp.changes 2011-09-23 12:50:34.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.whaawmp.new/whaawmp.changes 2012-04-12 09:56:00.000000000 +0200 @@ -1,0 +2,8 @@ +Mon Apr 2 14:14:34 UTC 2012 - gber@opensuse.org + +- specfile cleanup +- correct dependencies +- added whaawmp-rpmlintrc +- split off -lang subpackage + +------------------------------------------------------------------- Old: ---- whaawmp-desktop.patch New: ---- whaawmp-rpmlintrc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ whaawmp.spec ++++++ --- /var/tmp/diff_new_pack.kQJEK6/_old 2012-04-12 09:56:01.000000000 +0200 +++ /var/tmp/diff_new_pack.kQJEK6/_new 2012-04-12 09:56:01.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package whaawmp # -# 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,62 +16,73 @@ # - Name: whaawmp Version: 0.2.14 -Release: 1 +Release: 0 +Summary: Minimalistic Media Player License: GPL-3.0+ -Summary: Minimalistic media player -Url: http://home.gna.org/whaawmp Group: Productivity/Multimedia/Video/Players -Source: http://download.gna.org/%{name}/%{version}/%{name}-%{version}.tar.bz2 -Patch0: %{name}-desktop.patch +Url: http://home.gna.org/whaawmp +Source0: http://download.gna.org/%{name}/%{version}/%{name}-%{version}.tar.bz2 +Source100: %{name}-rpmlintrc +BuildRequires: ed +BuildRequires: fdupes BuildRequires: intltool -BuildRequires: python +BuildRequires: python-base BuildRequires: update-desktop-files -BuildRequires: fdupes -Requires: gstreamer-0_10-plugins-good +Requires: gstreamer010 +Requires: gstreamer010-plugins-base +Requires: gstreamer010-plugins-good Requires: python-gstreamer-0_10 Requires: python-gtk Requires: python-xdg +Recommends: %{name}-lang = %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build -%py_requires -%if 0%{?suse_version} > 1110 BuildArch: noarch -%else -%define python_sitelib %py_sitedir -%endif %description -Whaaw Media Player is a minimalistic media player based on GTK an GStreamer. +Whaaw Media Player is a minimalistic media player based on GTK and GStreamer. + +%lang_package %prep %setup -q -%patch0 -p1 -find src/ -name '*.py' | xargs sed -i '/^#! *\/usr\/bin\/env *python/d' + +ed -s whaawmp.desktop 2>/dev/null <<'EOF' +/^Terminal=False/d +w +EOF + +# remove shebang from non-executables +find src/ -name '*.py' -print -exec sh -c ' +ed -s "$1" 2>/dev/null <<\EOF +/^#! *\/usr\/bin\/env *python/d +w +EOF +' {} {} \; %build python setup.py build %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} + %suse_update_desktop_file %{name} + %fdupes %{buildroot}%{_datadir} + %find_lang %{name} %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 README COPYING %{_bindir}/whaaw-thumbnailer @@ -84,4 +95,6 @@ %{_datadir}/thumbnailers/whaaw-thumbnailer.desktop %{_datadir}/whaawmp +%files lang -f %{name}.lang + %changelog ++++++ whaawmp-rpmlintrc ++++++ # this is a standalone application addFilter(" python-naming-policy-not-applied ") -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org