|
|
6dd067 |
%global smallversion 0.4
|
|
|
6dd067 |
|
|
|
6dd067 |
Name: libvisual
|
|
|
6dd067 |
Version: 0.4.0
|
|
|
6dd067 |
Release: 25%{?dist}
|
|
|
6dd067 |
Epoch: 1
|
|
|
6dd067 |
Summary: Abstraction library for audio visualisation plugins
|
|
|
6dd067 |
Group: Applications/Multimedia
|
|
|
6dd067 |
License: LGPLv2+
|
|
|
6dd067 |
URL: http://libvisual.sf.net
|
|
|
6dd067 |
Source0: http://dl.sf.net/libvisual/libvisual-%{version}.tar.gz
|
|
|
6dd067 |
BuildRequires: xorg-x11-proto-devel
|
|
|
6dd067 |
# https://bugzilla.redhat.com/show_bug.cgi?id=435771
|
|
|
6dd067 |
Patch0: libvisual-0.4.0-better-altivec-detection.patch
|
|
|
6dd067 |
Patch1: libvisual-0.4.0-inlinedefineconflict.patch
|
|
|
6dd067 |
Patch2: libvisual-0.4.0-format-security.patch
|
|
|
6dd067 |
|
|
|
6dd067 |
%description
|
|
|
6dd067 |
Libvisual is an abstraction library that comes between applications and
|
|
|
6dd067 |
audio visualisation plugins.
|
|
|
6dd067 |
|
|
|
6dd067 |
Often when it comes to audio visualisation plugins or programs that create
|
|
|
6dd067 |
visuals they do depend on a player or something else, basically there is no
|
|
|
6dd067 |
general framework that enable application developers to easy access cool
|
|
|
6dd067 |
audio visualisation plugins. Libvisual wants to change this by providing
|
|
|
6dd067 |
an interface towards plugins and applications, through this easy to use
|
|
|
6dd067 |
interface applications can easily access plugins and since the drawing is
|
|
|
6dd067 |
done by the application it also enables the developer to draw the visual
|
|
|
6dd067 |
anywhere he wants.
|
|
|
6dd067 |
|
|
|
6dd067 |
%package devel
|
|
|
6dd067 |
Summary: Development files for libvisual
|
|
|
6dd067 |
Group: Development/Libraries
|
|
|
6dd067 |
Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}
|
|
|
6dd067 |
|
|
|
6dd067 |
%description devel
|
|
|
6dd067 |
Libvisual is an abstraction library that comes between applications and
|
|
|
6dd067 |
audio visualisation plugins.
|
|
|
6dd067 |
|
|
|
6dd067 |
This package contains the files needed to build an application with libvisual.
|
|
|
6dd067 |
|
|
|
6dd067 |
%prep
|
|
|
6dd067 |
%setup -q
|
|
|
6dd067 |
%patch0 -p1 -b .altivec-detection
|
|
|
6dd067 |
%patch1 -p1 -b .inlinedefineconflict
|
|
|
6dd067 |
%patch2 -p1 -b .format-security
|
|
|
6dd067 |
|
|
|
6dd067 |
%build
|
|
|
6dd067 |
%ifarch i386
|
|
|
6dd067 |
export CFLAGS="${RPM_OPT_FLAGS} -mmmx"
|
|
|
6dd067 |
%endif
|
|
|
6dd067 |
%configure
|
|
|
6dd067 |
make %{?_smp_mflags}
|
|
|
6dd067 |
|
|
|
6dd067 |
%install
|
|
|
6dd067 |
make install DESTDIR=%{buildroot}
|
|
|
6dd067 |
|
|
|
6dd067 |
# Avoid multilib conflicts
|
|
|
6dd067 |
case `uname -i` in
|
|
|
6dd067 |
i386 | ppc | s390 | sparc )
|
|
|
6dd067 |
wordsize="32"
|
|
|
6dd067 |
;;
|
|
|
6dd067 |
x86_64 | ppc64 | s390x | sparc64 )
|
|
|
6dd067 |
wordsize="64"
|
|
|
6dd067 |
;;
|
|
|
6dd067 |
*)
|
|
|
6dd067 |
wordsize=""
|
|
|
6dd067 |
;;
|
|
|
6dd067 |
esac
|
|
|
6dd067 |
|
|
|
6dd067 |
if test -n "$wordsize"
|
|
|
6dd067 |
then
|
|
|
6dd067 |
mv %{buildroot}%{_includedir}/libvisual-%{smallversion}/libvisual/lvconfig.h \
|
|
|
6dd067 |
%{buildroot}%{_includedir}/libvisual-%{smallversion}/libvisual/lvconfig-$wordsize.h
|
|
|
6dd067 |
|
|
|
6dd067 |
cat >%{buildroot}%{_includedir}/libvisual-%{smallversion}/libvisual/lvconfig.h <
|
|
|
6dd067 |
#ifndef __LV_CONFIG_H_MULTILIB__
|
|
|
6dd067 |
#define __LV_CONFIG_H_MULTILIB__
|
|
|
6dd067 |
|
|
|
6dd067 |
#include <bits/wordsize.h>
|
|
|
6dd067 |
|
|
|
6dd067 |
#if __WORDSIZE == 32
|
|
|
6dd067 |
# include "lvconfig-32.h"
|
|
|
6dd067 |
#elif __WORDSIZE == 64
|
|
|
6dd067 |
# include "lvconfig-64.h"
|
|
|
6dd067 |
#else
|
|
|
6dd067 |
# error "unexpected value for __WORDSIZE macro"
|
|
|
6dd067 |
#endif
|
|
|
6dd067 |
|
|
|
6dd067 |
#endif
|
|
|
6dd067 |
EOF
|
|
|
6dd067 |
|
|
|
6dd067 |
fi
|
|
|
6dd067 |
|
|
|
6dd067 |
find %{buildroot} -type f -name "*.la" -exec rm -f {} ';'
|
|
|
6dd067 |
|
|
|
6dd067 |
%find_lang %{name}-%{smallversion}
|
|
|
6dd067 |
|
|
|
6dd067 |
%post -p /sbin/ldconfig
|
|
|
6dd067 |
|
|
|
6dd067 |
%postun -p /sbin/ldconfig
|
|
|
6dd067 |
|
|
|
6dd067 |
%files -f %{name}-%{smallversion}.lang
|
|
|
6dd067 |
%doc AUTHORS ChangeLog NEWS README TODO
|
|
|
6dd067 |
%license COPYING
|
|
|
6dd067 |
%{_libdir}/*.so.*
|
|
|
6dd067 |
|
|
|
6dd067 |
%files devel
|
|
|
6dd067 |
%doc README NEWS TODO AUTHORS
|
|
|
6dd067 |
%{_libdir}/*.so
|
|
|
6dd067 |
%{_libdir}/pkgconfig/*.pc
|
|
|
6dd067 |
%{_includedir}/%{name}-%{smallversion}
|
|
|
6dd067 |
|
|
|
6dd067 |
|
|
|
6dd067 |
%changelog
|
|
|
6dd067 |
* Fri Jan 15 2021 Kalev Lember <klember@redhat.com> - 1:0.4.0-25
|
|
|
6dd067 |
- Fix multilib conflicts in lvconfig.h
|
|
|
6dd067 |
- Resolves: #1853155
|
|
|
6dd067 |
|
|
|
6dd067 |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.4.0-24
|
|
|
6dd067 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
6dd067 |
|
|
|
6dd067 |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.4.0-23
|
|
|
6dd067 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
6dd067 |
|
|
|
6dd067 |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.4.0-22
|
|
|
6dd067 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
6dd067 |
|
|
|
6dd067 |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.4.0-21
|
|
|
6dd067 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
6dd067 |
|
|
|
6dd067 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.4.0-20
|
|
|
6dd067 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
6dd067 |
|
|
|
6dd067 |
* Tue Jan 19 2016 Tom Callaway <spot@fedoraproject.org> - 1:0.4.0-19
|
|
|
6dd067 |
- spec file cleanups
|
|
|
6dd067 |
|
|
|
6dd067 |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.4.0-18
|
|
|
6dd067 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
6dd067 |
|
|
|
6dd067 |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.4.0-17
|
|
|
6dd067 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
6dd067 |
|
|
|
6dd067 |
* Fri Jun 13 2014 Kalev Lember <kalevlember@gmail.com> - 1:0.4.0-16
|
|
|
6dd067 |
- Fix epoch use
|
|
|
6dd067 |
|
|
|
6dd067 |
* Wed Jun 11 2014 Tom Callaway <spot@fedoraproject.org> - 1:0.4.0-15
|
|
|
6dd067 |
- 0.5.0 beta was a bad idea. nothing else supports it.
|
|
|
6dd067 |
- fix format-security issue
|
|
|
6dd067 |
|
|
|
6dd067 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0-14
|
|
|
6dd067 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
6dd067 |
|
|
|
6dd067 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0-13
|
|
|
6dd067 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
6dd067 |
|
|
|
6dd067 |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0-12
|
|
|
6dd067 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
6dd067 |
|
|
|
6dd067 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0-11
|
|
|
6dd067 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
6dd067 |
|
|
|
6dd067 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0-10
|
|
|
6dd067 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
6dd067 |
|
|
|
6dd067 |
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0-9
|
|
|
6dd067 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
6dd067 |
|
|
|
6dd067 |
* Sat Mar 07 2009 Caolán McNamara <caolanm@redhat.com> - 0.4.0-8
|
|
|
6dd067 |
- defining inline causes problems trying to build against libvisual headers,
|
|
|
6dd067 |
e.g. libvisual-plugins
|
|
|
6dd067 |
|
|
|
6dd067 |
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0-7
|
|
|
6dd067 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
6dd067 |
|
|
|
6dd067 |
* Tue Mar 11 2008 - Bastien Nocera <bnocera@redhat.com> - 0.4.0-6
|
|
|
6dd067 |
- Better Altivec detection, code from David Woodhouse
|
|
|
6dd067 |
|
|
|
6dd067 |
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.4.0-5
|
|
|
6dd067 |
- Autorebuild for GCC 4.3
|
|
|
6dd067 |
|
|
|
6dd067 |
* Sun Aug 26 2007 Aurelien Bompard <abompard@fedoraproject.org> 0.4.0-4
|
|
|
6dd067 |
- fix license tag
|
|
|
6dd067 |
|
|
|
6dd067 |
* Wed Aug 30 2006 Aurelien Bompard <abompard@fedoraproject.org> 0.4.0-3
|
|
|
6dd067 |
- rebuild
|
|
|
6dd067 |
|
|
|
6dd067 |
* Sat Jul 08 2006 Aurelien Bompard <abompard@fedoraproject.org> 0.4.0-2
|
|
|
6dd067 |
- bump release
|
|
|
6dd067 |
|
|
|
6dd067 |
* Thu Jul 06 2006 Aurelien Bompard <abompard@fedoraproject.org> 0.4.0-1
|
|
|
6dd067 |
- version 0.4.0
|
|
|
6dd067 |
- drop Patch0 (applied upstream)
|
|
|
6dd067 |
|
|
|
6dd067 |
* Tue Feb 21 2006 Aurelien Bompard <gauret[AT]free.fr> 0.2.0-8
|
|
|
6dd067 |
- fix dependency for modular X
|
|
|
6dd067 |
|
|
|
6dd067 |
* Tue Feb 21 2006 Aurelien Bompard <gauret[AT]free.fr> 0.2.0-7
|
|
|
6dd067 |
- rebuild for FC5
|
|
|
6dd067 |
|
|
|
6dd067 |
* Wed Jun 15 2005 Aurelien Bompard <gauret[AT]free.fr> 0.2.0-6
|
|
|
6dd067 |
- rebuild
|
|
|
6dd067 |
|
|
|
6dd067 |
* Wed Jun 15 2005 Aurelien Bompard <gauret[AT]free.fr> 0.2.0-5
|
|
|
6dd067 |
- fix build for GCC4
|
|
|
6dd067 |
|
|
|
6dd067 |
* Thu Jun 9 2005 Michael Schwendt <mschwendt[AT]users.sf.net> 0.2.0-4
|
|
|
6dd067 |
- use dist tag for all-arch-rebuild
|
|
|
6dd067 |
|
|
|
6dd067 |
* Thu Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> 0.2.0-3
|
|
|
6dd067 |
- rebuilt
|
|
|
6dd067 |
|
|
|
6dd067 |
* Mon Feb 14 2005 David Woodhouse <dwmw2@infradead.org> 0.2.0-2
|
|
|
6dd067 |
- Fix bogus #if where #ifdef was meant
|
|
|
6dd067 |
|
|
|
6dd067 |
* Thu Feb 10 2005 Aurelien Bompard <gauret[AT]free.fr> 0.2.0-1
|
|
|
6dd067 |
- version 0.2.0
|
|
|
6dd067 |
- drop patch
|
|
|
6dd067 |
|
|
|
6dd067 |
* Sat Nov 27 2004 Aurelien Bompard <gauret[AT]free.fr> 0:0.1.7-0.fdr.1
|
|
|
6dd067 |
- version 0.1.7
|
|
|
6dd067 |
|
|
|
6dd067 |
* Thu Oct 21 2004 Aurelien Bompard <gauret[AT]free.fr> 0:0.1.6-0.fdr.2
|
|
|
6dd067 |
- Apply Adrian Reber's suggestions in bug 2182
|
|
|
6dd067 |
|
|
|
6dd067 |
* Tue Sep 28 2004 Aurelien Bompard <gauret[AT]free.fr> 0:0.1.6-0.fdr.1
|
|
|
6dd067 |
- Initial RPM release.
|