diff --git a/README.md b/README.md index 77e7448..7143f4f 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # lv2 +LV2 is a portable plugin standard for audio systems, similar in scope to ​LADSPA, VST, AU, and others. It defines a C API for code and a format for data files which collectively describe a plugin. LV2 consists of a simple core (roughly equivalent in power to LADSPA) which can be extended to support more advanced functionality. This allows the interface to be "grown" to accommodate the needs of real software as they arise. + diff --git a/lv2.spec b/lv2.spec new file mode 100644 index 0000000..c53b096 --- /dev/null +++ b/lv2.spec @@ -0,0 +1,127 @@ +Name: lv2 +Version: 1.8.0 +Release: 1mamba +Summary: A portable plugin standard for audio systems +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://lv2plug.in/ +Source: http://lv2plug.in/spec/lv2-%{version}.tar.bz2 +License: MIT +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libatk-devel +BuildRequires: libcairo-devel +BuildRequires: libfontconfig-devel +BuildRequires: libfreetype-devel +BuildRequires: libgdk-pixbuf-devel +BuildRequires: libglib-devel +BuildRequires: libgtk2-devel +BuildRequires: libpango-devel +BuildRequires: libsndfile-devel +## AUTOBUILDREQ-END +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +LV2 is a portable plugin standard for audio systems, similar in scope to ​LADSPA, VST, AU, and others. It defines a C API for code and a format for data files which collectively describe a plugin. LV2 consists of a simple core (roughly equivalent in power to LADSPA) which can be extended to support more advanced functionality. This allows the interface to be "grown" to accommodate the needs of real software as they arise. + +%package -n lib%{name} +Group: System/Libraries +Summary: Shared libraries for %{name} +Provides: liblv2core +Obsoletes: liblv2core +Provides: lv2 +Obsoletes: lv2 + +%description -n lib%{name} +This package contains shared libraries for %{name}. + +%package -n lib%{name}-devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} +Provides: liblv2core-devel +Obsoletes: liblv2core-devel +Requires: pkg-config + +%description -n lib%{name}-devel +This package contains libraries and header files for developing applications that use %{name}. + +%debug_package + +%prep +%setup -q + +%build +./waf configure \ + --prefix=%{_prefix} \ + --libdir=%{_libdir} + +./waf %{?_smp_mflags} build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +./waf install --destdir=%{buildroot} + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -n lib%{name} -p /sbin/ldconfig +%postun -n lib%{name} -p /sbin/ldconfig + +#%files +#%defattr(-,root,root) +### note: this list is just an example; modify as required +## %{_bindir}/%{name} +## %{_mandir}/man1/%{name}.* +#%doc COPYING + +%files -n lib%{name} +%defattr(-,root,root) +%dir %{_libdir}/lv2 +%{_libdir}/lv2/* +%doc COPYING + +%files -n lib%{name}-devel +%defattr(-,root,root) +%{_bindir}/lv2specgen.py +%dir %{_includedir} +%{_includedir}/lv2.h +%dir %{_includedir}/lv2 +%dir %{_includedir}/lv2/lv2plug.in +%dir %{_includedir}/lv2/lv2plug.in/ns +%dir %{_includedir}/lv2/lv2plug.in/ns/ext +%{_includedir}/lv2/lv2plug.in/ns/ext/* +%{_includedir}/lv2/lv2plug.in/ns/lv2core +%dir %{_includedir}/lv2/lv2plug.in/ns/extensions +%{_includedir}/lv2/lv2plug.in/ns/extensions/ui +%{_includedir}/lv2/lv2plug.in/ns/extensions/units +%{_libdir}/pkgconfig/lv2.pc +%{_libdir}/pkgconfig/lv2core.pc +%dir %{_datadir}/lv2specgen +%dir %{_datadir}/lv2specgen/DTD +%{_datadir}/lv2specgen/DTD/xhtml-*.mod +%{_datadir}/lv2specgen/DTD/xhtml-*.dtd +%{_datadir}/lv2specgen/DTD/xhtml-*.ent +%{_datadir}/lv2specgen/style.css +%{_datadir}/lv2specgen/template.html +%doc NEWS README + + +%changelog +* Sun Feb 02 2014 Automatic Build System 1.8.0-1mamba +- automatic version update by autodist + +* Sun Aug 11 2013 Automatic Build System 1.6.0-1mamba +- automatic update by autodist + +* Mon Apr 15 2013 Silvan Calarco 1.4.0-2mamba +- provide/obsolete liblv2core + +* Sat Mar 02 2013 Automatic Build System 1.4.0-1mamba +- automatic version update by autodist + +* Thu Jan 31 2013 Silvan Calarco 1.2.0-1mamba +- package created by silvan using the webbuild interface