lv2/lv2.spec

133 lines
4.2 KiB
RPMSpec
Raw Normal View History

Name: lv2
Version: 1.18.10
Release: 2mamba
Summary: A portable plugin standard for audio systems
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://lv2plug.in/
Source: https://lv2plug.in/spec/lv2-%{version}.tar.xz
License: MIT
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libcairo-devel
BuildRequires: libglib-devel
BuildRequires: libgtk2-devel
BuildRequires: libsamplerate-devel
BuildRequires: libsndfile-devel
## AUTOBUILDREQ-END
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%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 < 1.18.10
Provides: lv2
Obsoletes: lv2 < 1.18.10
%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 < 1.18.10
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
%meson
%meson_build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%meson_install
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files -n lib%{name}
%defattr(-,root,root)
%dir %{_libdir}/lv2
%{_libdir}/lv2/*
%doc COPYING
%files -n lib%{name}-devel
%defattr(-,root,root)
%{_bindir}/lv2_validate
%{_bindir}/lv2specgen.py
%{_includedir}/lv2.h
%dir %{_includedir}/lv2
%{_includedir}/lv2/*
%{_libdir}/pkgconfig/lv2.pc
#%{_libdir}/pkgconfig/lv2core.pc
%dir %{_datadir}/lv2specgen
%dir %{_datadir}/lv2specgen/DTD
%{_datadir}/lv2specgen/DTD/*
%{_datadir}/lv2specgen/*.css
%{_datadir}/lv2specgen/template.html
%dir %{_docdir}/lv2
%{_docdir}/lv2/*
#%doc NEWS README
%changelog
* Wed Oct 19 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.18.10-2mamba
- fix post script by removing commented section below
* Tue Oct 11 2022 Automatic Build System <autodist@mambasoft.it> 1.18.10-1mamba
- automatic version update by autodist
* Fri May 27 2022 Automatic Build System <autodist@mambasoft.it> 1.18.4-1mamba
- automatic version update by autodist
* Sat Jan 09 2021 Automatic Build System <autodist@mambasoft.it> 1.18.2-1mamba
- automatic version update by autodist
* Wed Apr 29 2020 Automatic Build System <autodist@mambasoft.it> 1.18.0-1mamba
- automatic version update by autodist
* Wed Mar 06 2019 Automatic Build System <autodist@mambasoft.it> 1.16.0-1mamba
- automatic version update by autodist
* Tue Aug 08 2017 Automatic Build System <autodist@mambasoft.it> 1.14.0-1mamba
- automatic version update by autodist
* Fri May 01 2015 Automatic Build System <autodist@mambasoft.it> 1.12.0-1mamba
- automatic version update by autodist
* Mon Nov 03 2014 Automatic Build System <autodist@mambasoft.it> 1.10.0-1mamba
- automatic version update by autodist
* Sun Feb 02 2014 Automatic Build System <autodist@mambasoft.it> 1.8.0-1mamba
- automatic version update by autodist
* Sun Aug 11 2013 Automatic Build System <autodist@mambasoft.it> 1.6.0-1mamba
- automatic update by autodist
* Mon Apr 15 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.0-2mamba
- provide/obsolete liblv2core
* Sat Mar 02 2013 Automatic Build System <autodist@mambasoft.it> 1.4.0-1mamba
- automatic version update by autodist
* Thu Jan 31 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.0-1mamba
- package created by silvan using the webbuild interface