|
 |
2e43cdd |
Summary: Graphical front-end for Wine
|
|
 |
2e43cdd |
Name: playonlinux
|
|
 |
2e43cdd |
Version: 4.4
|
|
 |
56b3bb5 |
Release: 6%{?dist}
|
|
 |
2e43cdd |
# playonlinux itself is GPLv3 but uses other source codes, breakdown:
|
|
 |
2e43cdd |
# GPLv2+: python/{configurewindow/ConfigureWindow,debug,mainwindow,options,wrapper}.py
|
|
 |
2e43cdd |
# GPLv2+: python/{install/InstallWindow,setupwindow/{POL_SetupFrame,gui_server}}.py
|
|
 |
2e43cdd |
# GPLv2+: python/wine_versions/WineVersionsWindow.py
|
|
 |
2e43cdd |
# MIT: src/check_direct_rendering.c
|
|
 |
2e43cdd |
License: GPLv3 and GPLv2+ and MIT
|
|
 |
2e43cdd |
URL: https://www.playonlinux.com/
|
|
 |
2e43cdd |
Source0: https://github.com/PlayOnLinux/POL-POM-4/archive/%{version}/POL-POM-4-%{version}.tar.gz
|
|
 |
2e43cdd |
# Upstream changes since last release
|
|
 |
2e43cdd |
Patch0: https://github.com/PlayOnLinux/POL-POM-4/compare/4.4...a8fe4bb.patch#/playonlinux-4.4-gita8fe4bb.patch
|
|
 |
2e43cdd |
BuildRequires: gcc
|
|
 |
2e43cdd |
BuildRequires: make
|
|
 |
8857b92 |
BuildRequires: gzip
|
|
 |
8857b92 |
BuildRequires: mesa-libGL-devel
|
|
 |
2e43cdd |
BuildRequires: python3
|
|
 |
2e43cdd |
BuildRequires: python3-devel
|
|
 |
2e43cdd |
BuildRequires: python3-natsort
|
|
 |
2e43cdd |
BuildRequires: python3-wxpython4
|
|
 |
8857b92 |
BuildRequires: desktop-file-utils
|
|
 |
8857b92 |
BuildRequires: gettext
|
|
 |
8857b92 |
BuildRequires: libappstream-glib
|
|
 |
2e43cdd |
Requires: python3
|
|
 |
2e43cdd |
Requires: python3-natsort
|
|
 |
2e43cdd |
Requires: python3-wxpython4
|
|
 |
2e43cdd |
# Required by python/mainwindow.py
|
|
 |
2e43cdd |
Requires: nc
|
|
 |
2e43cdd |
Requires: tar
|
|
 |
2e43cdd |
Requires: cabextract
|
|
 |
2e43cdd |
Requires: ImageMagick
|
|
 |
2e43cdd |
Requires: wget
|
|
 |
2e43cdd |
Requires: curl
|
|
 |
2e43cdd |
Requires: gnupg2
|
|
 |
2e43cdd |
Requires: xterm
|
|
 |
56b3bb5 |
%if 0%{?fedora} > 36 || 0%{?rhel} > 9
|
|
 |
56b3bb5 |
Requires: gettext-runtime
|
|
 |
56b3bb5 |
%else
|
|
 |
2e43cdd |
Requires: gettext
|
|
 |
56b3bb5 |
%endif
|
|
 |
2e43cdd |
Requires: icoutils
|
|
 |
2e43cdd |
Requires: wine
|
|
 |
2e43cdd |
Requires: unzip
|
|
 |
2e43cdd |
Requires: jq
|
|
 |
2e43cdd |
Requires: p7zip-plugins
|
|
 |
2e43cdd |
# Wine supported on these arches
|
|
 |
2e43cdd |
ExclusiveArch: %{arm} aarch64 %{ix86} x86_64
|
|
 |
8857b92 |
|
|
 |
8857b92 |
%description
|
|
 |
8857b92 |
New users can often find Wine to be intimidating and difficult to use.
|
|
 |
2e43cdd |
|
|
 |
2e43cdd |
PlayOnLinux is a graphical front-end for Wine which allows to easily
|
|
 |
2e43cdd |
install and use numerous games and applications designed to run with
|
|
 |
2e43cdd |
Microsoft Windows.
|
|
 |
2e43cdd |
|
|
 |
8857b92 |
PlayOnLinux has the database of Windows applications from which the user
|
|
 |
8857b92 |
can install desired application with a few clicks. It will automatically
|
|
 |
2e43cdd |
setup the Wine prefix and download any required Windows libraries.
|
|
 |
8857b92 |
|
|
 |
8857b92 |
%prep
|
|
 |
2e43cdd |
%setup -q -n POL-POM-4-%{version}
|
|
 |
2e43cdd |
%patch0 -p1
|
|
 |
8857b92 |
|
|
 |
8857b92 |
%build
|
|
 |
2e43cdd |
%make_build \
|
|
 |
2e43cdd |
CFLAGS="$RPM_OPT_FLAGS $RPM_LD_FLAGS" \
|
|
 |
2e43cdd |
PYTHON="%{__python3} -m py_compile"
|
|
 |
8857b92 |
|
|
 |
8857b92 |
%install
|
|
 |
8857b92 |
%make_install
|
|
 |
8857b92 |
|
|
 |
2e43cdd |
# Remove shebang from Python library
|
|
 |
2e43cdd |
sed '1{/^#!\//d}' -i %{buildroot}%{_datadir}/%{name}/python/setupwindow/gui_server.py
|
|
 |
2e43cdd |
|
|
 |
2e43cdd |
# Remove misplaced files and directories
|
|
 |
2e43cdd |
rm -rf %{buildroot}%{_datadir}/%{name}/{bin,tests,CHANGELOG.md,LICENCE,README.md,TRANSLATORS}
|
|
 |
2e43cdd |
rm -f %{buildroot}%{_datadir}/%{name}/etc/PlayOnLinux.{appdata.xml,desktop}
|
|
 |
2e43cdd |
|
|
 |
2e43cdd |
# Byte compile importable Python modules outside of standard paths
|
|
 |
2e43cdd |
%py_byte_compile %{__python3} %{buildroot}%{_datadir}/%{name}/python/
|
|
 |
8857b92 |
|
|
 |
2e43cdd |
%find_lang pol
|
|
 |
8857b92 |
|
|
 |
8857b92 |
%check
|
|
 |
2e43cdd |
desktop-file-validate %{buildroot}%{_datadir}/applications/PlayOnLinux.desktop
|
|
 |
2e43cdd |
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/appdata/PlayOnLinux.appdata.xml
|
|
 |
8857b92 |
|
|
 |
8857b92 |
%files -f pol.lang
|
|
 |
8857b92 |
%license LICENCE doc/copyright
|
|
 |
2e43cdd |
%doc CHANGELOG.md README.md TRANSLATORS
|
|
 |
2e43cdd |
%{_bindir}/%{name}
|
|
 |
2e43cdd |
%{_bindir}/%{name}-pkg
|
|
 |
2e43cdd |
%{_libexecdir}/%{name}-check_dd
|
|
 |
8857b92 |
%{_datadir}/%{name}/
|
|
 |
2e43cdd |
%{_datadir}/appdata/PlayOnLinux.appdata.xml
|
|
 |
2e43cdd |
%{_datadir}/applications/PlayOnLinux.desktop
|
|
 |
2e43cdd |
%{_datadir}/pixmaps/%{name}*.png
|
|
 |
2e43cdd |
%{_mandir}/man1/%{name}.1*
|
|
 |
2e43cdd |
%{_mandir}/man1/%{name}-pkg.1*
|
|
 |
8857b92 |
|
|
 |
8857b92 |
%changelog
|
|
 |
56b3bb5 |
* Sun Aug 28 2022 Robert Scheck <robert@fedoraproject.org> 4.4-6
|
|
 |
56b3bb5 |
- Depend on gettext-runtime for Fedora 37 and later (#2119025)
|
|
 |
56b3bb5 |
|
|
 |
72e2a86 |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.4-5
|
|
 |
72e2a86 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
 |
72e2a86 |
|
|
 |
7377584 |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.4-4
|
|
 |
7377584 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
 |
7377584 |
|
|
 |
4422a0c |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.4-3
|
|
 |
4422a0c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
 |
4422a0c |
|
|
 |
2e43cdd |
* Wed Mar 03 2021 Robert Scheck <robert@fedoraproject.org> 4.4-2
|
|
 |
2e43cdd |
- Correct license tag to include GPLv2+ and MIT (#1913737 #c9)
|
|
 |
2e43cdd |
|
|
 |
2e43cdd |
* Thu Jan 07 2021 Robert Scheck <robert@fedoraproject.org> 4.4-1
|
|
 |
2e43cdd |
- Upgrade to 4.4 (#1913737, thanks to Patrick Scheck)
|
|
 |
2e43cdd |
|
|
 |
8857b92 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.3.4-4
|
|
 |
8857b92 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
 |
8857b92 |
|
|
 |
8857b92 |
* Mon Feb 11 2019 Jiri Konecny <jkonecny@redhat.com> - 4.3.4-3
|
|
 |
8857b92 |
- Add gnupg as new dependency (Artem Polishchuk <ego.cordatus@gmail.com>)
|
|
 |
8857b92 |
|
|
 |
8857b92 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.3.4-2
|
|
 |
8857b92 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
 |
8857b92 |
|
|
 |
8857b92 |
* Sun Jan 06 2019 Jiri Konecny <jkonecny@redhat.com> - 4.3.4-1
|
|
 |
8857b92 |
- Update to 4.3.4
|
|
 |
8857b92 |
- Update position of gui_server source code for sed
|
|
 |
8857b92 |
|
|
 |
8857b92 |
* Mon Dec 17 2018 Jiri Konecny <jkonecny@redhat.com> - 4.3.3-1
|
|
 |
8857b92 |
- Update to 4.3.3
|
|
 |
8857b92 |
- Fix python shebangs to python2
|
|
 |
8857b92 |
- Add new runtime dependency jq
|
|
 |
8857b92 |
|
|
 |
8857b92 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.12-5
|
|
 |
8857b92 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
 |
8857b92 |
|
|
 |
8857b92 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.12-4
|
|
 |
8857b92 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
 |
8857b92 |
|
|
 |
8857b92 |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.12-3
|
|
 |
8857b92 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
 |
8857b92 |
|
|
 |
8857b92 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.12-2
|
|
 |
8857b92 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
 |
8857b92 |
|
|
 |
8857b92 |
* Thu Jun 22 2017 Fedora Release Monitoring <release-monitoring@fedoraproject.org> - 4.2.12-1
|
|
 |
8857b92 |
- Update to 4.2.12 (#1463027)
|
|
 |
8857b92 |
|
|
 |
8857b92 |
* Wed May 31 2017 Fedora Release Monitoring <release-monitoring@fedoraproject.org> - 4.2.11-1
|
|
 |
8857b92 |
- Update to 4.2.11 (#1457013)
|
|
 |
8857b92 |
- Remove patches contained in the new release
|
|
 |
8857b92 |
|
|
 |
8857b92 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.10-11
|
|
 |
8857b92 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
 |
8857b92 |
|
|
 |
8857b92 |
* Sun Nov 13 2016 Peter Robinson <pbrobinson@fedoraproject.org> 4.2.10-10
|
|
 |
8857b92 |
- Define ExclusiveArch with arches wine supports
|
|
 |
8857b92 |
|
|
 |
8857b92 |
* Mon Oct 10 2016 Jiri Konecny <jkonecny@redhat.com> - 4.2.10-9
|
|
 |
8857b92 |
- Add patch to fix GUI layout issues on Wayland
|
|
 |
8857b92 |
|
|
 |
8857b92 |
* Sat Sep 3 2016 Jiri Konecny <jkonecny@redhat.com> - 4.2.10-8
|
|
 |
8857b92 |
- Add new patch for the updated appdata.xml file
|
|
 |
8857b92 |
- Improve old Patch2 for desktop file
|
|
 |
8857b92 |
- Rebase Patch6 and Patch7 on top of Patch2
|
|
 |
8857b92 |
|
|
 |
8857b92 |
* Wed Mar 9 2016 Jiri Konecny <jkonecny@redhat.com> - 4.2.10-7
|
|
 |
8857b92 |
- Apply patch which fixing bad icon path in a desktop file
|
|
 |
8857b92 |
|
|
 |
8857b92 |
* Sat Mar 5 2016 Ville Skytt√§ <ville.skytta@iki.fi> - 4.2.10-6
|
|
 |
8857b92 |
- Build with $RPM_OPT_FLAGS
|
|
 |
8857b92 |
|
|
 |
8857b92 |
* Fri Jan 22 2016 Jiri Konecny <jkonecny@redhat.com> 4.2.10-5
|
|
 |
8857b92 |
- Add patch which will fix installation of locales to the system
|
|
 |
8857b92 |
|
|
 |
8857b92 |
* Wed Jan 20 2016 Jiri Konecny <jkonecny@redhat.com> 4.2.10-4
|
|
 |
8857b92 |
- Change sed command to simpler and safer version
|
|
 |
8857b92 |
- Change appdata patches
|
|
 |
8857b92 |
- Fix installation of appdata
|
|
 |
8857b92 |
- Better description
|
|
 |
8857b92 |
|
|
 |
8857b92 |
* Wed Jan 13 2016 Jiri Konecny <jkonecny@redhat.com> 4.2.10-3
|
|
 |
8857b92 |
- Removed shebang and executable bit from scripts in /usr/share
|
|
 |
8857b92 |
- Change of summary and description
|
|
 |
8857b92 |
- Add 2 new patches which adding appdata.xml file
|
|
 |
8857b92 |
- Add new build requires for appstream-util check
|
|
 |
8857b92 |
|
|
 |
8857b92 |
* Thu Jan 7 2016 Jiri Konecny <jkonecny@redhat.com> 4.2.10-2
|
|
 |
8857b92 |
- Reworked patches for Makefile (Patch0, Patch1, Patch3 changed)
|
|
 |
8857b92 |
- Using make_install and make_build macros
|
|
 |
8857b92 |
|
|
 |
8857b92 |
* Mon Jan 4 2016 Jiri Konecny <jkonecny@redhat.com> 4.2.10-1
|
|
 |
8857b92 |
- New version 4.2.10
|
|
 |
8857b92 |
- Use more macros
|
|
 |
8857b92 |
- Add missing dependencies
|
|
 |
8857b92 |
|
|
 |
8857b92 |
* Thu Dec 10 2015 Jiri Konecny <jkonecny@redhat.com> 4.2.9-2
|
|
 |
8857b92 |
- Fixed missing lang files
|
|
 |
8857b92 |
- Remove exclude
|
|
 |
8857b92 |
|
|
 |
8857b92 |
* Wed Nov 11 2015 Jiri Konecny <jkonecny@redhat.com> 4.2.9-1
|
|
 |
8857b92 |
- Package creation
|