Accepting request 209420 from home:tiwai:branches:multimedia:libs

- Merge ladspa-devel.spec into ladspa.spec; back to root, as OBS
  doesn't like split packages (the submitreq always declined),
  and the development activity of this package is pretty low, so
  no worth to resist

OBS-URL: https://build.opensuse.org/request/show/209420
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ladspa?expand=0&rev=30
This commit is contained in:
Takashi Iwai 2013-12-11 10:51:06 +00:00 committed by Git OBS Bridge
parent b9cbf30048
commit 72fab9c9b0
4 changed files with 28 additions and 73 deletions

View File

@ -1,15 +0,0 @@
-------------------------------------------------------------------
Thu Jan 21 07:27:40 UTC 2010 - davejplater@gmail.com
- Update to 1.13
-------------------------------------------------------------------
Wed Feb 13 13:50:30 CET 2008 - adrian@suse.de
- remove NoSource flag according to our policy
-------------------------------------------------------------------
Wed Apr 18 13:01:02 CEST 2007 - tiwai@suse.de
- split ladspa-devel.spec to reduce the build dependency

View File

@ -1,55 +0,0 @@
#
# spec file for package ladspa-devel
#
# Copyright (c) 2013 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# 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/
#
Name: ladspa-devel
Summary: Include Files mandatory for Development
License: LGPL-2.1+
Group: Development/Libraries/C and C++
Version: 1.13
Release: 0
Source: ladspa_sdk_1.13.tar.bz2
Url: http://www.ladspa.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
Provides: ladspa-devel > 1.12.code10.3.1
%description
This package contains include files to develop LADSPA plugins.
%prep
%setup -n ladspa_sdk
%build
%install
mkdir -p $RPM_BUILD_ROOT%{_includedir}
cp src/ladspa.h $RPM_BUILD_ROOT%{_includedir}
mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name}
cp -av README $RPM_BUILD_ROOT%{_docdir}/%{name}
cp -av doc/* $RPM_BUILD_ROOT%{_docdir}/%{name}
ln -sf %{_includedir}/ladspa.h $RPM_BUILD_ROOT%{_docdir}/%{name}/ladspa.h.txt
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc %{_docdir}/%{name}
%{_includedir}/*
%changelog

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Wed Dec 4 15:55:53 CET 2013 - tiwai@suse.de
- Merge ladspa-devel.spec into ladspa.spec; back to root, as OBS
doesn't like split packages (the submitreq always declined),
and the development activity of this package is pretty low, so
no worth to resist
-------------------------------------------------------------------
Thu Sep 26 14:37:25 CEST 2013 - tiwai@suse.de

View File

@ -144,6 +144,15 @@ ability to write simple plug-in audio processors in C/C++ and link them
dynamically. The package contains the LADSPA SDK, the CMT plug-in
libraries (including Freeverb), and the swh plug-ins.
%package devel
Summary: Include Files mandatory for Development
Group: Development/Libraries/C and C++
BuildArch: noarch
Provides: ladspa-devel > 1.12.code10.3.1
%description devel
This package contains include files to develop LADSPA plugins.
%prep
#
# More URLs
@ -414,8 +423,12 @@ cp -av vlevel-%{vlevel_version}/docs $RPM_BUILD_ROOT%{_docdir}/%{name}/vlevel
mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name}/examples/vlevel
cp -av vlevel-%{vlevel_version}/utils/* $RPM_BUILD_ROOT%{_docdir}/%{name}/examples/vlevel
chmod 644 $RPM_BUILD_ROOT%{_docdir}/%{name}/cmt/plugins.html
# remove incldue file (already in devel package)
rm -f $RPM_BUILD_ROOT%{_includedir}/*
# devel package
mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name}-devel
cp -av ladspa_sdk/README $RPM_BUILD_ROOT%{_docdir}/%{name}-devel
cp -av ladspa_sdk/doc/* $RPM_BUILD_ROOT%{_docdir}/%{name}-devel
ln -sf %{_includedir}/ladspa.h $RPM_BUILD_ROOT%{_docdir}/%{name}-devel/ladspa.h.txt
#
%find_lang %{name} --all-name
%fdupes -s $RPM_BUILD_ROOT
@ -425,9 +438,13 @@ rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang
%defattr(-,root,root)
%doc %{_docdir}/%{name}
%doc %{_docdir}/%{name}/examples
%{_libdir}/ladspa
%{_bindir}/*
%{_datadir}/ladspa
%files devel
%defattr(-,root,root)
%doc %{_docdir}/%{name}-devel
%{_includedir}/*
%changelog