Hello community, here is the log from the commit of package spice for openSUSE:Factory checked in at 2018-02-01 21:26:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/spice (Old) and /work/SRC/openSUSE:Factory/.spice.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "spice" Thu Feb 1 21:26:55 2018 rev:27 rq:571469 version:0.14.0 Changes: -------- --- /work/SRC/openSUSE:Factory/spice/spice.changes 2017-11-03 16:31:44.533159980 +0100 +++ /work/SRC/openSUSE:Factory/.spice.new/spice.changes 2018-02-01 21:26:56.907917043 +0100 @@ -1,0 +2,26 @@ +Tue Jan 30 22:20:12 UTC 2018 - jeng...@inai.de + +- Correct RPM group for shared library. + +------------------------------------------------------------------- +Tue Jan 30 14:44:37 UTC 2018 - tchva...@suse.com + +- Split the sle condition again for exact features to allow their + override + +------------------------------------------------------------------- +Thu Jan 18 12:12:33 UTC 2018 - tchva...@suse.com + +- Enable smartcards on sle15 as the supportlib is available + * Condition it using name everywhere instead of suse versions + and join together with lz4 +- Format with spec-cleaner +- Convert dependencies to pkgconfig style +- Install documentation and license file +- Add configure arguments to most of the options to not rely on + autotools automatic behavior + * Also enable gstreamer and lz4 options +- Drop the not needed python dependencies, they are needed only + when building from git snapshot + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ spice.spec ++++++ --- /var/tmp/diff_new_pack.4QjjfC/_old 2018-02-01 21:26:57.879871615 +0100 +++ /var/tmp/diff_new_pack.4QjjfC/_new 2018-02-01 21:26:57.883871427 +0100 @@ -1,7 +1,7 @@ # # spec file for package spice # -# Copyright (c) 2017 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,7 +16,18 @@ # -# Common info +%define libname libspice-server1 +%if 0%{?suse_version} >=1330 || 0%{?is_opensuse} +%bcond_without libcard +%if 0%{?suse_version} < 1330 +%bcond_with lz4 +%else +%bcond_without lz4 +%endif +%else +%bcond_with libcard +%bcond_with lz4 +%endif Name: spice Version: 0.14.0 Release: 0 @@ -26,46 +37,47 @@ Url: http://www.spice-space.org/ Source: http://spice-space.org/download/releases/%{name}-%{version}.tar.bz2 Source99: %{name}.rpmlintrc - -# Build-time parameters -BuildRequires: alsa-devel -BuildRequires: celt051-devel -BuildRequires: cyrus-sasl-devel BuildRequires: gcc-c++ -%if 0%{?is_opensuse} -BuildRequires: libcacard-devel -%endif BuildRequires: libjpeg-devel -BuildRequires: libopenssl-devel -BuildRequires: libpixman-1-0-devel >= 0.17.7 BuildRequires: pkgconfig -BuildRequires: python-pyparsing -BuildRequires: python-six -BuildRequires: spice-protocol-devel >= 0.12.11 -BuildRequires: zlib-devel +BuildRequires: pkgconfig(alsa) +BuildRequires: pkgconfig(celt051) BuildRequires: pkgconfig(glib-2.0) >= 2.28 +BuildRequires: pkgconfig(gstreamer-1.0) +BuildRequires: pkgconfig(gstreamer-app-1.0) +BuildRequires: pkgconfig(gstreamer-video-1.0) +BuildRequires: pkgconfig(libsasl2) +BuildRequires: pkgconfig(openssl) BuildRequires: pkgconfig(opus) +BuildRequires: pkgconfig(orc-0.4) +BuildRequires: pkgconfig(pixman-1) >= 0.17.7 +BuildRequires: pkgconfig(spice-protocol) >= 0.12.11 BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xext) BuildRequires: pkgconfig(xfixes) BuildRequires: pkgconfig(xinerama) BuildRequires: pkgconfig(xrandr) BuildRequires: pkgconfig(xrender) -# Install-time parameters +BuildRequires: pkgconfig(zlib) Requires: celt051 -BuildRoot: %{_tmppath}/%{name}-%{version}-build +%if %{with libcard} +BuildRequires: pkgconfig(libcacard) +%endif +%if %{with lz4} +BuildRequires: pkgconfig(liblz4) +%endif %description The SPICE package provides the SPICE server library and client. These components are used to provide access to a remote machine's display and devices. -%package -n libspice-server1 +%package -n %{libname} Summary: Library for SPICE-server -Group: Productivity/Networking/Other +Group: System/Libraries Obsoletes: spice-client < %{version}-%{release} -%description -n libspice-server1 +%description -n %{libname} Library for SPICE-server The SPICE server is used to expose a remote machine's display and devices. @@ -73,7 +85,7 @@ %package -n libspice-server-devel Summary: Development files for building SPICE-server Group: Development/Languages/C and C++ -Requires: libspice-server1 = %{version} +Requires: %{libname} = %{version} %description -n libspice-server-devel Development files for building SPICE-server. @@ -85,28 +97,32 @@ %build %configure \ + --disable-silent-rules \ --disable-static \ -%if 0%{?is_opensuse} - --enable-smartcard -%else - --disable-smartcard + --disable-werror \ +%if %{with libcard} + --enable-smartcard \ +%endif +%if %{with lz4} + --enable-lz4 \ %endif - LDFLAGS="-Wl,--as-needed -Wl,--strip-all" + --enable-celt051 \ + --enable-gstreamer make %{?_smp_mflags} %install -make %{?_smp_mflags} DESTDIR=%{buildroot} install +%make_install find %{buildroot} -type f -name "*.la" -delete -print -%post -n libspice-server1 -p /sbin/ldconfig -%postun -n libspice-server1 -p /sbin/ldconfig +%post -n %{libname} -p /sbin/ldconfig +%postun -n %{libname} -p /sbin/ldconfig -%files -n libspice-server1 -%defattr(-,root,root) +%files -n %{libname} +%doc NEWS README ChangeLog +%license COPYING %{_libdir}/libspice-server.so.* %files -n libspice-server-devel -%defattr(-,root,root) %{_libdir}/pkgconfig/spice-server.pc %{_includedir}/spice-server/ %{_libdir}/libspice-server.so