Hello community, here is the log from the commit of package freealut for openSUSE:Factory checked in at 2017-11-07 10:01:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/freealut (Old) and /work/SRC/openSUSE:Factory/.freealut.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "freealut" Tue Nov 7 10:01:09 2017 rev:21 rq:539223 version:1.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/freealut/freealut.changes 2013-01-07 15:11:44.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.freealut.new/freealut.changes 2017-11-07 10:02:21.644805939 +0100 @@ -1,0 +2,6 @@ +Fri Nov 3 14:09:54 UTC 2017 - mplus...@suse.com + +- Switch to cmake build +- Drop not needed freealut-noansiflag.patch + +------------------------------------------------------------------- Old: ---- freealut-noansiflag.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ freealut.spec ++++++ --- /var/tmp/diff_new_pack.6k4ibs/_old 2017-11-07 10:02:22.516774303 +0100 +++ /var/tmp/diff_new_pack.6k4ibs/_new 2017-11-07 10:02:22.520774158 +0100 @@ -1,7 +1,7 @@ # # spec file for package freealut # -# Copyright (c) 2013 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,8 +16,9 @@ # +%define sover 0 +%define lname libalut%{sover} Name: freealut -%define lname libalut0 Version: 1.1.0 Release: 0 Summary: freealut is a free implementation of OpenAL's ALUT standard @@ -26,31 +27,24 @@ Url: http://connect.creativelabs.com/openal/default.aspx Source: %{name}-%{version}.tar.bz2 Source2: baselibs.conf -# PATCH-FIX-UPSTREAM freealut-noansiflag.patch -Patch0: freealut-noansiflag.patch -BuildRequires: autoconf >= 2.60 -BuildRequires: libtool +BuildRequires: cmake BuildRequires: pkgconfig BuildRequires: pkgconfig(openal) -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description freealut is a free implementation of OpenAL's ALUT standard. -%package -n %lname +%package -n %{lname} Summary: freealut is a free implementation of OpenAL's ALUT standard Group: System/Libraries -# O/P added in 12.3 -Provides: freealut = %{version}-%{release} -Obsoletes: freealut < %{version}-%{release} -%description -n %lname +%description -n %{lname} freealut is a free implementation of OpenAL's ALUT standard. %package devel Summary: Static libraries, header files and tests for openal library Group: Development/Libraries/C and C++ -Requires: %lname = %{version} +Requires: %{lname} = %{version} Requires: glibc-devel %description devel @@ -60,28 +54,28 @@ %prep %setup -q -%patch0 %build -autoreconf -fiv -%configure --disable-static --with-pic -make %{?_smp_mflags} +%cmake \ + -DBUILD_STATIC=OFF \ + -Wno-dev +%make_jobs %install -make DESTDIR=%{buildroot} install -rm %{buildroot}%{_libdir}/*.la +%cmake_install +# FIXME: should be fixed upstream +%if %__isa_bits == 64 +mv %{buildroot}/usr/lib/ %{buildroot}/%{_libdir} +%endif -%post -n %lname -p /sbin/ldconfig +%post -n %{lname} -p /sbin/ldconfig +%postun -n %{lname} -p /sbin/ldconfig -%postun -n %lname -p /sbin/ldconfig - -%files -n %lname -%defattr(-,root,root) +%files -n %{lname} %doc AUTHORS COPYING ChangeLog NEWS README -%{_libdir}/libalut.so.0* +%{_libdir}/libalut.so.%{sover}* %files devel -%defattr(-,root,root) %{_bindir}/*-config %{_includedir}/AL %{_libdir}/libalut.so