2007-01-16 00:23:28 +01:00
|
|
|
#
|
2011-06-24 09:11:44 +02:00
|
|
|
# spec file for package libvisual
|
2007-01-16 00:23:28 +01:00
|
|
|
#
|
2023-11-06 12:01:39 +01:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2007-01-16 00:23:28 +01:00
|
|
|
#
|
2008-11-17 17:19:57 +01:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2022-05-26 10:55:11 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-01-16 00:23:28 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: libvisual
|
|
|
|
Version: 0.4.0
|
2012-02-13 12:07:31 +01:00
|
|
|
Release: 0
|
2009-01-08 18:45:37 +01:00
|
|
|
%ifarch ppc64
|
2022-05-26 10:55:11 +02:00
|
|
|
# bug437293
|
2009-01-08 18:45:37 +01:00
|
|
|
Obsoletes: libvisual-64bit
|
|
|
|
%endif
|
2007-01-16 00:23:28 +01:00
|
|
|
Summary: Sound Visualization Library
|
2022-05-26 10:55:11 +02:00
|
|
|
License: GPL-2.0-or-later AND LGPL-2.1-or-later
|
2012-02-13 12:07:31 +01:00
|
|
|
Group: Productivity/Multimedia/Sound/Visualization
|
2022-05-26 10:55:11 +02:00
|
|
|
URL: http://localhost.nl/~synap/libvisual-wiki/index.php/Main_Page
|
2007-01-16 00:23:28 +01:00
|
|
|
Source: %name-%{version}.tar.bz2
|
2010-02-18 16:32:22 +01:00
|
|
|
Source2: baselibs.conf
|
2023-11-06 12:01:39 +01:00
|
|
|
Patch0: %name-%{version}.diff
|
2007-01-16 00:23:28 +01:00
|
|
|
Patch1: %name-%{version}-compiler_warnings.diff
|
|
|
|
Patch2: libvisual.visual_cpu_get_altivec.patch
|
2007-06-15 00:26:46 +02:00
|
|
|
Patch3: %name-%{version}-unref-static.diff
|
2011-06-24 09:11:36 +02:00
|
|
|
Patch4: libvisual-0.4.0-2.1-nmu.diff
|
2012-07-26 14:59:28 +02:00
|
|
|
Patch5: libvisual-0.4.0-inlinedefineconflict.patch
|
2022-05-26 10:55:11 +02:00
|
|
|
BuildRequires: freeglut-devel
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: libdrm-devel
|
|
|
|
BuildRequires: libtool
|
|
|
|
BuildRequires: pkgconfig
|
2007-01-16 00:23:28 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
Libvisual is a library that acts as a middle layer between applications
|
2008-04-10 14:38:47 +02:00
|
|
|
that need audio visualization and audio visualization plug-ins.
|
2007-01-16 00:23:28 +01:00
|
|
|
|
2022-05-26 10:55:11 +02:00
|
|
|
%package -n libvisual-0_4-0
|
|
|
|
Summary: Sound Visualization library
|
|
|
|
Group: System/Libraries
|
2007-01-16 00:23:28 +01:00
|
|
|
|
2022-05-26 10:55:11 +02:00
|
|
|
%description -n libvisual-0_4-0
|
|
|
|
Libvisual is a library that acts as a middle layer between applications
|
|
|
|
that need audio visualization and audio visualization plug-ins.
|
2007-01-16 00:23:28 +01:00
|
|
|
|
|
|
|
%package devel
|
2022-05-26 10:55:11 +02:00
|
|
|
Summary: Headers for the libvisual sound visualization library
|
2012-02-13 12:07:31 +01:00
|
|
|
Group: Productivity/Multimedia/Sound/Visualization
|
2013-02-02 22:33:01 +01:00
|
|
|
Requires: glibc-devel
|
2022-05-26 10:55:11 +02:00
|
|
|
Requires: libvisual-0_4-0 = %{version}-%{release}
|
2009-01-08 18:45:37 +01:00
|
|
|
# bug437293
|
|
|
|
%ifarch ppc64
|
|
|
|
Obsoletes: libvisual-devel-64bit
|
|
|
|
%endif
|
2007-01-16 00:23:28 +01:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
Libvisual is a library that acts as a middle layer between applications
|
|
|
|
that want audio visualisation and audio visualisation plugins.
|
|
|
|
|
|
|
|
This library is used by amaroK for example.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-03-01 23:11:41 +01:00
|
|
|
%patch -P 0
|
|
|
|
%patch -P 1
|
|
|
|
%patch -P 2 -p1
|
|
|
|
%patch -P 3
|
|
|
|
%patch -P 4 -p1
|
|
|
|
%patch -P 5 -p1
|
2007-01-16 00:23:28 +01:00
|
|
|
|
|
|
|
%build
|
2008-11-17 17:19:57 +01:00
|
|
|
autoreconf -fiv
|
2007-01-16 00:23:28 +01:00
|
|
|
%if %suse_version > 1000
|
2022-05-26 10:55:11 +02:00
|
|
|
CFLAGS="%optflags -fstack-protector"
|
2007-01-16 00:23:28 +01:00
|
|
|
%endif
|
|
|
|
%ifarch %ix86
|
2022-05-26 10:55:11 +02:00
|
|
|
CFLAGS="%optflags -mmmx"
|
2007-01-16 00:23:28 +01:00
|
|
|
%else
|
2022-05-26 10:55:11 +02:00
|
|
|
CFLAGS="%optflags"
|
2007-01-16 00:23:28 +01:00
|
|
|
%endif
|
2008-11-17 17:19:57 +01:00
|
|
|
export CFLAGS="$CFLAGS -fno-strict-aliasing"
|
2022-05-26 10:55:11 +02:00
|
|
|
%configure --disable-static
|
|
|
|
%make_build
|
2007-01-16 00:23:28 +01:00
|
|
|
|
|
|
|
%install
|
2022-05-26 10:55:11 +02:00
|
|
|
%make_install
|
|
|
|
for i in morph input actor transform; do
|
|
|
|
mkdir -p %buildroot/%_libdir/%name/$i %buildroot/%_datadir/%name/$i
|
|
|
|
done
|
|
|
|
rm -v %buildroot/%_libdir/*.la
|
2007-01-16 00:23:28 +01:00
|
|
|
# *fixme*
|
2022-05-26 10:55:11 +02:00
|
|
|
rm -rf %buildroot/%_datadir/locale
|
2007-01-16 00:23:28 +01:00
|
|
|
|
2022-05-26 10:55:11 +02:00
|
|
|
%post -n libvisual-0_4-0 -p /sbin/ldconfig
|
|
|
|
%postun -n libvisual-0_4-0 -p /sbin/ldconfig
|
2007-01-16 00:23:28 +01:00
|
|
|
|
2022-05-26 10:55:11 +02:00
|
|
|
%files -n libvisual-0_4-0
|
2007-01-16 00:23:28 +01:00
|
|
|
%_libdir/libvisual-0.4.so.*
|
|
|
|
%_libdir/libvisual
|
|
|
|
%_datadir/libvisual
|
|
|
|
|
|
|
|
%files devel
|
2022-05-26 10:55:11 +02:00
|
|
|
%doc AUTHORS README ChangeLog NEWS TODO
|
|
|
|
%license COPYING
|
|
|
|
%_includedir/libvisual-0.4
|
2007-01-16 00:23:28 +01:00
|
|
|
%_libdir/pkgconfig/libvisual-0.4.pc
|
|
|
|
%_libdir/libvisual-0.4.so
|
|
|
|
|
2007-06-15 00:26:46 +02:00
|
|
|
%changelog
|