Hello community, here is the log from the commit of package osdlyrics for openSUSE:Factory checked in at 2017-11-24 10:54:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/osdlyrics (Old) and /work/SRC/openSUSE:Factory/.osdlyrics.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "osdlyrics" Fri Nov 24 10:54:12 2017 rev:12 rq:544739 version:0.4.3+git20170817.8661927 Changes: -------- --- /work/SRC/openSUSE:Factory/osdlyrics/osdlyrics.changes 2015-11-13 23:36:19.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.osdlyrics.new/osdlyrics.changes 2017-11-24 10:54:14.932770835 +0100 @@ -1,0 +2,19 @@ +Thu Nov 23 13:32:20 UTC 2017 - [email protected] + +- Update to 0.4.3+git8661927 + * Fixed lyric download failed form Xiami source + * Fix ensure_utf8() after + * Make decode_by_charset work under both Python 2 and 3 + * Make ensure_unicode and ensure_utf8 no-op under Python 3 + * Make ElementTree produce a normal Unicode string + * Use a key function instead of cmp in sort() + * PEP8 fixes and Python3 compatibility for daemon/main.py + * Skip the daemon's name when detecting MPRIS2 players. + * Many features update. +- Drop osdlyrics-includes.patch, merged by upstream +- Update OSD Lyrics' home URL +- Update description. +- Drop Obsoletes tags. +- Use %fdupes macro. + +------------------------------------------------------------------- Old: ---- osdlyrics-0.4.3.tar.gz osdlyrics-includes.patch New: ---- osdlyrics-0.4.3+git20170817.8661927.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ osdlyrics.spec ++++++ --- /var/tmp/diff_new_pack.oeeOEr/_old 2017-11-24 10:54:15.724741907 +0100 +++ /var/tmp/diff_new_pack.oeeOEr/_new 2017-11-24 10:54:15.724741907 +0100 @@ -1,7 +1,7 @@ # # spec file for package osdlyrics # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX 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,44 +16,42 @@ # +%define with_mpd 0 + Name: osdlyrics -Version: 0.4.3 +Version: 0.4.3+git20170817.8661927 Release: 0 Summary: A third-party lyrics display program License: GPL-3.0 Group: Productivity/Multimedia/Sound/Visualization -Url: http://code.google.com/p/osd-lyrics/ -Source0: http://osd-lyrics.googlecode.com/files/%{name}-%{version}.tar.gz -Patch1: osdlyrics-includes.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: autoconf -BuildRequires: automake -BuildRequires: dbus-1-glib-devel +Url: https://github.com/osdlyrics/osdlyrics +Source0: %{name}-%{version}.tar.xz +BuildRequires: fdupes BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: gettext-devel BuildRequires: glibc-devel -BuildRequires: gtk2-devel +BuildRequires: gnome-common BuildRequires: hicolor-icon-theme BuildRequires: intltool -BuildRequires: libcurl-devel -BuildRequires: libglade2-devel -BuildRequires: libnotify-devel BuildRequires: libtool -BuildRequires: sqlite3-devel BuildRequires: update-desktop-files -%if ! 0%{?suse_version} == 1315 -BuildRequires: xmms2-devel +BuildRequires: pkgconfig(dbus-glib-1) +BuildRequires: pkgconfig(gtk+-2.0) +BuildRequires: pkgconfig(libcurl) +BuildRequires: pkgconfig(libglade-2.0) +BuildRequires: pkgconfig(libnotify) +BuildRequires: pkgconfig(python) +BuildRequires: pkgconfig(sqlite3) +BuildRequires: pkgconfig(xmms2-client) +%if %{with_mpd} +BuildRequires: mpd %endif Requires: gtk2 Requires: sqlite3 - -# These package are all in home:hillwood -Obsoletes: osd-lyrics -Obsoletes: osdlyrics-beta -Obsoletes: osdlyrics-git - -%lang_package +Recommends: python-%{name} +Recommends: %{name}-lang +BuildRoot: %{_tmppath}/%{name}-%{version}-build %description OSD Lyrics @@ -65,86 +63,70 @@ bottom to top. OSD Lyrics can download lyrics from the network automatically. ==================== -Support players: - Amarok 2.x - Audacious - Banshee - Clementine - Deadbeef - Deciber - Exaile - Guayadeque 2.5 - Gmusicbrowser - Juk - Listen - MOC - Muine - Qmmp - Quod Libet - Rhythmbox - Songbird - VLC - XMMS2 -=================== - Authors: -------- Tiger Soldier <[email protected]> SarlmolApple <[email protected]> SimplyZhao <[email protected]> +%package -n python-%{name} +Summary: Python module for osdlyrics +Group: Productivity/Multimedia/Sound/Visualization +Requires: %{name} = %{version} +%py_requires + +%description -n python-osdlyrics +This package contains python module for osdlyrics + +%lang_package %prep %setup -q -n osdlyrics-%{version} -%patch1 -p1 %build -%configure --disable-mpd \ -%if 0%{?suse_version} == 1315 - --disable-xmms2 +NOCONFIGURE=1 ./autogen.sh +%configure \ +%if %{with_mpd} + --enable-mpd \ %else - --enable-xmms2 + --disable-mpd \ %endif + --enable-xmms2 make %{?_smp_mflags} %install -%makeinstall -%suse_update_desktop_file -r osdlyrics Player AudioVideo +%make_install +%suse_update_desktop_file -r -u %{name} Player AudioVideo %find_lang %{name} +%fdupes %{buildroot} +%if 0%{?suse_version} < 1330 %post -%if 0%{?suse_version} < 1140 -touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : -%else %icon_theme_cache_post -%endif %postun -%if 0%{?suse_version} < 1140 -if [ $1 -eq 0 ] ; then - touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : - gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : -fi -%else %icon_theme_cache_post -%endif %posttrans -%if 0%{?suse_version} < 1140 -touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : -%else %icon_theme_cache_post %endif %files %defattr(-,root,root,-) -%doc AUTHORS ChangeLog README -%doc COPYING -%{_bindir}/osdlyrics -%{_datadir}/applications/osdlyrics.desktop +%doc AUTHORS ChangeLog README COPYING +%{_bindir}/%{name} +%{_bindir}/%{name}-create-lyricsource +%{_bindir}/%{name}-daemon +%{_libdir}/%{name} +%{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/ -%{_datadir}/osdlyrics/ +%{_datadir}/%{name}/ +%{_datadir}/dbus-1/services/org.%{name}.* + +%files -n python-%{name} +%defattr(-,root,root,-) +%{python_sitelib}/%{name} %files lang -f %{name}.lang
