This commit is contained in:
parent
40133d230a
commit
35311d323c
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user