File phoenicis-playonlinux.spec of Package phoenicis-playonlinux

Name:		phoenicis-playonlinux
%define _pkgname phoenicis
%define filename Phoenicis_5.0-SNAPSHOT
Version:	5.0
Release:	%{version}%{?dist}
Summary:	Install and use non-native applications on linux
License:	LGPL3
URL:		https://github.com/PhoenicisOrg/phoenicis
BuildRequires:	maven
BuildRequires:	java-11-openjdk
BuildRequires:	bsdtar
BuildRequires:	git
Requires:	cabextract
Requires:	libcurl4
Requires:	icoutils
Requires:	ImageMagick
Requires:	p7zip
Requires:	wget
Requires:	wine
Requires:	xterm
Source0:	https://github.com/ahmedmoselhi/%{_pkgname}/releases/download/latest/%{filename}.deb#/%{name}-%{version}.deb
Source1:	%{name}.rpmlintrc

%description
Phoenicis PlayOnLinux allows you to install and use non-native applications on linux

%prep
ar x %{_sourcedir}/*.deb
cd %{_builddir}
bsdtar -xf data.tar.zst

%install
cd %{_builddir}
install -dm 755 "%{buildroot}"/usr
cp -rf "usr" "%{buildroot}"

%files
%{_bindir}
%{_datadir}

%changelog
* Wed Mar 01 2023  <> - 5.0
- Initial version
openSUSE Build Service is sponsored by