From 35311d323ccdc8fa4d0e8fde428e4c893326ffb25e531bff3b626554f4d6ceb0 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Mon, 17 Nov 2008 16:19:57 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvisual?expand=0&rev=5 --- libvisual.changes | 5 +++++ libvisual.spec | 42 +++++++++++++++++++++++------------------- 2 files changed, 28 insertions(+), 19 deletions(-) diff --git a/libvisual.changes b/libvisual.changes index 4ca5c33..7b32b9c 100644 --- a/libvisual.changes +++ b/libvisual.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Nov 13 00:16:30 CET 2008 - crrodriguez@suse.de + +- use -fno-strict-aliasing to avoid breakages. + ------------------------------------------------------------------- Thu Apr 10 12:54:45 CEST 2008 - ro@suse.de diff --git a/libvisual.spec b/libvisual.spec index 0b85912..559b358 100644 --- a/libvisual.spec +++ b/libvisual.spec @@ -2,9 +2,16 @@ # spec file for package libvisual (Version 0.4.0) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. -# This file and all modifications and additions to the pristine -# package are under the same license as the package itself. # +# 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/ # @@ -12,11 +19,11 @@ Name: libvisual -BuildRequires: freeglut-devel gcc-c++ glibc-devel libdrm-devel pkgconfig +BuildRequires: freeglut-devel gcc-c++ libdrm-devel pkgconfig License: GPL v2 or later; LGPL v2.1 or later Group: Productivity/Multimedia/Sound/Visualization Version: 0.4.0 -Release: 128 +Release: 174 Summary: Sound Visualization Library Url: http://localhost.nl/~synap/libvisual-wiki/index.php/Main_Page BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -43,7 +50,7 @@ Authors: License: GPL v2 or later; LGPL v2.1 or later Group: Productivity/Multimedia/Sound/Visualization Summary: sound visualisation library -Requires: libvisual = %{version} +Requires: %{name} = %{version} glibc-devel %description devel Libvisual is a library that acts as a middle layer between applications @@ -68,21 +75,18 @@ Authors: %patch3 %build -libtoolize --force -autoreconf -f -i +autoreconf -fiv %if %suse_version > 1000 -export RPM_OPT_FLAGS="$RPM_OPT_FLAGS -fstack-protector" +CFLAGS="$RPM_OPT_FLAGS -fstack-protector" %endif %ifarch %ix86 -export CFLAGS="$RPM_OPT_FLAGS -mmmx" +CFLAGS="$RPM_OPT_FLAGS -mmmx" %else -export CFLAGS="$RPM_OPT_FLAGS" +CFLAGS="$RPM_OPT_FLAGS" %endif -./configure \ - --prefix=/usr \ - --libdir=%_libdir \ - --enable-examples -make +export CFLAGS="$CFLAGS -fno-strict-aliasing" +%configure --disable-static --with-pic +%{__make} %{?jobs:-j%jobs} %install make DESTDIR=$RPM_BUILD_ROOT install @@ -92,11 +96,9 @@ mv $RPM_BUILD_ROOT/%_libdir/libvisual-0.4.la.1 $RPM_BUILD_ROOT/%_libdir/libvisua # *fixme* rm -rf $RPM_BUILD_ROOT/%_datadir/locale -%post -%run_ldconfig +%post -p /sbin/ldconfig -%postun -%run_ldconfig +%postun -p /sbin/ldconfig %files %defattr(-,root,root) @@ -113,6 +115,8 @@ rm -rf $RPM_BUILD_ROOT/%_datadir/locale %_libdir/libvisual-0.4.la %changelog +* Thu Nov 13 2008 crrodriguez@suse.de +- use -fno-strict-aliasing to avoid breakages. * Thu Apr 10 2008 ro@suse.de - added baselibs.conf file to build xxbit packages for multilib support