diff --git a/.gitignore b/.gitignore index e69de29..cd23917 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/lv2-1.0.0.tar.bz2 diff --git a/lv2.spec b/lv2.spec new file mode 100644 index 0000000..028f06d --- /dev/null +++ b/lv2.spec @@ -0,0 +1,85 @@ + +Name: lv2 +Version: 1.0.0 +Release: 2%{?dist} +Summary: Audio Plugin Standard +Group: System Environment/Libraries + +# lv2specgen template.html is CC-AT-SA +License: ISC +URL: http://lv2plug.in +Source: http://lv2plug.in/spec/lv2-%{version}.tar.bz2 + +# this package replaces lv2core +Provides: lv2core = 6.0-4 +Obsoletes: lv2core < 6.0-4 +Provides: lv2-ui = 2.4-5 +Obsoletes: lv2-ui < 2.4-5 + +%description +LV2 is a standard for plugins and matching host applications, mainly +targeted at audio processing and generation. + +There are a large number of open source and free software synthesis +packages in use or development at this time. This API ('LV2') attempts +to give programmers the ability to write simple 'plugin' audio +processors in C/C++ and link them dynamically ('plug') into a range of +these packages ('hosts'). It should be possible for any host and any +plugin to communicate completely through this interface. + +LV2 is a successor to LADSPA, created to address the limitations of +LADSPA which many hosts have outgrown. + +%package devel +Summary: API for the LV2 Audio Plugin Standard +Group: Development/Libraries + +Requires: %{name}%{?_isa} = %{version}-%{release} +Provides: lv2core-devel = 6.0-4 +Obsoletes: lv2core-devel < 6.0-4 +Provides: lv2-ui-devel = 2.4-5 +Obsoletes: lv2-ui-devel < 2.4-5 + +%description devel +lv2-devel contains the lv2.h header file and headers for all of the +LV@ specification extensions and bundles. + +Definitive technical documentation on LV2 plug-ins for both the host +and plug-in is contained within copious comments within the lv2.h +header file. + +%prep +%setup -q + +%build +./waf configure -vv --prefix=%{_prefix} --libdir=%{_libdir} --debug +./waf -vv %{?_smp_mflags} + +%install +rm -rf %buildroot +DESTDIR=%buildroot ./waf -vv install +# correct permissions +chmod 755 %{buildroot}%{_libdir}/%{name}/*/*.so + +%clean +rm -rf %buildroot + +%files +%doc COPYING NEWS README +%{_libdir}/%{name}/ +%exclude %{_libdir}/%{name}/*/*.[ch] + +%files devel +%{_includedir}/%{name}.h +%{_includedir}/%{name}/ +%{_libdir}/%{name}/*/*.[hc] +%{_libdir}/pkgconfig/lv2core.pc +%{_libdir}/pkgconfig/%{name}.pc + +%changelog +* Fri Apr 20 2012 Brendan Jones - 1.0.0-2 +- Remove debuginfo supression, correct changelog + +* Fri Apr 20 2012 Brendan Jones - 1.0.0-1 +- Created + diff --git a/sources b/sources index e69de29..486f8ea 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +af98a50d8dfa8318a69800ea48b421f6 lv2-1.0.0.tar.bz2