added needed requirements [release 4.4-3mamba;Mon Jan 10 2022]
This commit is contained in:
parent
a8b7f4cd3a
commit
b02dfafdc9
@ -1,4 +1,3 @@
|
|||||||
# playonlinux
|
# playonlinux
|
||||||
|
|
||||||
is a piece of software which allows you to easily install and use numerous games and apps designed to run with Microsoft® Windows®.
|
is a piece of software which allows you to easily install and use numerous games and apps designed to run with Microsoft® Windows®.
|
||||||
|
|
||||||
|
@ -1,18 +1,22 @@
|
|||||||
%define oname PlayOnLinux
|
|
||||||
Name: playonlinux
|
Name: playonlinux
|
||||||
Version: 4.3.4
|
Version: 4.4
|
||||||
Release: 1mamba
|
Release: 3mamba
|
||||||
Summary: Play your Windows games on Linux
|
Summary: Play your Windows games on Linux
|
||||||
Group: Graphical Desktop/Applications/Games
|
Group: Graphical Desktop/Applications/Games
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: http://www.playonlinux.com/en
|
URL: https://www.playonlinux.com/en
|
||||||
Source: http://www.playonlinux.com/script_files/PlayOnLinux/%{version}/PlayOnLinux_%{version}.tar.gz
|
Source: https://github.com/PlayOnLinux/POL-POM-4.git/%{version}/POL-POM-4-%{version}.tar.bz2
|
||||||
License: GPL
|
License: GPL
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
|
BuildRequires: glibc-devel
|
||||||
|
BuildRequires: libX11-devel
|
||||||
|
BuildRequires: libglvnd-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
Requires: wxPython
|
Requires: python-wxPython-py3
|
||||||
|
Requires: python-natsort-py3
|
||||||
|
Requires: jq
|
||||||
Requires: ImageMagick
|
Requires: ImageMagick
|
||||||
Requires: wget
|
Requires: wget
|
||||||
Requires: gettext
|
Requires: gettext
|
||||||
@ -28,57 +32,57 @@ Requires: /usr/bin/nc
|
|||||||
Requires: wine
|
Requires: wine
|
||||||
#% endif
|
#% endif
|
||||||
Requires: icoutils
|
Requires: icoutils
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
is a piece of software which allows you to easily install and use numerous games and apps designed to run with Microsoft® Windows®.
|
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
|
%prep
|
||||||
%setup -q -n playonlinux
|
%setup -q -n POL-POM-4-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
%make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
mkdir -p %{buildroot}%{_bindir}/
|
%makeinstall
|
||||||
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
|
install -d -m0755 %{buildroot}%{_sysconfdir}
|
||||||
#!/bin/sh
|
#mv %{buildroot}%{_datadir}/%{name}/etc %{buildroot}%{_sysconfdir}/%{name}
|
||||||
cd %{_datadir}/playonlinux
|
#ln -s ../../../etc/%{name} %{buildroot}%{_datadir}/%{name}/etc
|
||||||
./playonlinux "\$@"
|
|
||||||
cd /
|
|
||||||
EOF
|
|
||||||
chmod +x %{buildroot}%{_bindir}/playonlinux
|
|
||||||
|
|
||||||
cp -a * %{buildroot}%{_datadir}/%{name}
|
%find_lang pol
|
||||||
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
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
%files
|
%files -f pol.lang
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%dir %{_sysconfdir}/%{name}
|
#%dir %{_sysconfdir}/%{name}
|
||||||
%{_sysconfdir}/%{name}/*
|
#%{_sysconfdir}/%{name}/*
|
||||||
%{_bindir}/%{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}
|
%dir %{_datadir}/%{name}
|
||||||
%{_datadir}/%{name}/*
|
%{_datadir}/%{name}/*
|
||||||
%{_datadir}/applications/%{oname}.desktop
|
%{_mandir}/man1/playonlinux-pkg.1*
|
||||||
%{_datadir}/pixmaps/%{name}.png
|
%{_mandir}/man1/playonlinux.1*
|
||||||
%{_datadir}/desktop-directories/%{oname}.directory
|
|
||||||
%doc LICENCE
|
%doc LICENCE
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jan 10 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 4.4-3mamba
|
||||||
|
- added needed requirements
|
||||||
|
|
||||||
|
* Tue Apr 20 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 4.4-2mamba
|
||||||
|
- don't move internal etc dir to sysconfdir (upgrade problem and may not be useful)
|
||||||
|
|
||||||
|
* Sun Apr 18 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 4.4-1mamba
|
||||||
|
- update to 4.4
|
||||||
|
|
||||||
* Fri Dec 28 2018 Automatic Build System <autodist@mambasoft.it> 4.3.4-1mamba
|
* Fri Dec 28 2018 Automatic Build System <autodist@mambasoft.it> 4.3.4-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user