Hello community, here is the log from the commit of package libgpod for openSUSE:Factory checked in at 2018-01-26 13:37:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libgpod (Old) and /work/SRC/openSUSE:Factory/.libgpod.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libgpod" Fri Jan 26 13:37:56 2018 rev:32 rq:568824 version:0.8.3 Changes: -------- --- /work/SRC/openSUSE:Factory/libgpod/libgpod.changes 2015-10-30 13:40:50.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.libgpod.new/libgpod.changes 2018-01-26 13:37:57.389618788 +0100 @@ -1,0 +2,14 @@ +Tue Jan 23 22:34:25 UTC 2018 - [email protected] + +- Fix groups of SRPM and documentation. Make doc noarch. + Trim bias from description. + +------------------------------------------------------------------- +Tue Jan 23 12:46:52 UTC 2018 - [email protected] + +- Conditionalize python2 module build as it is not compatible with + python3 at all and we do not need it by default + * This allows to build in python3 only enviroment +- Run over a bit with spec-cleaner + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libgpod.spec ++++++ --- /var/tmp/diff_new_pack.WDUsHL/_old 2018-01-26 13:37:58.193581239 +0100 +++ /var/tmp/diff_new_pack.WDUsHL/_new 2018-01-26 13:37:58.193581239 +0100 @@ -1,7 +1,7 @@ # # spec file for package libgpod # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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,17 +16,17 @@ # +%define libsoname %{name}4 +%define _udevdir %(pkg-config --variable udevdir udev) %bcond_without mono - +%bcond_without python2 Name: libgpod -%define libsoname %{name}4 - Version: 0.8.3 Release: 0 -Url: http://www.gtkpod.org/libgpod.html Summary: Library to Manipulate Songs and Playlists Stored on an iPod License: LGPL-2.1+ -Group: System/Libraries +Group: Development/Libraries/C and C++ +Url: http://www.gtkpod.org/libgpod.html Source: http://downloads.sourceforge.net/project/gtkpod/libgpod/libgpod-0.8/%{name}-%{version}.tar.bz2 Source1: baselibs.conf Patch0: libgpod-swig-3.0.patch @@ -37,34 +37,32 @@ BuildRequires: gcc-c++ BuildRequires: glib2-devel BuildRequires: gtk-doc -%if %{with mono} -BuildRequires: gtk-sharp2 -%endif BuildRequires: gtk2-devel BuildRequires: intltool BuildRequires: libimobiledevice-devel BuildRequires: libplist-devel BuildRequires: libusb-1_0-devel BuildRequires: libxml2-devel -%if %{with mono} -BuildRequires: mono-devel -%endif -BuildRequires: pkg-config -BuildRequires: python-devel -BuildRequires: python-gobject2-devel -BuildRequires: python-mutagen +BuildRequires: pkgconfig BuildRequires: sg3_utils-devel BuildRequires: sqlite3-devel BuildRequires: swig BuildRequires: taglib-devel BuildRequires: update-desktop-files BuildRequires: pkgconfig(udev) -BuildRoot: %{_tmppath}/%{name}-%{version}-build -%define _udevdir %(pkg-config --variable udevdir udev) +%if %{with python2} +BuildRequires: python-devel +BuildRequires: python-gobject2-devel +BuildRequires: python-mutagen +%endif +%if %{with mono} +BuildRequires: gtk-sharp2 +BuildRequires: mono-devel +%endif %description libgpod is a library meant to abstract access to iPod content. It -provides an easy-to-use API to retrieve the list of files and +provides an API to retrieve the list of files and playlists stored on an iPod, modify them, and save them back to the iPod. %package -n %{libsoname} @@ -76,7 +74,7 @@ %description -n %{libsoname} libgpod is a library meant to abstract access to iPod content. It -provides an easy-to-use API to retrieve the list of files and +provides an API to retrieve the list of files and playlists stored on an iPod, modify them, and save them back to the iPod. %package devel @@ -88,62 +86,64 @@ %description devel libgpod is a library meant to abstract access to iPod content. It -provides an easy-to-use API to retrieve the list of files and +provides an API to retrieve the list of files and playlists stored on an iPod, modify them, and save them back to the iPod. This package provides the development files to use libgpod. %package doc Summary: Documentation for libgpod -Group: System/Libraries +Group: Documentation/HTML +BuildArch: noarch %description doc libgpod is a library meant to abstract access to iPod content. It -provides an easy-to-use API to retrieve the list of files and +provides an API to retrieve the list of files and playlists stored on an iPod, modify them, and save them back to the iPod. This package provides development documentation for libgpod. -%package -n python-gpod -Summary: Library to Manipulate Songs and Playlists Stored on an iPod -- Python Bindings +%package -n python2-gpod +Summary: Python bindings for libgpod, a library to edit songs and playlists on an iPod Group: Development/Languages/Python Requires: python-mutagen Provides: libgpod-python = %{version} Obsoletes: libgpod-python < %{version} -%py_requires +Provides: python-gpod = %{version} -%description -n python-gpod +%description -n python2-gpod libgpod is a library meant to abstract access to iPod content. It -provides an easy-to-use API to retrieve the list of files and +provides an API to retrieve the list of files and playlists stored on an iPod, modify them, and save them back to the iPod. -This package provides python bindings. +This package provides python2 bindings. %package sharp -Summary: Library to Manipulate Songs and Playlists Stored on an iPod -- .NET Bindings +Summary: .NET bindings for libgpod, a library to edit songs and playlists on an iPod Group: Development/Languages/Mono Requires: %{libsoname} = %{version} %description sharp libgpod is a library meant to abstract access to iPod content. It -provides an easy-to-use API to retrieve the list of files and +provides an API to retrieve the list of files and playlists stored on an iPod, modify them, and save them back to the iPod. This package provides .NET bindings. %package tools Summary: Tools for libgpod -Group: Development/Libraries/C and C++ +Group: Productivity/Multimedia/Other Supplements: packageand(%{libsoname}:udev) %description tools libgpod is a library meant to abstract access to iPod content. It -provides an easy-to-use API to retrieve the list of files and +provides an API to retrieve the list of files and playlists stored on an iPod, modify them, and save them back to the iPod. This package includes support tools for libgpod. %lang_package + %prep %setup -q %patch0 -p1 @@ -153,60 +153,55 @@ %build %configure --disable-silent-rules \ - --with-pic \ --disable-static \ - --without-hal \ --with-udev-dir=%{_udevdir} \ - --with-python=yes -make %{?jobs:-j%jobs} +%if %{with python2} + --with-python=yes \ +%else + --with-python=no \ +%endif + --without-hal +make %{?_smp_mflags} %install -%makeinstall +%make_install %find_lang libgpod rm bindings/python/examples/Makefile* -rm %{buildroot}%{_libdir}/*.la +find %{buildroot} -type f -name "*.la" -delete -print %if %{without mono} rm %{buildroot}%{_libdir}/pkgconfig/libgpod-sharp.pc %endif %fdupes -s %{buildroot} -%clean -rm -rf %{buildroot} - %post -n %{libsoname} -p /sbin/ldconfig - %postun -n %{libsoname} -p /sbin/ldconfig %files -n %{libsoname} -%defattr (-, root, root) %doc AUTHORS COPYING ChangeLog NEWS README README.SysInfo %{_libdir}/libgpod.so.4* %files tools -%defattr (-, root, root) %{_bindir}/ipod-read-sysinfo-extended %{_udevdir}/ipod-set-info %{_udevdir}/iphone-set-info %{_udevdir}/rules.d/90-libgpod.rules %files devel -%defattr (-, root, root) %{_includedir}/gpod-1.0/ %{_libdir}/libgpod.so %{_libdir}/pkgconfig/libgpod-1.0.pc %files doc -%defattr (-, root, root) %doc %{_datadir}/gtk-doc/html/libgpod/ -%files -n python-gpod -%defattr(-, root, root, 0755) +%if %{with python2} +%files -n python2-gpod %doc COPYING bindings/python/examples -%{py_sitedir}/gpod/ +%{python_sitearch}/gpod/ +%endif %if %{with mono} %files sharp -%defattr (-, root, root) %dir %{_libdir}/libgpod %{_libdir}/libgpod/libgpod-sharp.dll* %{_libdir}/libgpod/libgpod-sharp-test.exe*
