libvisual-plugins/libvisual-plugins.spec

142 lines
4.6 KiB
RPMSpec

%define majversion %(echo %version | cut -d. -f 1-2)
Name: libvisual-plugins
Release: 6mamba
Version: 0.4.0
Summary: Sound Visualization Library Plug-Ins used by libvisual
Group: System/Multimedia
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://sourceforge.net/projects/libvisual/
Source0: http://downloads.sourceforge.net/libvisual/libvisual-plugins-%{version}.tar.bz2
Patch0: %{name}-0.4.0-cxxflags.patch
Patch1: %{name}-0.4.0-LIBADD.patch
Patch2: %{name}-0.4.0-64bit.patch
Patch3: %{name}-0.4.0-analyser.patch
Patch4: %{name}-0.4.0-gforce.patch
Patch5: %{name}-0.4.0-automagic.patch
Patch6: %{name}-0.4.0-gstreamer.patch
Patch7: %{name}-0.4.0-gforce-fbsd.patch
Patch8: %{name}-0.4.0-qa.patch
Patch9: %{name}-0.4.0-nastyfft.patch
Patch10: libvisual-plugins-0.4.0-fno-common.patch
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libGLU-devel
BuildRequires: libalsa-devel
BuildRequires: libgcc
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libglvnd-devel
BuildRequires: libjack-devel
BuildRequires: libstdc++6-devel
BuildRequires: libvisual-devel
## AUTOBUILDREQ-END
Requires: libvisual = %{?epoch:%epoch:}%{version}
%description
Libvisual is a library that comes between applications and audio visualisation plugins and provides every application that wants to draw visualisation a clean
and easy to use API.
This package contains various plug-ins like:
- bumpscope
- dna
- infinite
- jakdaw
- lv_analyzer
- lv_gltest
- lv_scope
- madspin
- oinksie
- plazma
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p0
%patch6 -p0
%patch7 -p1
%patch8 -p1
%patch9 -p1
%patch10 -p1 -b .fno-common
autoreconf -fi
%build
%configure \
--disable-gstreamer-plugin \
--disable-esd
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
%make
%install
[ %{buildroot} != / ] && rm -rf "%{buildroot}"
%makeinstall MKINSTALLDIRS="../mkinstalldirs"
%find_lang %{name}-%{majversion}
%clean
[ %{buildroot} != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files -f %{name}-%{majversion}.lang
%defattr(-,root,root)
%dir %{_libdir}/libvisual-%{majversion}/
%dir %{_libdir}/libvisual-%{majversion}/actor/
%{_libdir}/libvisual-%{majversion}/actor/*
%dir %{_libdir}/libvisual-%{majversion}/input/
%{_libdir}/libvisual-%{majversion}/input/*
%dir %{_libdir}/libvisual-%{majversion}/morph/
%{_libdir}/libvisual-%{majversion}/morph/*
%dir %{_datadir}/libvisual-plugins-%{majversion}
%dir %{_datadir}/libvisual-plugins-%{majversion}/actor
%dir %{_datadir}/libvisual-plugins-%{majversion}/actor/actor_gforce
%dir %{_datadir}/libvisual-plugins-%{majversion}/actor/actor_gforce/GForceColorMaps
%{_datadir}/libvisual-plugins-%{majversion}/actor/actor_gforce/GForceColorMaps/*
%dir %{_datadir}/libvisual-plugins-%{majversion}/actor/actor_gforce/GForceDeltaFields
%{_datadir}/libvisual-plugins-%{majversion}/actor/actor_gforce/GForceDeltaFields/*
%dir %{_datadir}/libvisual-plugins-%{majversion}/actor/actor_gforce/GForceParticles
%{_datadir}/libvisual-plugins-%{majversion}/actor/actor_gforce/GForceParticles/*
%dir %{_datadir}/libvisual-plugins-%{majversion}/actor/actor_gforce/GForceWaveShapes
%{_datadir}/libvisual-plugins-%{majversion}/actor/actor_gforce/GForceWaveShapes/*
%dir %{_datadir}/libvisual-plugins-%{majversion}/actor/actor_madspin
%{_datadir}/libvisual-plugins-%{majversion}/actor/actor_madspin/*
%changelog
* Wed Sep 07 2022 Automatic Build System <autodist@mambasoft.it> 0.4.0-6mamba
- automatic rebuild by autodist
* Tue Sep 06 2022 Automatic Build System <autodist@mambasoft.it> 0.4.0-5mamba
- automatic rebuild by autodist
* Tue Dec 14 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.0-4mamba
- rebuilt from a source package splitted by libvisual
- added patchset from sources.gentoo.org/cgi-bin/viewvc.cgi/src/patchsets/libvisual-plugins/0.4.0
* Wed Dec 12 2007 Aleph0 <aleph0@openmamba.org> 0.4.0-3mamba
- updated specfile
* Tue Feb 27 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.0-2qilnx
- rebuilt
* Thu Jun 15 2006 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 0.4.0-1qilnx
- update to version 0.4.0 by autospec
* Tue Aug 09 2005 Davide Madrisan <davide.madrisan@qilinux.it> 0.2.0-2qilnx
- added libvisual plugins
* Mon Feb 21 2005 Davide Madrisan <davide.madrisan@qilinux.it> 0.2.0-1qilnx
- update to version 0.2.0 by autospec
* Thu Sep 30 2004 Davide Madrisan <davide.madrisan@qilinux.it> 0.1.6-1qilnx
- package created by autospec