From 6ca97c7015a50705a50cb7dc00d8d267a66e20a7 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 10:21:32 +0100 Subject: [PATCH] automatic version update by autodist [release 4.2.2-1mamba;Thu Jan 02 2014] --- README.md | 2 ++ playonlinux.spec | 94 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 96 insertions(+) create mode 100644 playonlinux.spec diff --git a/README.md b/README.md index 2052bc2..009acd5 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # 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 new file mode 100644 index 0000000..db45398 --- /dev/null +++ b/playonlinux.spec @@ -0,0 +1,94 @@ +%define oname PlayOnLinux +Name: playonlinux +Version: 4.2.2 +Release: 1mamba +Summary: Play your Windows games on Linux +Group: Graphical Desktop/Applications/Games +Vendor: openmamba +Distribution: openmamba +Packager: openmamba WebBuild System +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: netcat +Requires: wine +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 +* 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