File libvisual-plugins.spec of Package libvisual-plugins

#
# spec file for package libvisual-plugins
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           libvisual-plugins
BuildRequires:  esound-devel freeglut-devel gcc-c++ gtk2-devel jack-devel libdrm-devel libvisual-devel
BuildRequires:  bison libtool
License:        GPL-2.0+
Group:          Productivity/Multimedia/Sound/Visualization
Version:        0.4.0
Release:        226
Summary:        Sound Visualization Library Plug-Ins
Url:            http://localhost.nl/~synap/libvisual/
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Source0:        %name-%version.tar.bz2
Patch1:         libvisual-plugins-asmfix.patch
Patch2:         %name-%version.patch
Patch3:         %name-buffer-overflow.patch

%description
Libvisual is a library that acts as a middle layer between applications
that need audio visualization and audio visualization plug-ins. This
package contains various plug-ins like:

* bumpscope

* dna

* infinite

* jakdaw

* lv_analyzer

* lv_gltest

* lv_scope

* madspin

* oinksie

* plazma



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>
    Remi Arquier <arquier@crans.org>

%prep
%setup -q
%patch1
%patch2
%patch3

%build
gettextize -f
autoreconf -fi
export CFLAGS="$RPM_OPT_FLAGS -Wall -fno-strict-aliasing -fstack-protector"
%configure
make

%install
make DESTDIR=$RPM_BUILD_ROOT install
# remove .mo files, as libvisual doesn't package them at the moment.
rm -rf $RPM_BUILD_ROOT/%_datadir/locale

%post
%run_ldconfig

%postun
%run_ldconfig

%files
%defattr(-,root,root)
%doc AUTHORS README ChangeLog NEWS TODO COPYING
%_libdir/libvisual-0.4
%_datadir/libvisual-plugins-0.4

%changelog