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
|
|
|
#
|
2012-02-13 12:07:31 +01:00
|
|
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
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.
|
|
|
|
|
2007-01-16 00:23:28 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: libvisual
|
2012-02-13 12:07:31 +01:00
|
|
|
BuildRequires: freeglut-devel
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: libdrm-devel
|
|
|
|
BuildRequires: libtool
|
|
|
|
BuildRequires: pkgconfig
|
2007-01-16 00:23:28 +01:00
|
|
|
Version: 0.4.0
|
2012-02-13 12:07:31 +01:00
|
|
|
Release: 0
|
2009-01-08 18:45:37 +01:00
|
|
|
# bug437293
|
|
|
|
%ifarch ppc64
|
|
|
|
Obsoletes: libvisual-64bit
|
|
|
|
%endif
|
|
|
|
#
|
2007-01-16 00:23:28 +01:00
|
|
|
Summary: Sound Visualization Library
|
2012-02-13 12:07:31 +01:00
|
|
|
License: GPL-2.0+ ; LGPL-2.1+
|
|
|
|
Group: Productivity/Multimedia/Sound/Visualization
|
2008-04-10 14:38:47 +02:00
|
|
|
Url: http://localhost.nl/~synap/libvisual-wiki/index.php/Main_Page
|
2007-01-16 00:23:28 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
Source: %name-%{version}.tar.bz2
|
2010-02-18 16:32:22 +01:00
|
|
|
Source2: baselibs.conf
|
2007-01-16 00:23:28 +01:00
|
|
|
Patch: %name-%{version}.diff
|
|
|
|
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
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Dennis Smit <synap@nerds-incorporated.org>
|
|
|
|
Duilio J. Protti <dprotti@users.sourceforge.net>
|
|
|
|
Vitaly V. Bursov <vitalyb@mail333.com>
|
|
|
|
Gustavo Sverzut Barbieri <gsbarbieri@yahoo.com.br>
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: sound visualisation library
|
2012-02-13 12:07:31 +01:00
|
|
|
Group: Productivity/Multimedia/Sound/Visualization
|
2008-11-17 17:19:57 +01:00
|
|
|
Requires: %{name} = %{version} glibc-devel
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Dennis Smit <synap@nerds-incorporated.org>
|
|
|
|
Duilio J. Protti <dprotti@users.sourceforge.net>
|
|
|
|
Vitaly V. Bursov <vitalyb@mail333.com>
|
|
|
|
Gustavo Sverzut Barbieri <gsbarbieri@yahoo.com.br>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%patch
|
|
|
|
%patch1
|
|
|
|
%patch2 -p1
|
2007-06-15 00:26:46 +02:00
|
|
|
%patch3
|
2011-06-24 09:11:36 +02:00
|
|
|
%patch4 -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
|
2008-11-17 17:19:57 +01:00
|
|
|
CFLAGS="$RPM_OPT_FLAGS -fstack-protector"
|
2007-01-16 00:23:28 +01:00
|
|
|
%endif
|
|
|
|
%ifarch %ix86
|
2008-11-17 17:19:57 +01:00
|
|
|
CFLAGS="$RPM_OPT_FLAGS -mmmx"
|
2007-01-16 00:23:28 +01:00
|
|
|
%else
|
2008-11-17 17:19:57 +01:00
|
|
|
CFLAGS="$RPM_OPT_FLAGS"
|
2007-01-16 00:23:28 +01:00
|
|
|
%endif
|
2008-11-17 17:19:57 +01:00
|
|
|
export CFLAGS="$CFLAGS -fno-strict-aliasing"
|
|
|
|
%configure --disable-static --with-pic
|
|
|
|
%{__make} %{?jobs:-j%jobs}
|
2007-01-16 00:23:28 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%_libdir/%name/{morph,input,actor,transform} $RPM_BUILD_ROOT%_datadir/%name/{morph,input,actor,transform}
|
2011-10-21 16:51:38 +02:00
|
|
|
sed -e 's, -L%{_builddir}/libvisual-%{version}/libvisual , ,' $RPM_BUILD_ROOT/%_libdir/libvisual-0.4.la > $RPM_BUILD_ROOT/%_libdir/libvisual-0.4.la.1
|
2007-01-16 00:23:28 +01:00
|
|
|
mv $RPM_BUILD_ROOT/%_libdir/libvisual-0.4.la.1 $RPM_BUILD_ROOT/%_libdir/libvisual-0.4.la
|
|
|
|
# *fixme*
|
|
|
|
rm -rf $RPM_BUILD_ROOT/%_datadir/locale
|
|
|
|
|
2008-11-17 17:19:57 +01:00
|
|
|
%post -p /sbin/ldconfig
|
2007-01-16 00:23:28 +01:00
|
|
|
|
2008-11-17 17:19:57 +01:00
|
|
|
%postun -p /sbin/ldconfig
|
2007-01-16 00:23:28 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc AUTHORS README ChangeLog NEWS TODO COPYING
|
|
|
|
%_libdir/libvisual-0.4.so.*
|
|
|
|
%_libdir/libvisual
|
|
|
|
%_datadir/libvisual
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
/usr/include/libvisual-0.4
|
|
|
|
%_libdir/pkgconfig/libvisual-0.4.pc
|
|
|
|
%_libdir/libvisual-0.4.so
|
|
|
|
%_libdir/libvisual-0.4.la
|
|
|
|
|
2007-06-15 00:26:46 +02:00
|
|
|
%changelog
|