Merged update from upstream sources
This is an automated DistroBaker update from upstream sources. If you do not know what this is about or would like to opt out, contact the OSCI team. Source: https://src.fedoraproject.org/rpms/libvisual.git#2393aa20b993d8ffd7b5a572d53e0c1bc8f70fd3
This commit is contained in:
parent
12eda77b35
commit
b736ea8738
@ -2,15 +2,15 @@
|
||||
|
||||
Name: libvisual
|
||||
Version: 0.4.0
|
||||
Release: 30%{?dist}
|
||||
Release: 31%{?dist}
|
||||
Epoch: 1
|
||||
Summary: Abstraction library for audio visualisation plugins
|
||||
License: LGPLv2+
|
||||
URL: http://libvisual.sf.net
|
||||
Source0: http://dl.sf.net/libvisual/libvisual-%{version}.tar.gz
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: make
|
||||
BuildRequires: xorg-x11-proto-devel
|
||||
BuildRequires: make
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=435771
|
||||
Patch0: libvisual-0.4.0-better-altivec-detection.patch
|
||||
Patch1: libvisual-0.4.0-inlinedefineconflict.patch
|
||||
@ -46,14 +46,12 @@ This package contains the files needed to build an application with libvisual.
|
||||
%patch2 -p1 -b .format-security
|
||||
|
||||
%build
|
||||
%ifarch i386
|
||||
export CFLAGS="${RPM_OPT_FLAGS} -mmmx"
|
||||
%endif
|
||||
%global optflags %{optflags} -fno-strict-aliasing
|
||||
%configure
|
||||
make %{?_smp_mflags}
|
||||
%make_build
|
||||
|
||||
%install
|
||||
make install DESTDIR=%{buildroot}
|
||||
%make_install
|
||||
|
||||
# Avoid multilib conflicts
|
||||
case `uname -i` in
|
||||
@ -96,8 +94,6 @@ find %{buildroot} -type f -name "*.la" -exec rm -f {} ';'
|
||||
|
||||
%find_lang %{name}-%{smallversion}
|
||||
|
||||
%ldconfig_scriptlets
|
||||
|
||||
%files -f %{name}-%{smallversion}.lang
|
||||
%doc AUTHORS ChangeLog NEWS README TODO
|
||||
%license COPYING
|
||||
@ -111,6 +107,12 @@ find %{buildroot} -type f -name "*.la" -exec rm -f {} ';'
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Jan 19 2021 Kalev Lember <klember@redhat.com> - 1:0.4.0-31
|
||||
- Use make_build/make_install macros
|
||||
- Drop unneeded ldconfig_scriptlets macro call
|
||||
- Remove a no longer needed -mmmx CFLAGS addition
|
||||
- Disable strict aliasing
|
||||
|
||||
* Fri Jan 15 2021 Kalev Lember <klember@redhat.com> - 1:0.4.0-30
|
||||
- Fix multilib conflicts in lvconfig.h
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user