- Run spec-cleaner

- Remove obsoleted autoreq/autoprov tags
- Patches carried from the original ladspa package:
  swh-uninit-variable.diff
  swh-readonly.dif
  swh-0.4.13-gcc4-fix.diff
  swh-nostatic-lib.diff
  swh-libblo.dif

OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ladspa-swh-plugins?expand=0&rev=3
This commit is contained in:
Takashi Iwai 2014-03-03 13:06:28 +00:00 committed by Git OBS Bridge
parent 8d2380c594
commit 1c0e65bfac
2 changed files with 30 additions and 20 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Mar 3 14:05:53 CET 2014 - tiwai@suse.de
- Run spec-cleaner
- Remove obsoleted autoreq/autoprov tags
-------------------------------------------------------------------
Wed Feb 26 11:01:41 CET 2014 - tiwai@suse.de
@ -7,4 +13,9 @@ Wed Feb 26 11:01:41 CET 2014 - tiwai@suse.de
Mon Dec 16 11:24:37 CET 2013 - tiwai@suse.de
- Initial version 0.4.15: split from ladspa package
- Patches carried from the original ladspa package:
swh-uninit-variable.diff
swh-readonly.dif
swh-0.4.13-gcc4-fix.diff
swh-nostatic-lib.diff
swh-libblo.dif

View File

@ -1,7 +1,7 @@
#
# spec file for package ladspa-swh-plugins
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -15,22 +15,14 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: ladspa-swh-plugins
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: fftw3-devel
BuildRequires: gcc
BuildRequires: ladspa-devel
BuildRequires: libtool
BuildRequires: pkgconfig
Version: 0.4.15
Release: 0
Summary: LADSPA SWH plugins
License: GPL-2.0+
Group: Productivity/Multimedia/Sound/Utilities
Version: 0.4.15
Release: 0
AutoReq: on
Autoprov: off
Supplements: ladspa
Url: http://plugin.org.uk/
Source: swh-plugins-%{version}.tar.bz2
Source1: ladspa-swh.tex
Source2: ladspa-swh.pdf
@ -39,7 +31,14 @@ Patch2: swh-readonly.dif
Patch3: swh-0.4.13-gcc4-fix.diff
Patch4: swh-nostatic-lib.diff
Patch5: swh-libblo.dif
Url: http://plugin.org.uk/
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: fftw3-devel
BuildRequires: gcc
BuildRequires: ladspa-devel
BuildRequires: libtool
BuildRequires: pkgconfig
Supplements: ladspa
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -54,20 +53,20 @@ Simple Plug-in API) plugins written by Steve Harris.
%patch4 -p1
%patch5 -p1
cp gsm/README README-gsm
cp %{S:1} .
cp %{S:2} .
cp %{SOURCE1} .
cp %{SOURCE2} .
autoreconf -fi
%build
# This package failed when testing with -Wl,-as-needed being default.
# So we disable it here, if you want to retest, just delete this comment and the line below.
export SUSE_ASNEEDED=0
CFLAGS="$RPM_OPT_FLAGS -fPIC -ggdb -DPIC -fno-strict-aliasing" \
CFLAGS="%{optflags} -fPIC -ggdb -DPIC -fno-strict-aliasing" \
./configure --prefix=%{_prefix}
make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS -fPIC -ggdb -DPIC -fno-strict-aliasing"
make %{?_smp_mflags} CFLAGS="%{optflags} -fPIC -ggdb -DPIC -fno-strict-aliasing"
%install
make DESTDIR="$RPM_BUILD_ROOT" plugindir=%{_libdir}/ladspa install
make DESTDIR=%{buildroot} plugindir=%{_libdir}/ladspa install
%find_lang %{name} --all-name
%files -f %{name}.lang