From cf5379d5d58573fc5dadf9d809a3b19d84f2a38f9a9c7ab04c533d208ac0fc54 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Mon, 3 Mar 2014 10:50:59 +0000 Subject: [PATCH 1/2] Accepting request 224336 from home:AndreasStieger:branches:multimedia:libs - some spec file cleanup - add source URLs, see https://en.opensuse.org/SourceUrls OBS-URL: https://build.opensuse.org/request/show/224336 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ladspa?expand=0&rev=34 --- ladspa.changes | 6 ++++++ ladspa.spec | 34 +++++++++++++++++----------------- 2 files changed, 23 insertions(+), 17 deletions(-) diff --git a/ladspa.changes b/ladspa.changes index 0a8db50..0b842aa 100644 --- a/ladspa.changes +++ b/ladspa.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +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 diff --git a/ladspa.spec b/ladspa.spec index 3cbde90..4ff2b0f 100644 --- a/ladspa.spec +++ b/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}.tar.bz2 +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) From 9434d764043dcbaca07b9f2ae31453f8aab1133fdb65a85beed6b2d1aa76ced2 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Mon, 3 Mar 2014 10:59:38 +0000 Subject: [PATCH 2/2] Accepting request 224406 from home:tiwai:branches:multimedia:libs - package the original tarball instead of re-packed tar.bz2 OBS-URL: https://build.opensuse.org/request/show/224406 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ladspa?expand=0&rev=35 --- ladspa.changes | 5 +++++ ladspa.spec | 2 +- ladspa_sdk_1.13.tar.bz2 | 3 --- ladspa_sdk_1.13.tgz | 3 +++ 4 files changed, 9 insertions(+), 4 deletions(-) delete mode 100644 ladspa_sdk_1.13.tar.bz2 create mode 100644 ladspa_sdk_1.13.tgz diff --git a/ladspa.changes b/ladspa.changes index 0b842aa..3dae4e2 100644 --- a/ladspa.changes +++ b/ladspa.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/ladspa.spec b/ladspa.spec index 4ff2b0f..f9d869d 100644 --- a/ladspa.spec +++ b/ladspa.spec @@ -23,7 +23,7 @@ Summary: The Linux Audio Developer's Simple Plug-In API License: LGPL-2.1+ Group: Productivity/Multimedia/Sound/Utilities Url: http://www.ladspa.org/ -Source: http://www.ladspa.org/download/%{name}_sdk_%{version}.tar.bz2 +Source: http://www.ladspa.org/download/%{name}_sdk_%{version}.tgz Patch0: ladspa.dif BuildRequires: gcc-c++ BuildRoot: %{_tmppath}/%{name}-%{version}-build diff --git a/ladspa_sdk_1.13.tar.bz2 b/ladspa_sdk_1.13.tar.bz2 deleted file mode 100644 index 68f4faa..0000000 --- a/ladspa_sdk_1.13.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ffdeae3f5130560224573e4f2536daeec6c8c9482e0066104421063799fa32e7 -size 65417 diff --git a/ladspa_sdk_1.13.tgz b/ladspa_sdk_1.13.tgz new file mode 100644 index 0000000..d0b7084 --- /dev/null +++ b/ladspa_sdk_1.13.tgz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b5ed3f4f253a0f6c1b7a1f4b8cf62376ca9f51d999650dd822650c43852d306b +size 70540