58 lines
1.5 KiB
RPMSpec
58 lines
1.5 KiB
RPMSpec
Name: vst3sdk
|
|
Version: 3.7.7_build_19
|
|
Release: 1mamba
|
|
Summary: VST 3 Plug-In SDK
|
|
Group: Applications/Multimedia
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://github.com/steinbergmedia/vst3sdk
|
|
Source: https://github.com/steinbergmedia/vst3sdk.git/v%{version}/vst3sdk-%{version}.tar.bz2
|
|
Source1: vst3sdk.pc
|
|
Patch0: vst3sdk-3.7.7_build_19-include_limits.patch
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: libperl
|
|
BuildRequires: perl-devel
|
|
## AUTOBUILDREQ-END
|
|
|
|
%description
|
|
VST 3 Plug-In SDK.
|
|
|
|
#% debug_package
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch0 -p1
|
|
|
|
%build
|
|
#% cmake -d build
|
|
#% make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
mkdir -p %{buildroot}%{_datadir}/%{name}
|
|
cp -a * %{buildroot}%{_datadir}/%{name}/
|
|
|
|
install -D -m0644 cmake/modules/*.cmake -t %{buildroot}%{_datadir}/cmake/%{name}/
|
|
|
|
install -D -m0644 %{SOURCE1} %{buildroot}%{_libdir}/pkgconfig/vst3sdk.pc
|
|
sed -i "s|VERSION|%{version}|" %{buildroot}%{_libdir}/pkgconfig/vst3sdk.pc
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%dir %{_datadir}/%{name}
|
|
%{_datadir}/%{name}/*
|
|
%dir %{_datadir}/cmake/vst3sdk
|
|
%{_datadir}/cmake/vst3sdk/*.cmake
|
|
%{_libdir}/pkgconfig/vst3sdk.pc
|
|
%doc LICENSE.txt
|
|
|
|
%changelog
|
|
* Tue Dec 13 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 3.7.7_build_19-1mamba
|
|
- package created using the webbuild interface
|