Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kissfft for openSUSE:Factory checked 
in at 2021-04-14 10:10:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kissfft (Old)
 and      /work/SRC/openSUSE:Factory/.kissfft.new.2401 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kissfft"

Wed Apr 14 10:10:53 2021 rev:2 rq:884840 version:131.1.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/kissfft/kissfft.changes  2020-05-01 
11:15:25.424117619 +0200
+++ /work/SRC/openSUSE:Factory/.kissfft.new.2401/kissfft.changes        
2021-04-14 10:11:19.305528408 +0200
@@ -1,0 +2,17 @@
+Tue Apr 13 04:34:12 UTC 2021 - Luigi Baldoni <[email protected]>
+
+- Update to version 131.1.0
+  * First release with semantic versioning. It has the roughly
+    the same code as v131, but some symbol visibility changes and
+    build enhancements to improve shared object usage and use as
+    a packaged/installed library.
+  * Removed kfc.h and kissfft_i32.hh from the install list since
+    they are not as generally useful as the others
+- Switch to cmake build
+- Add kissfft subpackage and rename library subpackage to match
+  library name
+- Drop kissfft-shared.patch (no longer necessary)
+- Drop kissfft-py3_1.patch and kissfft-py3_2.patch (merged
+  upstream)
+
+-------------------------------------------------------------------

Old:
----
  kissfft-131.tar.gz
  kissfft-py3_1.patch
  kissfft-py3_2.patch
  kissfft-shared.patch

New:
----
  kissfft-131.1.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ kissfft.spec ++++++
--- /var/tmp/diff_new_pack.xT813V/_old  2021-04-14 10:11:19.741529144 +0200
+++ /var/tmp/diff_new_pack.xT813V/_new  2021-04-14 10:11:19.745529150 +0200
@@ -1,6 +1,7 @@
 #
 # spec file for package kissfft
 #
+# Copyright (c) 2021 SUSE LLC
 # Copyright (c) 2020 Packman Team <[email protected]>
 # Copyright (c) 2017-2020 Fedora Release Engineering <[email protected]>
 # Copyright (c) 2016 Franti??ek Dvo????k <[email protected]>
@@ -14,26 +15,21 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via https://bugs.links2linux.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
-%global _over   131
+%define sover   131
 Name:           kissfft
-Version:        1.3.1
+Version:        131.1.0
 Release:        0
 Summary:        Fast Fourier Transform library
 License:        BSD-3-Clause AND Unlicense
 # was https://sourceforge.net/projects/kissfft
 URL:            https://github.com/mborgerding/kissfft
-Source0:        
https://github.com/mborgerding/kissfft/archive/v%{_over}.tar.gz#/%{name}-%{_over}.tar.gz
-# PATCH-FEATURE-OPENSUSE kissfft-shared.patch [email protected] -- use correct 
build flags and soname for the library
-Patch0:         %{name}-shared.patch
-# PATCH-FIX-UPSTREAM kissfft-py3_1.patch
-Patch1:         kissfft-py3_1.patch
-# PATCH-FIX-UPSTREAM kissfft-py3_2.patch
-Patch2:         kissfft-py3_2.patch
-BuildRequires:  libtool
+Source0:        
https://github.com/mborgerding/kissfft/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
+BuildRequires:  cmake
+BuildRequires:  pkgconfig(libpng)
 # TESTS
 BuildRequires:  gcc-c++
 BuildRequires:  procps
@@ -50,66 +46,60 @@
 
 %package devel
 Summary:        Fast Fourier Transform library
-Requires:       lib%{name}-%{_over} = %{version}
+Requires:       lib%{name}-float%{sover} = %{version}
 
 %description devel
 A Fast Fourier Transform based up on the principle, "Keep It Simple, Stupid".
 Kiss FFT is a very small, reasonably efficient, mixed radix FFT library that
 can use either fixed or floating point data types.
 
-%package -n lib%{name}-%{_over}
+%package -n lib%{name}-float%{sover}
 Summary:        Fast Fourier Transform library
 
-%description -n lib%{name}-%{_over}
+%description -n lib%{name}-float%{sover}
 A Fast Fourier Transform based up on the principle, "Keep It Simple, Stupid".
 Kiss FFT is a very small, reasonably efficient, mixed radix FFT library that
 can use either fixed or floating point data types.
 
 %prep
-%autosetup -p1 -n %{name}-%{_over}
-sed -i -e '1s,%{_bindir}/env python,%{_bindir}/python3,' test/*.py
+%autosetup -p1
 
 %build
-%make_build
+%cmake
+%cmake_build
 
 %install
-%make_install
-
-# creates support file for pkg-config
-mkdir -pv %{buildroot}%{_libdir}/pkgconfig
-tee %{buildroot}%{_libdir}/pkgconfig/%{name}.pc << "EOF"
-prefix=%{_prefix}
-exec_prefix=${prefix}
-libdir=${exec_prefix}/%{_lib}
-includedir=${prefix}/include
-
-Name: %{name}
-Description: Fast Fourier Transform library
-Version: %{version}
-Libs: -L${libdir} -lkissfft
-Cflags: -I${includedir}/kissfft
-EOF
+%cmake_install
 
 %check
-make testall
-
-%post -n lib%{name}-%{_over} -p /sbin/ldconfig
-%postun -n lib%{name}-%{_over} -p /sbin/ldconfig
+%if 0%{?suse_version} <= 1500
+export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$(pwd)/build
+%endif
+%ctest
+
+%post -n lib%{name}-float%{sover} -p /sbin/ldconfig
+%postun -n lib%{name}-float%{sover} -p /sbin/ldconfig
+
+%files
+%{_bindir}/fastconv-float
+%{_bindir}/fastconvr-float
+%{_bindir}/fft-float
+%{_bindir}/psdpng-float
 
 %files devel
 %license LICENSES/BSD-3-Clause LICENSES/Unlicense
-%doc CHANGELOG README
+%doc CHANGELOG README.md
 %dir %{_includedir}/%{name}
-%{_includedir}/%{name}/kfc.h
 %{_includedir}/%{name}/kiss_fft.h
 %{_includedir}/%{name}/kiss_fftnd.h
 %{_includedir}/%{name}/kiss_fftndr.h
 %{_includedir}/%{name}/kiss_fftr.h
 %{_includedir}/%{name}/kissfft.hh
-%{_libdir}/lib%{name}.so
-%{_libdir}/pkgconfig/%{name}.pc
+%{_libdir}/lib%{name}-float.so
+%{_libdir}/cmake/%{name}
+%{_libdir}/pkgconfig/%{name}-float.pc
 
-%files -n lib%{name}-%{_over}
-%{_libdir}/lib%{name}-%{_over}.so
+%files -n lib%{name}-float%{sover}
+%{_libdir}/lib%{name}-float.so.%{sover}*
 
 %changelog

++++++ kissfft-131.tar.gz -> kissfft-131.1.0.tar.gz ++++++
++++ 4779 lines of diff (skipped)

Reply via email to