From cd8db07f07d32375c7c924f432be3832391be3fb92e38f8be6a4f72c2ee302c8 Mon Sep 17 00:00:00 2001 From: Dave Plater Date: Thu, 1 Dec 2011 12:17:32 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/fftw3?expand=0&rev=24 --- fftw3.spec | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/fftw3.spec b/fftw3.spec index d932ae8..8ac4124 100644 --- a/fftw3.spec +++ b/fftw3.spec @@ -26,11 +26,11 @@ BuildRequires: openmpi-devel %endif Version: 3.3 Release: 0 -License: GPLv2+ +License: GPL-2.0+ Summary: Discrete Fourier Transform (DFT) C Subroutine Library Url: http://www.fftw.org Group: Productivity/Scientific/Math -Source: http://www.fftw.org/fftw-3.3.tar.gz +Source: http://www.fftw.org/fftw-%{version}.tar.gz Source1: %{name}-rpmlintrc BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires(pre): %install_info_prereq @@ -43,7 +43,7 @@ data, and of arbitrary input size. %package devel Summary: Include Files and Libraries mandatory for Development Group: Development/Libraries/C and C++ -Requires: libfftw3-3 = %{version} +Requires: libfftw3-3 = %{version}-%{release} Requires: glibc-devel Provides: fftw-devel @@ -56,7 +56,7 @@ Summary: Discrete Fourier Transform (DFT) C Subroutine Library Group: System/Libraries # Remove Prov/Obs when appropriate; were added 2011-Nov-21 (post-openSUSE-12.1) Provides: fftw3 = %{version}-%{release} -Obsoletes: fftw3 < %{version}-%{release} +Obsoletes: fftw3 < 3.3 %description -n libfftw3-3 FFTW is a C subroutine library for computing the Discrete Fourier @@ -68,7 +68,7 @@ Summary: Discrete Fourier Transform (DFT) C subroutine library Group: Productivity/Scientific/Math # libfftw3_threads.so does not have a DT_NEEDED entry for fftw symbols, since it # may be used with either libfftw3.so or libfftw3f.so. Hence, manual Requires. -Requires: libfftw3-3 = %{version} +#Requires: libfftw3-3 = %%{version} %description -n libfftw3_threads3 FFTW is a C subroutine library for computing the Discrete Fourier @@ -78,9 +78,9 @@ data, and of arbitrary input size. %package threads-devel Summary: Discrete Fourier Transform (DFT) C subroutine library Group: Development/Libraries/C and C++ -Requires: fftw3-devel = %{version} +Requires: fftw3-devel = %{version}-%{release} Requires: glibc-devel -Requires: libfftw3_threads3 = %{version} +Requires: libfftw3_threads3 = %{version}-%{release} %description threads-devel FFTW is a C subroutine library for computing the Discrete Fourier @@ -91,7 +91,7 @@ data, and of arbitrary input size. Summary: Discrete Fourier Transform (DFT) C subroutine library Group: Productivity/Scientific/Math # Same as libfftw3_threads.so: manual Requires for fftw3 main lib -Requires: libfftw3-3 = %{version} +#Requires: libfftw3-3 = %%{version} %description -n libfftw3_omp3 FFTW is a C subroutine library for computing the Discrete Fourier @@ -101,9 +101,9 @@ data, and of arbitrary input size. %package openmp-devel Summary: Discrete Fourier Transform (DFT) C subroutine library Group: Development/Libraries/C and C++ -Requires: fftw3-devel = %{version} +Requires: fftw3-devel = %{version}-%{release} Requires: glibc-devel -Requires: libfftw3_omp3 = %{version} +Requires: libfftw3_omp3 = %{version}-%{release} %description openmp-devel FFTW is a C subroutine library for computing the Discrete Fourier @@ -116,8 +116,8 @@ data, and of arbitrary input size. Summary: Discrete Fourier Transform (DFT) C subroutine library Group: Productivity/Scientific/Math # Same as libfftw3_threads.so: manual Requires for fftw3 main lib -Requires: libfftw3-3 = %{version} -Requires: openmpi +#Requires: libfftw3-3 = %%{version} +#Requires: openmpi %description -n libfftw3_mpi3 FFTW is a C subroutine library for computing the Discrete Fourier @@ -128,9 +128,8 @@ data, and of arbitrary input size. Summary: Discrete Fourier Transform (DFT) C subroutine library Group: Development/Libraries/C and C++ Requires: fftw3-devel = %{version} -Requires: libfftw3_mpi3 Requires: glibc-devel -Requires: libfftw3_mpi3 = %{version} +Requires: libfftw3_mpi3 = %{version}-%{release} Requires: openmpi-devel %description mpi-devel