%define oname PlayOnLinux Name: playonlinux Version: 4.3.4 Release: 1mamba 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 License: GPL ## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-END Requires: wxPython 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 #% endif Requires: icoutils BuildRoot: %{_tmppath}/%{name}-%{version}-root %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 %prep %setup -q -n playonlinux %build %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 cat > %{buildroot}%{_bindir}/playonlinux << EOF #!/bin/sh cd %{_datadir}/playonlinux ./playonlinux "\$@" cd / EOF chmod +x %{buildroot}%{_bindir}/playonlinux 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}/ %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %defattr(-,root,root) %dir %{_sysconfdir}/%{name} %{_sysconfdir}/%{name}/* %{_bindir}/%{name} %dir %{_datadir}/%{name} %{_datadir}/%{name}/* %{_datadir}/applications/%{oname}.desktop %{_datadir}/pixmaps/%{name}.png %{_datadir}/desktop-directories/%{oname}.directory %doc LICENCE %changelog * Fri Dec 28 2018 Automatic Build System 4.3.4-1mamba - automatic version update by autodist * Sat Aug 26 2017 Silvan Calarco 4.2.12-1mamba - update to 4.2.12 - x86_64: remove non-canonical requirement for wine.i586 * Wed Jul 20 2016 Silvan Calarco 4.2.10-2mamba - require /usr/bin/nc instead of netcat and wine.i586 in x86_64 environment * Sun Jan 10 2016 Automatic Build System 4.2.10-1mamba - automatic version update by autodist * Mon Oct 05 2015 Automatic Build System 4.2.9-1mamba - automatic version update by autodist * Tue May 26 2015 Automatic Build System 4.2.8-1mamba - automatic version update by autodist * Wed May 06 2015 Automatic Build System 4.2.7-1mamba - automatic version update by autodist * Sun Mar 01 2015 Automatic Build System 4.2.6-1mamba - automatic version update by autodist * Thu Sep 18 2014 Automatic Build System 4.2.5-1mamba - automatic version update by autodist * Fri Jul 18 2014 Automatic Build System 4.2.4-1mamba - automatic version update by autodist * Mon Jul 14 2014 Automatic Build System 4.2.3-1mamba - automatic version update by autodist * Thu Jan 02 2014 Automatic Build System 4.2.2-1mamba - automatic version update by autodist * Thu May 16 2013 openmamba WebBuild System 4.2.1-5mamba - Fixed permissions * Wed May 15 2013 openmamba WebBuild System 4.2.1-4mamba - Added launcher in /usr/bin * Wed May 15 2013 openmamba WebBuild System 4.2.1-3mamba - Fixed the specfile * Wed May 15 2013 openmamba WebBuild System 4.2.1-2mamba - Fixed requirements * Tue May 14 2013 openmamba WebBuild System 4.2.1-1mamba - package created by ercolinux using the webbuild interface