wineasio/wineasio.spec

99 lines
2.6 KiB
RPMSpec

Name: wineasio
Version: 1.2.0
Release: 1mamba
Summary: ASIO to JACK driver for WINE
Group: Applications/Multimedia
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/wineasio/wineasio
Source0: https://github.com/wineasio/wineasio.git/v%{version}/wineasio-%{version}.tar.bz2
Source1: asiosdk2.2.zip
Patch: wineasio_install.patch
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libjack-devel
## AUTOBUILDREQ-END
#BuildRequires: alsa-devel asiosdk e2fsprogs-devel
BuildRequires: wine-devel >= 1.5.2-3mamba
Requires: wine-core
Requires: jack
%description
WineASIO is a ASIO driver for wine, allowing to run Windows audio applications with low latency (as JACK clients).
#% debug_package
%prep
%setup -q
#%patch -p1
%build
unzip -o ${startdir}/%{SOURCE1} ASIOSDK2/common/asio.h || return 1
mv ASIOSDK2/common/asio.h ./
rm -rf ASIOSDK2
%make PREFIX=%{_prefix} DESTDIR=%{buildroot} \
%ifarch %{ix86} arm
32
%else
64
%endif
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C gui
install -D -m 755 -s \
%ifarch x86_64
build64/wineasio64.dll.so \
%endif
%ifarch %{ix86}
build32/wineasio32.dll.so \
%endif
%{buildroot}%{_libdir}/wine/wineasio.dll.so
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/wineasio-settings
%dir %{_datadir}/wineasio
%{_datadir}/wineasio/*
%{_libdir}/wine/*
%doc COPYING.LIB COPYING.GUI
%changelog
* Mon Oct 02 2023 Automatic Build System <autodist@mambasoft.it> 1.2.0-1mamba
- automatic version update by autodist
* Fri Feb 18 2022 Automatic Build System <autodist@mambasoft.it> 1.1.0-1mamba
- automatic version update by autodist
* Sat Nov 27 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.0-1mamba
- update to 1.0.0
* Sun Jun 01 2014 Automatic Build System <autodist@mambasoft.it> 0.9.2-1mamba
- automatic update by autodist
* Mon Oct 21 2013 Automatic Build System <autodist@mambasoft.it> 0.9.1-1mamba
- automatic update by autodist
* Wed Jun 20 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.0-2mamba
- rebuilt after wine library path change to standard
* Thu Jul 21 2011 Automatic Build System <autodist@mambasoft.it> 0.9.0-1mamba
- update to 0.9.0
* Thu Dec 10 2009 Davide Madrisan <davide.madrisan@gmail.com> 0.7.5-2mamba
- updated package requirements
* Mon Nov 16 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.5-1mamba
- update to 0.7.5
* Wed Jun 04 2008 Tiziana Ferro <tiziana.ferro@email.it> 0.7.4-1mamba
- package created by autospec