2024-01-06 10:21:32 +01:00
|
|
|
%define oname PlayOnLinux
|
|
|
|
Name: playonlinux
|
2024-01-06 10:21:32 +01:00
|
|
|
Version: 4.2.10
|
2024-01-06 10:21:32 +01:00
|
|
|
Release: 2mamba
|
2024-01-06 10:21:32 +01:00
|
|
|
Summary: Play your Windows games on Linux
|
|
|
|
Group: Graphical Desktop/Applications/Games
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-06 10:21:32 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 10:21:32 +01:00
|
|
|
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
|
2024-01-06 10:21:32 +01:00
|
|
|
Requires: /usr/bin/nc
|
|
|
|
%ifarch x86_64
|
|
|
|
Requires: wine.i586
|
|
|
|
%else
|
2024-01-06 10:21:32 +01:00
|
|
|
Requires: wine
|
2024-01-06 10:21:32 +01:00
|
|
|
%endif
|
2024-01-06 10:21:32 +01:00
|
|
|
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
|
2024-01-06 10:21:32 +01:00
|
|
|
* Wed Jul 20 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 4.2.10-2mamba
|
|
|
|
- require /usr/bin/nc instead of netcat and wine.i586 in x86_64 environment
|
|
|
|
|
2024-01-06 10:21:32 +01:00
|
|
|
* Sun Jan 10 2016 Automatic Build System <autodist@mambasoft.it> 4.2.10-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:21:32 +01:00
|
|
|
* Mon Oct 05 2015 Automatic Build System <autodist@mambasoft.it> 4.2.9-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:21:32 +01:00
|
|
|
* Tue May 26 2015 Automatic Build System <autodist@mambasoft.it> 4.2.8-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:21:32 +01:00
|
|
|
* Wed May 06 2015 Automatic Build System <autodist@mambasoft.it> 4.2.7-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:21:32 +01:00
|
|
|
* Sun Mar 01 2015 Automatic Build System <autodist@mambasoft.it> 4.2.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:21:32 +01:00
|
|
|
* Thu Sep 18 2014 Automatic Build System <autodist@mambasoft.it> 4.2.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:21:32 +01:00
|
|
|
* Fri Jul 18 2014 Automatic Build System <autodist@mambasoft.it> 4.2.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:21:32 +01:00
|
|
|
* Mon Jul 14 2014 Automatic Build System <autodist@mambasoft.it> 4.2.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:21:32 +01:00
|
|
|
* Thu Jan 02 2014 Automatic Build System <autodist@mambasoft.it> 4.2.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu May 16 2013 openmamba WebBuild System <webbuild@openmamba.org> 4.2.1-5mamba
|
|
|
|
- Fixed permissions
|
|
|
|
|
|
|
|
* Wed May 15 2013 openmamba WebBuild System <webbuild@openmamba.org> 4.2.1-4mamba
|
|
|
|
- Added launcher in /usr/bin
|
|
|
|
|
|
|
|
* Wed May 15 2013 openmamba WebBuild System <webbuild@openmamba.org> 4.2.1-3mamba
|
|
|
|
- Fixed the specfile
|
|
|
|
|
|
|
|
* Wed May 15 2013 openmamba WebBuild System <webbuild@openmamba.org> 4.2.1-2mamba
|
|
|
|
- Fixed requirements
|
|
|
|
|
|
|
|
* Tue May 14 2013 openmamba WebBuild System <webbuild@openmamba.org> 4.2.1-1mamba
|
|
|
|
- package created by ercolinux using the webbuild interface
|