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:
commit
3823ca26b1
@ -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
|
||||
|
||||
|
34
ladspa.spec
34
ladspa.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# 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
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -17,18 +17,18 @@
|
||||
|
||||
|
||||
Name: ladspa
|
||||
BuildRequires: gcc-c++
|
||||
Version: 1.13
|
||||
Release: 0
|
||||
Summary: The Linux Audio Developer's Simple Plug-In API
|
||||
License: LGPL-2.1+
|
||||
Group: Productivity/Multimedia/Sound/Utilities
|
||||
Version: 1.13
|
||||
Release: 0
|
||||
Url: http://www.ladspa.org/
|
||||
Source: http://www.ladspa.org/download/%{name}_sdk_%{version}.tgz
|
||||
Patch0: ladspa.dif
|
||||
BuildRequires: gcc-c++
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
AutoReq: on
|
||||
Autoprov: off
|
||||
Source: ladspa_sdk_1.13.tar.bz2
|
||||
Patch: ladspa.dif
|
||||
Url: http://www.ladspa.org/
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
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
|
||||
Summary: Include Files mandatory for Development
|
||||
Group: Development/Libraries/C and C++
|
||||
%if 0%{suse_version} > 1110
|
||||
%if 0%{?suse_version} > 1110
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
|
||||
@ -47,24 +47,24 @@ This package contains include files to develop LADSPA plugins.
|
||||
|
||||
%prep
|
||||
%setup -q -n ladspa_sdk
|
||||
%patch -p1
|
||||
%patch0 -p1
|
||||
ln -s ../ladspa.h src/plugins/ladspa.h
|
||||
|
||||
%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
|
||||
make -C src %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS -fPIC -ggdb" targets
|
||||
make -C src %{?_smp_mflags} CFLAGS="%{optflags} -fPIC -ggdb" targets
|
||||
|
||||
%install
|
||||
make -C src \
|
||||
INSTALL_PLUGINS_DIR="$RPM_BUILD_ROOT"%{_libdir}/ladspa \
|
||||
INSTALL_INCLUDE_DIR="$RPM_BUILD_ROOT"%{_includedir} \
|
||||
INSTALL_BINARY_DIR="$RPM_BUILD_ROOT"%{_bindir} install
|
||||
INSTALL_PLUGINS_DIR=%{buildroot}%{_libdir}/ladspa \
|
||||
INSTALL_INCLUDE_DIR=%{buildroot}%{_includedir} \
|
||||
INSTALL_BINARY_DIR=%{buildroot}%{_bindir} install
|
||||
# devel package
|
||||
mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name}-devel
|
||||
cp -av doc/* $RPM_BUILD_ROOT%{_docdir}/%{name}-devel
|
||||
ln -sf %{_includedir}/ladspa.h $RPM_BUILD_ROOT%{_docdir}/%{name}-devel/ladspa.h.txt
|
||||
mkdir -p %{buildroot}%{_docdir}/%{name}-devel
|
||||
cp -av doc/* %{buildroot}%{_docdir}/%{name}-devel
|
||||
ln -sf %{_includedir}/ladspa.h %{buildroot}%{_docdir}/%{name}-devel/ladspa.h.txt
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
|
@ -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
3
ladspa_sdk_1.13.tgz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b5ed3f4f253a0f6c1b7a1f4b8cf62376ca9f51d999650dd822650c43852d306b
|
||||
size 70540
|
Loading…
Reference in New Issue
Block a user