Accepting request 979308 from KDE:KDE3
OBS-URL: https://build.opensuse.org/request/show/979308 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvisual?expand=0&rev=25
This commit is contained in:
commit
a072c8e894
@ -1 +1 @@
|
|||||||
libvisual
|
libvisual-0_4-0
|
||||||
|
@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 11 09:45:01 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Remove old specfile constructs
|
||||||
|
- Remove --with-pic, this is only useful with --enable-static
|
||||||
|
- Make %install sh-compatible
|
||||||
|
- Remove .la files, I do not think we will need it
|
||||||
|
- Repair rpmlint error "libvisual.x86_64: E:
|
||||||
|
shlib-policy-name-error SONAME: libvisual-0.4.so.0, expected
|
||||||
|
package suffix: 0_4-0"
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Feb 2 18:52:30 UTC 2013 - coolo@suse.com
|
Sat Feb 2 18:52:30 UTC 2013 - coolo@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libvisual
|
# spec file for package libvisual
|
||||||
#
|
#
|
||||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2022 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -12,28 +12,21 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
Name: libvisual
|
Name: libvisual
|
||||||
BuildRequires: freeglut-devel
|
|
||||||
BuildRequires: gcc-c++
|
|
||||||
BuildRequires: libdrm-devel
|
|
||||||
BuildRequires: libtool
|
|
||||||
BuildRequires: pkgconfig
|
|
||||||
Version: 0.4.0
|
Version: 0.4.0
|
||||||
Release: 0
|
Release: 0
|
||||||
# bug437293
|
|
||||||
%ifarch ppc64
|
%ifarch ppc64
|
||||||
|
# bug437293
|
||||||
Obsoletes: libvisual-64bit
|
Obsoletes: libvisual-64bit
|
||||||
%endif
|
%endif
|
||||||
#
|
|
||||||
Summary: Sound Visualization Library
|
Summary: Sound Visualization Library
|
||||||
License: GPL-2.0+ and LGPL-2.1+
|
License: GPL-2.0-or-later AND LGPL-2.1-or-later
|
||||||
Group: Productivity/Multimedia/Sound/Visualization
|
Group: Productivity/Multimedia/Sound/Visualization
|
||||||
Url: http://localhost.nl/~synap/libvisual-wiki/index.php/Main_Page
|
URL: http://localhost.nl/~synap/libvisual-wiki/index.php/Main_Page
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
Source: %name-%{version}.tar.bz2
|
Source: %name-%{version}.tar.bz2
|
||||||
Source2: baselibs.conf
|
Source2: baselibs.conf
|
||||||
Patch: %name-%{version}.diff
|
Patch: %name-%{version}.diff
|
||||||
@ -42,30 +35,33 @@ Patch2: libvisual.visual_cpu_get_altivec.patch
|
|||||||
Patch3: %name-%{version}-unref-static.diff
|
Patch3: %name-%{version}-unref-static.diff
|
||||||
Patch4: libvisual-0.4.0-2.1-nmu.diff
|
Patch4: libvisual-0.4.0-2.1-nmu.diff
|
||||||
Patch5: libvisual-0.4.0-inlinedefineconflict.patch
|
Patch5: libvisual-0.4.0-inlinedefineconflict.patch
|
||||||
|
BuildRequires: freeglut-devel
|
||||||
|
BuildRequires: gcc-c++
|
||||||
|
BuildRequires: libdrm-devel
|
||||||
|
BuildRequires: libtool
|
||||||
|
BuildRequires: pkgconfig
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Libvisual is a library that acts as a middle layer between applications
|
Libvisual is a library that acts as a middle layer between applications
|
||||||
that need audio visualization and audio visualization plug-ins.
|
that need audio visualization and audio visualization plug-ins.
|
||||||
|
|
||||||
|
%package -n libvisual-0_4-0
|
||||||
|
Summary: Sound Visualization library
|
||||||
|
Group: System/Libraries
|
||||||
|
|
||||||
|
%description -n libvisual-0_4-0
|
||||||
Authors:
|
Libvisual is a library that acts as a middle layer between applications
|
||||||
--------
|
that need audio visualization and audio visualization plug-ins.
|
||||||
Dennis Smit <synap@nerds-incorporated.org>
|
|
||||||
Duilio J. Protti <dprotti@users.sourceforge.net>
|
|
||||||
Vitaly V. Bursov <vitalyb@mail333.com>
|
|
||||||
Gustavo Sverzut Barbieri <gsbarbieri@yahoo.com.br>
|
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: sound visualisation library
|
Summary: Headers for the libvisual sound visualization library
|
||||||
Group: Productivity/Multimedia/Sound/Visualization
|
Group: Productivity/Multimedia/Sound/Visualization
|
||||||
Requires: %{name} = %{version}
|
|
||||||
Requires: glibc-devel
|
Requires: glibc-devel
|
||||||
|
Requires: libvisual-0_4-0 = %{version}-%{release}
|
||||||
# bug437293
|
# bug437293
|
||||||
%ifarch ppc64
|
%ifarch ppc64
|
||||||
Obsoletes: libvisual-devel-64bit
|
Obsoletes: libvisual-devel-64bit
|
||||||
%endif
|
%endif
|
||||||
#
|
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
Libvisual is a library that acts as a middle layer between applications
|
Libvisual is a library that acts as a middle layer between applications
|
||||||
@ -73,15 +69,6 @@ that want audio visualisation and audio visualisation plugins.
|
|||||||
|
|
||||||
This library is used by amaroK for example.
|
This library is used by amaroK for example.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Dennis Smit <synap@nerds-incorporated.org>
|
|
||||||
Duilio J. Protti <dprotti@users.sourceforge.net>
|
|
||||||
Vitaly V. Bursov <vitalyb@mail333.com>
|
|
||||||
Gustavo Sverzut Barbieri <gsbarbieri@yahoo.com.br>
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch
|
%patch
|
||||||
@ -94,41 +81,39 @@ Authors:
|
|||||||
%build
|
%build
|
||||||
autoreconf -fiv
|
autoreconf -fiv
|
||||||
%if %suse_version > 1000
|
%if %suse_version > 1000
|
||||||
CFLAGS="$RPM_OPT_FLAGS -fstack-protector"
|
CFLAGS="%optflags -fstack-protector"
|
||||||
%endif
|
%endif
|
||||||
%ifarch %ix86
|
%ifarch %ix86
|
||||||
CFLAGS="$RPM_OPT_FLAGS -mmmx"
|
CFLAGS="%optflags -mmmx"
|
||||||
%else
|
%else
|
||||||
CFLAGS="$RPM_OPT_FLAGS"
|
CFLAGS="%optflags"
|
||||||
%endif
|
%endif
|
||||||
export CFLAGS="$CFLAGS -fno-strict-aliasing"
|
export CFLAGS="$CFLAGS -fno-strict-aliasing"
|
||||||
%configure --disable-static --with-pic
|
%configure --disable-static
|
||||||
%{__make} %{?jobs:-j%jobs}
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=$RPM_BUILD_ROOT install
|
%make_install
|
||||||
mkdir -p $RPM_BUILD_ROOT%_libdir/%name/{morph,input,actor,transform} $RPM_BUILD_ROOT%_datadir/%name/{morph,input,actor,transform}
|
for i in morph input actor transform; do
|
||||||
sed -e 's, -L%{_builddir}/libvisual-%{version}/libvisual , ,' $RPM_BUILD_ROOT/%_libdir/libvisual-0.4.la > $RPM_BUILD_ROOT/%_libdir/libvisual-0.4.la.1
|
mkdir -p %buildroot/%_libdir/%name/$i %buildroot/%_datadir/%name/$i
|
||||||
mv $RPM_BUILD_ROOT/%_libdir/libvisual-0.4.la.1 $RPM_BUILD_ROOT/%_libdir/libvisual-0.4.la
|
done
|
||||||
|
rm -v %buildroot/%_libdir/*.la
|
||||||
# *fixme*
|
# *fixme*
|
||||||
rm -rf $RPM_BUILD_ROOT/%_datadir/locale
|
rm -rf %buildroot/%_datadir/locale
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -n libvisual-0_4-0 -p /sbin/ldconfig
|
||||||
|
%postun -n libvisual-0_4-0 -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
%files -n libvisual-0_4-0
|
||||||
|
|
||||||
%files
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc AUTHORS README ChangeLog NEWS TODO COPYING
|
|
||||||
%_libdir/libvisual-0.4.so.*
|
%_libdir/libvisual-0.4.so.*
|
||||||
%_libdir/libvisual
|
%_libdir/libvisual
|
||||||
%_datadir/libvisual
|
%_datadir/libvisual
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%doc AUTHORS README ChangeLog NEWS TODO
|
||||||
/usr/include/libvisual-0.4
|
%license COPYING
|
||||||
|
%_includedir/libvisual-0.4
|
||||||
%_libdir/pkgconfig/libvisual-0.4.pc
|
%_libdir/pkgconfig/libvisual-0.4.pc
|
||||||
%_libdir/libvisual-0.4.so
|
%_libdir/libvisual-0.4.so
|
||||||
%_libdir/libvisual-0.4.la
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user