diff --git a/README.md b/README.md index 009acd5..ffa2876 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,3 @@ # playonlinux is a piece of software which allows you to easily install and use numerous games and apps designed to run with Microsoft® Windows®. - diff --git a/playonlinux.spec b/playonlinux.spec index ef74ea6..49e4540 100644 --- a/playonlinux.spec +++ b/playonlinux.spec @@ -1,84 +1,88 @@ -%define oname PlayOnLinux Name: playonlinux -Version: 4.3.4 -Release: 1mamba +Version: 4.4 +Release: 3mamba Summary: Play your Windows games on Linux Group: Graphical Desktop/Applications/Games Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco -URL: http://www.playonlinux.com/en -Source: http://www.playonlinux.com/script_files/PlayOnLinux/%{version}/PlayOnLinux_%{version}.tar.gz +URL: https://www.playonlinux.com/en +Source: https://github.com/PlayOnLinux/POL-POM-4.git/%{version}/POL-POM-4-%{version}.tar.bz2 License: GPL ## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libX11-devel +BuildRequires: libglvnd-devel ## AUTOBUILDREQ-END -Requires: wxPython -Requires: ImageMagick -Requires: wget -Requires: gettext -Requires: unzip -Requires: cabextract -Requires: xz -Requires: p7zip -Requires: xterm -Requires: /usr/bin/nc +Requires: python-wxPython-py3 +Requires: python-natsort-py3 +Requires: jq +Requires: ImageMagick +Requires: wget +Requires: gettext +Requires: unzip +Requires: cabextract +Requires: xz +Requires: p7zip +Requires: xterm +Requires: /usr/bin/nc #% ifarch x86_64 #Requires: wine.i586 #% else -Requires: wine +Requires: wine #% endif -Requires: icoutils -BuildRoot: %{_tmppath}/%{name}-%{version}-root +Requires: icoutils %description is a piece of software which allows you to easily install and use numerous games and apps designed to run with Microsoft® Windows®. -%debug_package +#% debug_package %prep -%setup -q -n playonlinux +%setup -q -n POL-POM-4-%{version} %build +%make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -mkdir -p %{buildroot}%{_bindir}/ -mkdir -p %{buildroot}%{_sysconfdir}/%{name} -mkdir -p %{buildroot}%{_datadir}/%{name} -mkdir -p %{buildroot}%{_datadir}/desktop-directories -mkdir -p %{buildroot}%{_datadir}/applications -mkdir -p %{buildroot}%{_datadir}/pixmaps +%makeinstall -cat > %{buildroot}%{_bindir}/playonlinux << EOF -#!/bin/sh -cd %{_datadir}/playonlinux -./playonlinux "\$@" -cd / -EOF -chmod +x %{buildroot}%{_bindir}/playonlinux +install -d -m0755 %{buildroot}%{_sysconfdir} +#mv %{buildroot}%{_datadir}/%{name}/etc %{buildroot}%{_sysconfdir}/%{name} +#ln -s ../../../etc/%{name} %{buildroot}%{_datadir}/%{name}/etc -cp -a * %{buildroot}%{_datadir}/%{name} -cp etc/PlayOnLinux.desktop %{buildroot}%{_datadir}/applications/%{oname}.desktop -cp %{buildroot}%{_datadir}/%{name}/etc/%{name}.png %{buildroot}%{_datadir}/pixmaps/%{name}.png -cp %{buildroot}%{_datadir}/%{name}/etc/PlayOnLinux.directory %{buildroot}%{_datadir}/desktop-directories/%{oname}.directory -cp -rf etc/* %{buildroot}%{_sysconfdir}/%{name}/ +%find_lang pol %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%files +%files -f pol.lang %defattr(-,root,root) -%dir %{_sysconfdir}/%{name} -%{_sysconfdir}/%{name}/* +#%dir %{_sysconfdir}/%{name} +#%{_sysconfdir}/%{name}/* %{_bindir}/%{name} +%{_bindir}/playonlinux-pkg +%{_prefix}/libexec/playonlinux-check_dd +%{_datadir}/appdata/PlayOnLinux.appdata.xml +%{_datadir}/applications/PlayOnLinux.desktop +%{_datadir}/pixmaps/playonlinux*.png %dir %{_datadir}/%{name} %{_datadir}/%{name}/* -%{_datadir}/applications/%{oname}.desktop -%{_datadir}/pixmaps/%{name}.png -%{_datadir}/desktop-directories/%{oname}.directory +%{_mandir}/man1/playonlinux-pkg.1* +%{_mandir}/man1/playonlinux.1* %doc LICENCE %changelog +* Mon Jan 10 2022 Silvan Calarco 4.4-3mamba +- added needed requirements + +* Tue Apr 20 2021 Silvan Calarco 4.4-2mamba +- don't move internal etc dir to sysconfdir (upgrade problem and may not be useful) + +* Sun Apr 18 2021 Silvan Calarco 4.4-1mamba +- update to 4.4 + * Fri Dec 28 2018 Automatic Build System 4.3.4-1mamba - automatic version update by autodist