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
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# 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
|
||||
# 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)
|
||||
# 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
|
||||
BuildRequires: freeglut-devel
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libdrm-devel
|
||||
BuildRequires: libtool
|
||||
BuildRequires: pkgconfig
|
||||
Version: 0.4.0
|
||||
Release: 0
|
||||
# bug437293
|
||||
%ifarch ppc64
|
||||
# bug437293
|
||||
Obsoletes: libvisual-64bit
|
||||
%endif
|
||||
#
|
||||
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
|
||||
Url: http://localhost.nl/~synap/libvisual-wiki/index.php/Main_Page
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
URL: http://localhost.nl/~synap/libvisual-wiki/index.php/Main_Page
|
||||
Source: %name-%{version}.tar.bz2
|
||||
Source2: baselibs.conf
|
||||
Patch: %name-%{version}.diff
|
||||
@ -42,30 +35,33 @@ Patch2: libvisual.visual_cpu_get_altivec.patch
|
||||
Patch3: %name-%{version}-unref-static.diff
|
||||
Patch4: libvisual-0.4.0-2.1-nmu.diff
|
||||
Patch5: libvisual-0.4.0-inlinedefineconflict.patch
|
||||
BuildRequires: freeglut-devel
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libdrm-devel
|
||||
BuildRequires: libtool
|
||||
BuildRequires: pkgconfig
|
||||
|
||||
%description
|
||||
Libvisual is a library that acts as a middle layer between applications
|
||||
that need audio visualization and audio visualization plug-ins.
|
||||
|
||||
%package -n libvisual-0_4-0
|
||||
Summary: Sound Visualization library
|
||||
Group: System/Libraries
|
||||
|
||||
|
||||
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>
|
||||
%description -n libvisual-0_4-0
|
||||
Libvisual is a library that acts as a middle layer between applications
|
||||
that need audio visualization and audio visualization plug-ins.
|
||||
|
||||
%package devel
|
||||
Summary: sound visualisation library
|
||||
Summary: Headers for the libvisual sound visualization library
|
||||
Group: Productivity/Multimedia/Sound/Visualization
|
||||
Requires: %{name} = %{version}
|
||||
Requires: glibc-devel
|
||||
Requires: libvisual-0_4-0 = %{version}-%{release}
|
||||
# bug437293
|
||||
%ifarch ppc64
|
||||
Obsoletes: libvisual-devel-64bit
|
||||
%endif
|
||||
#
|
||||
|
||||
%description devel
|
||||
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.
|
||||
|
||||
|
||||
|
||||
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
|
||||
%setup -q
|
||||
%patch
|
||||
@ -94,41 +81,39 @@ Authors:
|
||||
%build
|
||||
autoreconf -fiv
|
||||
%if %suse_version > 1000
|
||||
CFLAGS="$RPM_OPT_FLAGS -fstack-protector"
|
||||
CFLAGS="%optflags -fstack-protector"
|
||||
%endif
|
||||
%ifarch %ix86
|
||||
CFLAGS="$RPM_OPT_FLAGS -mmmx"
|
||||
CFLAGS="%optflags -mmmx"
|
||||
%else
|
||||
CFLAGS="$RPM_OPT_FLAGS"
|
||||
CFLAGS="%optflags"
|
||||
%endif
|
||||
export CFLAGS="$CFLAGS -fno-strict-aliasing"
|
||||
%configure --disable-static --with-pic
|
||||
%{__make} %{?jobs:-j%jobs}
|
||||
%configure --disable-static
|
||||
%make_build
|
||||
|
||||
%install
|
||||
make DESTDIR=$RPM_BUILD_ROOT install
|
||||
mkdir -p $RPM_BUILD_ROOT%_libdir/%name/{morph,input,actor,transform} $RPM_BUILD_ROOT%_datadir/%name/{morph,input,actor,transform}
|
||||
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
|
||||
mv $RPM_BUILD_ROOT/%_libdir/libvisual-0.4.la.1 $RPM_BUILD_ROOT/%_libdir/libvisual-0.4.la
|
||||
%make_install
|
||||
for i in morph input actor transform; do
|
||||
mkdir -p %buildroot/%_libdir/%name/$i %buildroot/%_datadir/%name/$i
|
||||
done
|
||||
rm -v %buildroot/%_libdir/*.la
|
||||
# *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
|
||||
%defattr(-,root,root)
|
||||
%doc AUTHORS README ChangeLog NEWS TODO COPYING
|
||||
%files -n libvisual-0_4-0
|
||||
%_libdir/libvisual-0.4.so.*
|
||||
%_libdir/libvisual
|
||||
%_datadir/libvisual
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
/usr/include/libvisual-0.4
|
||||
%doc AUTHORS README ChangeLog NEWS TODO
|
||||
%license COPYING
|
||||
%_includedir/libvisual-0.4
|
||||
%_libdir/pkgconfig/libvisual-0.4.pc
|
||||
%_libdir/libvisual-0.4.so
|
||||
%_libdir/libvisual-0.4.la
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user