File ladspa-devel.spec of Package ladspa-devel

#
# spec file for package ladspa-devel (Version 1.12.code10.3)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           ladspa-devel
Summary:        Include Files mandatory for Development.
Version:        1.12.code10.3
Release:        57
License:        GPL v2 or later
Group:          Development/Libraries/C and C++
Source:         ladspa_sdk_1.12.tar.bz2
Url:            http://www.ladspa.org/
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

%description
This package contains include files to develop LADSPA plugins.



Authors:
--------
    Richard Furse <richard@muse.demon.co.uk>

%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
* Wed Feb 13 2008 adrian@suse.de
- remove NoSource flag according to our policy
* Wed Apr 18 2007 tiwai@suse.de
- split ladspa-devel.spec to reduce the build dependency
openSUSE Build Service is sponsored by