Accepting request 224407 from multimedia:libs

- package the original tarball instead of re-packed tar.bz2 (forwarded request 224406 from tiwai)

OBS-URL: https://build.opensuse.org/request/show/224407
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ladspa?expand=0&rev=29
This commit is contained in:
Stephan Kulow 2014-03-04 12:32:32 +00:00 committed by Git OBS Bridge
commit 3823ca26b1
4 changed files with 31 additions and 20 deletions

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Mon Mar 3 11:58:41 CET 2014 - tiwai@suse.de
- package the original tarball instead of re-packed tar.bz2
-------------------------------------------------------------------
Sat Mar 1 21:25:49 UTC 2014 - andreas.stieger@gmx.de
- some spec file cleanup
- add source URLs, see https://en.opensuse.org/SourceUrls
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Dec 16 15:14:29 CET 2013 - tiwai@suse.de Mon Dec 16 15:14:29 CET 2013 - tiwai@suse.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package ladspa # spec file for package ladspa
# #
# 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 # 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
@ -17,18 +17,18 @@
Name: ladspa Name: ladspa
BuildRequires: gcc-c++ Version: 1.13
Release: 0
Summary: The Linux Audio Developer's Simple Plug-In API Summary: The Linux Audio Developer's Simple Plug-In API
License: LGPL-2.1+ License: LGPL-2.1+
Group: Productivity/Multimedia/Sound/Utilities Group: Productivity/Multimedia/Sound/Utilities
Version: 1.13 Url: http://www.ladspa.org/
Release: 0 Source: http://www.ladspa.org/download/%{name}_sdk_%{version}.tgz
Patch0: ladspa.dif
BuildRequires: gcc-c++
BuildRoot: %{_tmppath}/%{name}-%{version}-build
AutoReq: on AutoReq: on
Autoprov: off Autoprov: off
Source: ladspa_sdk_1.13.tar.bz2
Patch: ladspa.dif
Url: http://www.ladspa.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
The Linux Audio Developer's Simple Plug-in API (LADSPA) provides the The Linux Audio Developer's Simple Plug-in API (LADSPA) provides the
@ -38,7 +38,7 @@ dynamically. This package contains the plugins built from LADSPA SDK.
%package devel %package devel
Summary: Include Files mandatory for Development Summary: Include Files mandatory for Development
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
%if 0%{suse_version} > 1110 %if 0%{?suse_version} > 1110
BuildArch: noarch BuildArch: noarch
%endif %endif
@ -47,24 +47,24 @@ This package contains include files to develop LADSPA plugins.
%prep %prep
%setup -q -n ladspa_sdk %setup -q -n ladspa_sdk
%patch -p1 %patch0 -p1
ln -s ../ladspa.h src/plugins/ladspa.h ln -s ../ladspa.h src/plugins/ladspa.h
%build %build
# This package failed when testing with -Wl,-as-needed being default. # 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. # So we disable it here, if you want to retest, just delete this comment and the line below.
export SUSE_ASNEEDED=0 export SUSE_ASNEEDED=0
make -C src %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS -fPIC -ggdb" targets make -C src %{?_smp_mflags} CFLAGS="%{optflags} -fPIC -ggdb" targets
%install %install
make -C src \ make -C src \
INSTALL_PLUGINS_DIR="$RPM_BUILD_ROOT"%{_libdir}/ladspa \ INSTALL_PLUGINS_DIR=%{buildroot}%{_libdir}/ladspa \
INSTALL_INCLUDE_DIR="$RPM_BUILD_ROOT"%{_includedir} \ INSTALL_INCLUDE_DIR=%{buildroot}%{_includedir} \
INSTALL_BINARY_DIR="$RPM_BUILD_ROOT"%{_bindir} install INSTALL_BINARY_DIR=%{buildroot}%{_bindir} install
# devel package # devel package
mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name}-devel mkdir -p %{buildroot}%{_docdir}/%{name}-devel
cp -av doc/* $RPM_BUILD_ROOT%{_docdir}/%{name}-devel cp -av doc/* %{buildroot}%{_docdir}/%{name}-devel
ln -sf %{_includedir}/ladspa.h $RPM_BUILD_ROOT%{_docdir}/%{name}-devel/ladspa.h.txt ln -sf %{_includedir}/ladspa.h %{buildroot}%{_docdir}/%{name}-devel/ladspa.h.txt
%files %files
%defattr(-,root,root) %defattr(-,root,root)

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ffdeae3f5130560224573e4f2536daeec6c8c9482e0066104421063799fa32e7
size 65417

3
ladspa_sdk_1.13.tgz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b5ed3f4f253a0f6c1b7a1f4b8cf62376ca9f51d999650dd822650c43852d306b
size 70540