Blame SPECS/libvisual.spec

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