The package rpms/playonlinux.git has added or updated architecture specific content in
its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/playonlinux.git/commit/?id=2e43cd...
https://src.fedoraproject.org/cgit/rpms/playonlinux.git/commit/?id=8857b9...
https://src.fedoraproject.org/cgit/rpms/playonlinux.git/commit/?id=1f0dc6...
https://src.fedoraproject.org/cgit/rpms/playonlinux.git/commit/?id=54563f....
Change:
+ExclusiveArch: %{arm} aarch64 %{ix86} x86_64
+ExclusiveArch: %{arm} aarch64 %{ix86} x86_64
-ExclusiveArch: %{arm} aarch64 %{ix86} x86_64
+ExclusiveArch: %{arm} aarch64 %{ix86} x86_64
Thanks.
Full change:
============
commit 2e43cddf6f35c4d575a547eb284a9d249e713361
Author: Robert Scheck <robert(a)fedoraproject.org>
Date: Fri Mar 5 22:56:09 2021 +0100
Initial import (after re-review)
diff --git a/.gitignore b/.gitignore
index 72429aa..7383b97 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1 @@
-/4.2.10.tar.gz
-/4.2.11.tar.gz
-/4.2.12.tar.gz
-/4.3.3.tar.gz
-/4.3.4.tar.gz
+/POL-POM-*.tar.gz
diff --git a/playonlinux-4.4-gita8fe4bb.patch b/playonlinux-4.4-gita8fe4bb.patch
new file mode 100644
index 0000000..7c78cf3
--- /dev/null
+++ b/playonlinux-4.4-gita8fe4bb.patch
@@ -0,0 +1,562 @@
+From 9ff4b76168a7c64e4a2de7be5158618fbb1242a2 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Quentin=20P=C3=A2ris?= <github(a)playonlinux.com>
+Date: Sun, 17 May 2020 16:15:30 +0200
+Subject: [PATCH 01/13] Update CHANGELOG.md
+
+---
+ CHANGELOG.md | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/CHANGELOG.md b/CHANGELOG.md
+index a589625c3..cde2d82c4 100644
+--- a/CHANGELOG.md
++++ b/CHANGELOG.md
+@@ -1,3 +1,6 @@
++# 4.4
++* Python 3 support
++
+ # 4.3.4
+ * Fixed some bugs in the wineversion process
+ * Begining of code cleaning and refactoring
+
+From 788fad16eff4904193e4e9c52b23672535a23c33 Mon Sep 17 00:00:00 2001
+From: Gilles <gilles.wiber(a)gmail.com>
+Date: Sat, 30 May 2020 11:19:35 +0200
+Subject: [PATCH 02/13] Removing SetSpacing funtion
+
+---
+ python/configurewindow/ConfigureWindow.py | 2 +-
+ python/configurewindow/ConfigureWindowNotebook.py | 2 +-
+ python/debug.py | 2 +-
+ python/install/InstallWindow.py | 2 +-
+ python/mainwindow.py | 2 +-
+ python/options.py | 2 +-
+ python/setupwindow/POL_SetupFrame.py | 2 +-
+ python/wine_versions/WineVersionsNotebook.py | 4 ++--
+ 8 files changed, 9 insertions(+), 9 deletions(-)
+
+diff --git a/python/configurewindow/ConfigureWindow.py
b/python/configurewindow/ConfigureWindow.py
+index 30f779db1..a26321437 100755
+--- a/python/configurewindow/ConfigureWindow.py
++++ b/python/configurewindow/ConfigureWindow.py
+@@ -75,7 +75,7 @@ def __init__(self,parent,id,title,shortcut, isPrefix = False):
+ self.Bind(wx.EVT_BUTTON, self.DeletePrefix, id=1002)
+
+
+- self.list_game.SetSpacing(0)
++ #self.list_game.SetSpacing(0)
+ self.list_game.SetImageList(self.images)
+
+
+diff --git a/python/configurewindow/ConfigureWindowNotebook.py
b/python/configurewindow/ConfigureWindowNotebook.py
+index 8b4e387ea..973d9bbd3 100644
+--- a/python/configurewindow/ConfigureWindowNotebook.py
++++ b/python/configurewindow/ConfigureWindowNotebook.py
+@@ -269,7 +269,7 @@ def Packages(self, nom):
+
+ self.Menu = wx.TreeCtrl(self.panelPackages, 99, pos=(15, 75), size=(530, 260),
+ style=wx.TR_HIDE_ROOT | wx.TR_FULL_ROW_HIGHLIGHT |
Variables.widget_borders)
+- self.Menu.SetSpacing(0);
++ #self.Menu.SetSpacing(0);
+ self.Menu.SetImageList(self.imagePackages)
+ self.imagePackages.RemoveAll()
+
+diff --git a/python/debug.py b/python/debug.py
+index 0221e89c0..43e8cf021 100755
+--- a/python/debug.py
++++ b/python/debug.py
+@@ -60,7 +60,7 @@ def
__init__(self,parent,id,title,logcheck="/dev/null",logtype=None):
+ self.Bind(wx.EVT_TREE_SEL_CHANGED, self.analyseLog, id=900)
+
+
+- self.list_game.SetSpacing(0);
++ #self.list_game.SetSpacing(0);
+ self.list_game.SetImageList(self.images)
+
+
+diff --git a/python/install/InstallWindow.py b/python/install/InstallWindow.py
+index 27a6b51a5..5b584774d 100755
+--- a/python/install/InstallWindow.py
++++ b/python/install/InstallWindow.py
+@@ -183,7 +183,7 @@ def _createAppNavigation(self):
+ self.appsList = wx.TreeCtrl(self.appNavigationPanel, 106,
+ style=wx.TR_HIDE_ROOT | wx.TR_FULL_ROW_HIGHLIGHT |
Variables.widget_borders)
+ self.appsList.SetImageList(self.imagesapps)
+- self.appsList.SetSpacing(0)
++ #self.appsList.SetSpacing(0)
+
+ self.appNavigationSizer.AddSpacer(10)
+ self.appNavigationSizer.Add(self.appsList, 4, wx.EXPAND, 5)
+diff --git a/python/mainwindow.py b/python/mainwindow.py
+index 7c21142df..8df1ff14b 100755
+--- a/python/mainwindow.py
++++ b/python/mainwindow.py
+@@ -240,7 +240,7 @@ def __init__(self, parent, id, title):
+
+ ## List game
+ self.list_game = wx.TreeCtrl(self, 105, style=wx.TR_HIDE_ROOT |
wx.TR_FULL_ROW_HIGHLIGHT)
+- self.list_game.SetSpacing(0)
++ #self.list_game.SetSpacing(0)
+ self.list_game.SetIndent(5)
+ self.list_game.SetImageList(self.images)
+ self.menu_gauche = wx.Panel(self, -1)
+diff --git a/python/options.py b/python/options.py
+index a54c11000..723073ce4 100755
+--- a/python/options.py
++++ b/python/options.py
+@@ -187,7 +187,7 @@ def Plugins(self, nom):
+ self.txtPlugin = wx.StaticText(self.panelPlugins, -1, _("Installed
plugins"), size=wx.DefaultSize)
+ self.txtPlugin.SetFont(self.fontTitle)
+ self.pluginlist = wx.TreeCtrl(self.panelPlugins, 220,
style=Variables.widget_borders|wx.TR_HIDE_ROOT|wx.TR_FULL_ROW_HIGHLIGHT)
+- self.pluginlist.SetSpacing(0)
++ #self.pluginlist.SetSpacing(0)
+
+ self.pluginImgList = wx.ImageList(16,16)
+
+diff --git a/python/setupwindow/POL_SetupFrame.py b/python/setupwindow/POL_SetupFrame.py
+index 66bee8533..33d73d38a 100755
+--- a/python/setupwindow/POL_SetupFrame.py
++++ b/python/setupwindow/POL_SetupFrame.py
+@@ -212,7 +212,7 @@ def _createUI(self):
+ style=wx.TR_HIDE_ROOT | wx.TR_FULL_ROW_HIGHLIGHT |
Variables.widget_borders,
+ pos=(25, 25), size=(460, 220))
+ self.MenuGames.SetImageList(self.images)
+- self.MenuGames.SetSpacing(0)
++ #self.MenuGames.SetSpacing(0)
+
+ # Login
+ self.login = wx.StaticText(self.contentPanel, -1, _("Login: "),
pos=(20, 40), size=(460, 20))
+diff --git a/python/wine_versions/WineVersionsNotebook.py
b/python/wine_versions/WineVersionsNotebook.py
+index e088abeb2..ec5f12535 100644
+--- a/python/wine_versions/WineVersionsNotebook.py
++++ b/python/wine_versions/WineVersionsNotebook.py
+@@ -39,7 +39,7 @@ def _createInstalledWineVersionsPanel(self, arch):
+ self.installedWineVersionsTreeSelector[arch] =
wx.TreeCtrl(installedWineVersionsPanel, 107 + self.calculateEventDelta(arch),
+ style=wx.TR_HIDE_ROOT
| wx.TR_FULL_ROW_HIGHLIGHT | Variables.widget_borders)
+
self.installedWineVersionsTreeSelector[arch].SetImageList(self.imagesapps_i[arch])
+- self.installedWineVersionsTreeSelector[arch].SetSpacing(0)
++ #self.installedWineVersionsTreeSelector[arch].SetSpacing(0)
+ installedWineVersionsSizer.Add(self.installedWineVersionsTreeSelector[arch], 1,
wx.EXPAND)
+ installedWineVersionsSizer.AddSpacer(10)
+
+@@ -55,7 +55,7 @@ def _createAvailableWineVersionsPanel(self, arch):
+ style=wx.TR_HIDE_ROOT
| wx.TR_FULL_ROW_HIGHLIGHT | Variables.widget_borders,
+ size=(320, 300),
pos=(10, 35))
+
self.availableWineVersionsTreeSelector[arch].SetImageList(self.imagesapps[arch])
+- self.availableWineVersionsTreeSelector[arch].SetSpacing(0)
++ #self.availableWineVersionsTreeSelector[arch].SetSpacing(0)
+ availableWineVersionsSizer.Add(self.availableWineVersionsTreeSelector[arch], 1,
wx.EXPAND)
+ availableWineVersionsSizer.AddSpacer(10)
+
+
+From 77a3ca3be293ebcafa2400703a5dd4079a5f200b Mon Sep 17 00:00:00 2001
+From: Gilles <gilles.wiber(a)gmail.com>
+Date: Sat, 30 May 2020 11:32:13 +0200
+Subject: [PATCH 03/13] Solving pluging manager issue (extension management)
+
+---
+ python/options.py | 11 ++++++-----
+ 1 file changed, 6 insertions(+), 5 deletions(-)
+
+diff --git a/python/options.py b/python/options.py
+index 723073ce4..f40f26a70 100755
+--- a/python/options.py
++++ b/python/options.py
+@@ -229,9 +229,9 @@ def generateExts(self):
+ line = line.replace("\n","")
+ line = line.split("=")
+ liner = "Line %s" % i
+- self.list_ext.InsertStringItem(i, liner)
+- self.list_ext.SetStringItem(i, 0, line[0])
+- self.list_ext.SetStringItem(i, 1, line[1])
++ self.list_ext.InsertItem(i, liner)
++ self.list_ext.SetItem(i, 0, line[0])
++ self.list_ext.SetItem(i, 1, line[1])
+ i += 1
+ self.app_installed_text.Hide()
+ self.app_installed.Hide()
+@@ -249,8 +249,9 @@ def editExt(self, event):
+ self.app_installed.Show()
+ self.delete_ext.Show()
+
+- self.app_selected = self.exts[event.m_itemIndex].split("=")[1]
+- self.ext_selected = self.exts[event.m_itemIndex].split("=")[0]
++ ind = event.GetIndex()
++ self.app_selected = self.list_ext.GetItem(ind,1).GetText()
++ self.ext_selected = self.list_ext.GetItem(ind,0).GetText()
+
+
self.app_installed.SetValue(self.app_selected.replace("\n","").replace("\r",""))
+
+
+From a656f5b2bdd23375e3d9547a9c38ccf99e2dc670 Mon Sep 17 00:00:00 2001
+From: Gilles <gilles.wiber(a)gmail.com>
+Date: Sat, 30 May 2020 14:34:28 +0200
+Subject: [PATCH 04/13] Solving different issue on debug window
+
+---
+ python/debug.py | 7 ++++---
+ python/lib/Variables.py | 2 +-
+ 2 files changed, 5 insertions(+), 4 deletions(-)
+
+diff --git a/python/debug.py b/python/debug.py
+index 43e8cf021..1e344edc8 100755
+--- a/python/debug.py
++++ b/python/debug.py
+@@ -38,7 +38,7 @@ def
__init__(self,parent,id,title,logcheck="/dev/null",logtype=None):
+
+ wx.Frame.__init__(self, parent, -1, title, size = (810,
600+Variables.windows_add_size), style = wx.CLOSE_BOX | wx.CAPTION | wx.MINIMIZE_BOX)
+ self.SetIcon(wx.Icon(Variables.playonlinux_env+"/etc/playonlinux.png",
wx.BITMAP_TYPE_ANY))
+- self.SetTitle(_('{0}
debugger').format(os.environ["APPLICATION_TITLE"]))
++ self.SetTitle(title)
+ #self.panelFenp = wx.Panel(self, -1)
+
+ self.prefixes_item = {}
+@@ -79,7 +79,7 @@ def
__init__(self,parent,id,title,logcheck="/dev/null",logtype=None):
+ self.log_reader = wx.TextCtrl(self.panelText, 100, "",
size=wx.Size(590,500), pos=(2,2),
style=Variables.widget_borders|wx.TE_RICH2|wx.TE_READONLY|wx.TE_MULTILINE)
+ self.log_reader.Bind(wx.EVT_SET_FOCUS, self.OnFocus)
+ self.openTextEdit = wx.Button(self.panelNotEmpty, 101, _("Locate this
logfile"), size=(400,30), pos=(70,512))
+- self.reportProblem = wx.Button(self.panelNotEmpty, 102, "",
size=(400,30), pos=(70,552))
++ self.reportProblem = wx.Button(self.panelNotEmpty, 102, _("Bug
report"), size=(400,30), pos=(70,552))
+
+ if(logcheck == "/dev/null"):
+ self.HideLogFile()
+@@ -95,7 +95,8 @@ def bugReport(self, event):
+ new_env = os.environ
+ new_env["LOGTITLE"] = self.logname
+ subprocess.Popen(["bash",
Variables.playonlinux_env+"/bash/bug_report"], env=new_env)
+- self.reportProblem.Enable(False)
++ # Doesn't work if cancel on POL Window : need to find another way ...
++ #self.reportProblem.Enable(False)
+
+ def locate(self, event):
+ if(self.logtype == 0):
+diff --git a/python/lib/Variables.py b/python/lib/Variables.py
+index 055fe17f9..8bed7601b 100755
+--- a/python/lib/Variables.py
++++ b/python/lib/Variables.py
+@@ -51,7 +51,7 @@
+ windows_add_size = 0
+ windows_add_playonmac = 0
+ else:
+- windows_add_size = dpiFetcher().fetch_extra_pixel()
++ windows_add_size = dpiFetcher().fetch_extra_pixel()+60
+ windows_add_playonmac = 0
+
+ widget_borders = wx.RAISED_BORDER
+
+From 02beab05d4255802c26db20a18787349e9b15bbc Mon Sep 17 00:00:00 2001
+From: Gilles <gilles.wiber(a)gmail.com>
+Date: Sat, 30 May 2020 15:17:33 +0200
+Subject: [PATCH 05/13] Solving small bugs
+
+---
+ python/configurewindow/ConfigureWindowNotebook.py | 2 ++
+ python/install/InstallWindow.py | 2 +-
+ 2 files changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/python/configurewindow/ConfigureWindowNotebook.py
b/python/configurewindow/ConfigureWindowNotebook.py
+index 973d9bbd3..296443e66 100644
+--- a/python/configurewindow/ConfigureWindowNotebook.py
++++ b/python/configurewindow/ConfigureWindowNotebook.py
+@@ -467,6 +467,8 @@ def misc_button(self, event):
+ self.FileDialog.ShowModal()
+ if (self.FileDialog.GetPath() != ""):
+ filename = self.FileDialog.GetPath()
++ if not os.path.isfile(filename):
++ return
+ dirname = os.path.dirname(filename)
+ if (self.s_isPrefix == True):
+ subprocess.Popen(["bash", Variables.playonlinux_env +
"/bash/POL_Command", "--prefix",
+diff --git a/python/install/InstallWindow.py b/python/install/InstallWindow.py
+index 5b584774d..2e49e4a18 100755
+--- a/python/install/InstallWindow.py
++++ b/python/install/InstallWindow.py
+@@ -333,7 +333,7 @@ def closeapp(self, event):
+
+ def manual(self, event):
+ self.live = 1
+- self.installapp(self)
++ self.installapp(event)
+
+ def showStars(self, stars):
+ starWidth = 20
+
+From e3a924fcf4ff3409d31f0956d3802d6a65956ae2 Mon Sep 17 00:00:00 2001
+From: ovari <17465872+ovari(a)users.noreply.github.com>
+Date: Fri, 24 Jul 2020 19:42:50 +1000
+Subject: [PATCH 06/13] Update README.md
+
+---
+ README.md | 49 ++++++++++++++++++++++++++++++++++---------------
+ 1 file changed, 34 insertions(+), 15 deletions(-)
+
+diff --git a/README.md b/README.md
+index 9b6ca31ca..97795c427 100644
+--- a/README.md
++++ b/README.md
+@@ -1,28 +1,47 @@
+-POL-POM-4
+-=========
++# PlayOnLinux and PlayOnMac 4 (POL-POM-4)
+
+-PlayOnLinux 4 repository
+-Note: PlayOnLinux 5 is currently under development. Please clone POL-POM-5 repository if
you want to contribute
++Note: [Phoenicis PlayOnLinux and PlayOnMac
5](https://www.phoenicis.org/) is currently
under development. Please clone [Phoenicis PlayOnLinux and PlayOnMac 5
repository](https://github.com/PhoenicisOrg/phoenicis) if you want to contribute.
+
+-What is PlayOnLinux?
+-=====================
++PlayOnLinux and PlayOnMac 4 allows you to install and use non-native applications on
your favorite operating system.
++
++Supported operating systems:
++
++* Linux
++* Mac OSX
++
++Supported engines:
++
++* [
Wine](https://www.winehq.org/)
++
++
++# What is 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®.
++
+ Few games are compatible with GNU/Linux at the moment and it certainly is a factor
preventing the migration to this system. PlayOnLinux brings a cost-free, accessible and
efficient solution to this problem.
+
+
+-What are PlayOnLinux's features?
+-================================
++# What are PlayOnLinux's features?
+
+ Here is a non-exhaustive list of the interesting points to know:
++* You don't have to own a Windows license to use PlayOnLinux.
++* PlayOnLinux is based on [
Wine](https://www.winehq.org/), and so profits from all its
features yet it keeps the user from having to deal with its complexity.
++* PlayOnLinux is free software.
++* PlayOnLinux uses [
Bash](https://en.wikipedia.org/wiki/Bash_%28Unix_shell%29) and
[
Python](https://en.wikipedia.org/wiki/Python_(programming_language)).
+
+-You don't have to own a Windows license to use PlayOnLinux.
+-PlayOnLinux is based on Wine, and so profits from all its features yet it keeps the user
from having to deal with its complexity.
+-PlayOnLinux is free software.
+-PlayOnLinux uses Bash and Python.
+ Nevertheless, PlayOnLinux has some bugs, as every piece of software:
+-
+-Occasional performance decrease (image may be less fluid and graphics less detailed).
+-Not all games are supported. Nevertheless, you can use our manual installation module.
++* Occasional performance decrease (image may be less fluid and graphics less detailed).
++* Not all games are supported. Nevertheless, you can use our manual installation
module.
+
+ For more information, visit
http://www.playonlinux.com
++
++
++## Translate
++PlayOnLinux/PlayOnMac 4 is localized using Launchpad:
https://translations.launchpad.net/playonlinux
++If your language is not listed, please create an
[
issue](https://github.com/PlayOnLinux/POL-POM-4/issues).
++
++
++## Community
++* Issues or ideas:
https://github.com/PhoenicisOrg/phoenicis/issues
++* Forums :
http://www.playonlinux.com/en/forums.html
++* Slack :
https://join.slack.com/phoenicis-org/shared_invite/MTkzMTMwMjM3MjcxLTE0OT...
+
+From 2fb13e328861264ee3a4f6d8979bb1ee018cea79 Mon Sep 17 00:00:00 2001
+From: ovari <17465872+ovari(a)users.noreply.github.com>
+Date: Fri, 24 Jul 2020 19:44:16 +1000
+Subject: [PATCH 07/13] Update README.md
+
+---
+ README.md | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/README.md b/README.md
+index 97795c427..c1e9ed033 100644
+--- a/README.md
++++ b/README.md
+@@ -21,10 +21,10 @@ PlayOnLinux is a piece of software which allows you to easily install
and use nu
+ Few games are compatible with GNU/Linux at the moment and it certainly is a factor
preventing the migration to this system. PlayOnLinux brings a cost-free, accessible and
efficient solution to this problem.
+
+
+-# What are PlayOnLinux's features?
++# What are PlayOnLinux’s features?
+
+ Here is a non-exhaustive list of the interesting points to know:
+-* You don't have to own a Windows license to use PlayOnLinux.
++* You don’t have to own a Windows license to use PlayOnLinux.
+ * PlayOnLinux is based on [
Wine](https://www.winehq.org/), and so profits from all its
features yet it keeps the user from having to deal with its complexity.
+ * PlayOnLinux is free software.
+ * PlayOnLinux uses [
Bash](https://en.wikipedia.org/wiki/Bash_%28Unix_shell%29) and
[
Python](https://en.wikipedia.org/wiki/Python_(programming_language)).
+
+From f4229ac83015a583d0c0e45445d28ee332321356 Mon Sep 17 00:00:00 2001
+From: ovari <17465872+ovari(a)users.noreply.github.com>
+Date: Fri, 24 Jul 2020 19:45:11 +1000
+Subject: [PATCH 08/13] Update README.md
+
+---
+ README.md | 5 +++--
+ 1 file changed, 3 insertions(+), 2 deletions(-)
+
+diff --git a/README.md b/README.md
+index c1e9ed033..75fbc5fae 100644
+--- a/README.md
++++ b/README.md
+@@ -6,8 +6,9 @@ PlayOnLinux and PlayOnMac 4 allows you to install and use non-native
application
+
+ Supported operating systems:
+
+-* Linux
+-* Mac OSX
++* GNU/Linux
++* Mac OS X
++* macOS
+
+ Supported engines:
+
+
+From 6480e694154f4f24c4bf31babc7e9271574e04ca Mon Sep 17 00:00:00 2001
+From: ovari <17465872+ovari(a)users.noreply.github.com>
+Date: Fri, 24 Jul 2020 19:49:31 +1000
+Subject: [PATCH 09/13] Update README.md
+
+---
+ README.md | 7 +++----
+ 1 file changed, 3 insertions(+), 4 deletions(-)
+
+diff --git a/README.md b/README.md
+index 75fbc5fae..0d64a5962 100644
+--- a/README.md
++++ b/README.md
+@@ -6,9 +6,8 @@ PlayOnLinux and PlayOnMac 4 allows you to install and use non-native
application
+
+ Supported operating systems:
+
+-* GNU/Linux
+-* Mac OS X
+-* macOS
++* [
GNU/Linux](https://en.wikipedia.org/wiki/Linux)
++* [
macOS](https://en.wikipedia.org/wiki/Apple_Macintosh_OS_X)
+
+ Supported engines:
+
+@@ -25,7 +24,7 @@ Few games are compatible with GNU/Linux at the moment and it certainly
is a fact
+ # What are PlayOnLinux’s features?
+
+ Here is a non-exhaustive list of the interesting points to know:
+-* You don’t have to own a Windows license to use PlayOnLinux.
++* You don’t have to own a [Microsoft
Windows](https://en.wikipedia.org/wiki/Microsoft_Windows) license to use PlayOnLinux.
+ * PlayOnLinux is based on [
Wine](https://www.winehq.org/), and so profits from all its
features yet it keeps the user from having to deal with its complexity.
+ * PlayOnLinux is free software.
+ * PlayOnLinux uses [
Bash](https://en.wikipedia.org/wiki/Bash_%28Unix_shell%29) and
[
Python](https://en.wikipedia.org/wiki/Python_(programming_language)).
+
+From c4669305f256c4c16bc68a353239cbc8c5dae7ba Mon Sep 17 00:00:00 2001
+From: ovari <17465872+ovari(a)users.noreply.github.com>
+Date: Fri, 24 Jul 2020 19:50:31 +1000
+Subject: [PATCH 10/13] Update README.md
+
+---
+ README.md | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/README.md b/README.md
+index 0d64a5962..57fadfbb6 100644
+--- a/README.md
++++ b/README.md
+@@ -26,7 +26,7 @@ Few games are compatible with GNU/Linux at the moment and it certainly
is a fact
+ Here is a non-exhaustive list of the interesting points to know:
+ * You don’t have to own a [Microsoft
Windows](https://en.wikipedia.org/wiki/Microsoft_Windows) license to use PlayOnLinux.
+ * PlayOnLinux is based on [
Wine](https://www.winehq.org/), and so profits from all its
features yet it keeps the user from having to deal with its complexity.
+-* PlayOnLinux is free software.
++* PlayOnLinux is [free
software](https://en.wikipedia.org/wiki/Free_software).
+ * PlayOnLinux uses [
Bash](https://en.wikipedia.org/wiki/Bash_%28Unix_shell%29) and
[
Python](https://en.wikipedia.org/wiki/Python_(programming_language)).
+
+ Nevertheless, PlayOnLinux has some bugs, as every piece of software:
+
+From a6cc23d43375fca0e28e900a110d195be251ee20 Mon Sep 17 00:00:00 2001
+From: ovari <17465872+ovari(a)users.noreply.github.com>
+Date: Fri, 24 Jul 2020 20:12:36 +1000
+Subject: [PATCH 11/13] Update README.md
+
+---
+ README.md | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/README.md b/README.md
+index 57fadfbb6..0fe79f3fa 100644
+--- a/README.md
++++ b/README.md
+@@ -7,7 +7,7 @@ PlayOnLinux and PlayOnMac 4 allows you to install and use non-native
application
+ Supported operating systems:
+
+ * [
GNU/Linux](https://en.wikipedia.org/wiki/Linux)
+-* [
macOS](https://en.wikipedia.org/wiki/Apple_Macintosh_OS_X)
++* [
macOS](https://en.wikipedia.org/wiki/MacOS)
+
+ Supported engines:
+
+
+From 08e87ed0a78b0c7743935cd39b355db303157354 Mon Sep 17 00:00:00 2001
+From: ovari <17465872+ovari(a)users.noreply.github.com>
+Date: Sat, 25 Jul 2020 18:31:10 +1000
+Subject: [PATCH 12/13] Update README.md
+
+---
+ README.md | 8 ++++----
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/README.md b/README.md
+index 0fe79f3fa..3d00e65c1 100644
+--- a/README.md
++++ b/README.md
+@@ -6,8 +6,8 @@ PlayOnLinux and PlayOnMac 4 allows you to install and use non-native
application
+
+ Supported operating systems:
+
+-* [
GNU/Linux](https://en.wikipedia.org/wiki/Linux)
+-* [
macOS](https://en.wikipedia.org/wiki/MacOS)
++* GNU/Linux
++* macOS
+
+ Supported engines:
+
+@@ -24,10 +24,10 @@ Few games are compatible with GNU/Linux at the moment and it
certainly is a fact
+ # What are PlayOnLinux’s features?
+
+ Here is a non-exhaustive list of the interesting points to know:
+-* You don’t have to own a [Microsoft
Windows](https://en.wikipedia.org/wiki/Microsoft_Windows) license to use PlayOnLinux.
++* You don’t have to own a Microsoft Windows license to use PlayOnLinux.
+ * PlayOnLinux is based on [
Wine](https://www.winehq.org/), and so profits from all its
features yet it keeps the user from having to deal with its complexity.
+ * PlayOnLinux is [free
software](https://en.wikipedia.org/wiki/Free_software).
+-* PlayOnLinux uses [
Bash](https://en.wikipedia.org/wiki/Bash_%28Unix_shell%29) and
[
Python](https://en.wikipedia.org/wiki/Python_(programming_language)).
++* PlayOnLinux uses Bash and Python.
+
+ Nevertheless, PlayOnLinux has some bugs, as every piece of software:
+ * Occasional performance decrease (image may be less fluid and graphics less detailed).
+
+From 2bf9ed2d321a26b48de83a13064f7b9f0db0dcd7 Mon Sep 17 00:00:00 2001
+From: rayderua <rayder.ua(a)gmail.com>
+Date: Mon, 5 Oct 2020 17:19:47 +0300
+Subject: [PATCH 13/13] fix split version to first 3 elements
+
+ValueError: invalid literal for int() with base 10: 'post2'
+
+Versions can contain not only digits (for example wx releases: 4.0.7, 4.0.7.post1,
4.0.7.post2, 4.1.0)
+---
+ python/lib/playonlinux.py | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/python/lib/playonlinux.py b/python/lib/playonlinux.py
+index 827db9202..3e87d90aa 100755
+--- a/python/lib/playonlinux.py
++++ b/python/lib/playonlinux.py
+@@ -278,11 +278,11 @@ def VersionLower(version1, version2):
+ else:
+ return False
+
+- version1 = [ int(digit) for digit in version1[0].split(".") ]
++ version1 = [ int(digit) for digit in version1[0].split(".")[:3] ]
+ while len(version1) < 3:
+ version1.append(0)
+
+- version2 = [ int(digit) for digit in version2[0].split(".") ]
++ version2 = [ int(digit) for digit in version2[0].split(".")[:3] ]
+ while len(version2) < 3:
+ version2.append(0)
+
diff --git a/playonlinux.spec b/playonlinux.spec
index 03c8a5c..580b8cf 100644
--- a/playonlinux.spec
+++ b/playonlinux.spec
@@ -1,81 +1,108 @@
-# This package depends on automagic byte compilation
-#
https://fedoraproject.org/wiki/Changes/No_more_automagic_Python_bytecompi...
-%global _python_bytecompile_extra 1
-
-Name: playonlinux
-Version: 4.3.4
-Summary: Graphical front-end for Wine
-License: GPLv3
-URL:
https://www.playonlinux.com
-Release: 4%{?dist}
-Source0:
https://github.com/PlayOnLinux/POL-POM-4/archive/%{version}.tar.gz
-
-# Wine supported on these arches
-ExclusiveArch: %{arm} aarch64 %{ix86} x86_64
-
-Requires: unzip
-Requires: wine
-Requires: wget
-Requires: xterm
-Requires: python2 > 2.4
-Requires: wxPython
-Requires: ImageMagick
-Requires: cabextract
-Requires: icoutils
-Requires: p7zip-plugins
-Requires: jq
-Requires: gnupg
-BuildRequires: gcc
+Summary: Graphical front-end for Wine
+Name: playonlinux
+Version: 4.4
+Release: 2%{?dist}
+# playonlinux itself is GPLv3 but uses other source codes, breakdown:
+# GPLv2+: python/{configurewindow/ConfigureWindow,debug,mainwindow,options,wrapper}.py
+# GPLv2+: python/{install/InstallWindow,setupwindow/{POL_SetupFrame,gui_server}}.py
+# GPLv2+: python/wine_versions/WineVersionsWindow.py
+# MIT: src/check_direct_rendering.c
+License: GPLv3 and GPLv2+ and MIT
+URL:
https://www.playonlinux.com/
+Source0:
https://github.com/PlayOnLinux/POL-POM-4/archive/%{version}/POL-POM-4-%{v...
+# Upstream changes since last release
+Patch0:
https://github.com/PlayOnLinux/POL-POM-4/compare/4.4...a8fe4bb.patch#/pla...
+BuildRequires: gcc
+BuildRequires: make
BuildRequires: gzip
BuildRequires: mesa-libGL-devel
-BuildRequires: python2 > 2.4
+BuildRequires: python3
+BuildRequires: python3-devel
+BuildRequires: python3-natsort
+BuildRequires: python3-wxpython4
BuildRequires: desktop-file-utils
BuildRequires: gettext
BuildRequires: libappstream-glib
-
-%global BUILD_DIR %{buildroot}/%{_datadir}/%{name}
+Requires: python3
+Requires: python3-natsort
+Requires: python3-wxpython4
+# Required by python/mainwindow.py
+Requires: nc
+Requires: tar
+Requires: cabextract
+Requires: ImageMagick
+Requires: wget
+Requires: curl
+Requires: gnupg2
+Requires: xterm
+Requires: gettext
+Requires: icoutils
+Requires: wine
+Requires: unzip
+Requires: jq
+Requires: p7zip-plugins
+# Wine supported on these arches
+ExclusiveArch: %{arm} aarch64 %{ix86} x86_64
%description
New users can often find Wine to be intimidating and difficult to use.
-PlayOnLinux simplifies much of this and makes installing and using
-Windows programs easier.
+
+PlayOnLinux is a graphical front-end for Wine which allows to easily
+install and use numerous games and applications designed to run with
+Microsoft Windows.
+
PlayOnLinux has the database of Windows applications from which the user
can install desired application with a few clicks. It will automatically
-setup your Wine prefix and download any required Windows libraries.
+setup the Wine prefix and download any required Windows libraries.
%prep
-%autosetup -n POL-POM-4-%{version}
+%setup -q -n POL-POM-4-%{version}
+%patch0 -p1
%build
-CFLAGS="$RPM_OPT_FLAGS" %make_build
+%make_build \
+ CFLAGS="$RPM_OPT_FLAGS $RPM_LD_FLAGS" \
+ PYTHON="%{__python3} -m py_compile"
%install
%make_install
-%find_lang pol
-sed -i '1{/^#!\//d}' %{BUILD_DIR}/python/setupwindow/gui_server.py \
- %{BUILD_DIR}/tests/python/test_versionlower.py \
- %{BUILD_DIR}/tests/bash/test-versionlower
+# Remove shebang from Python library
+sed '1{/^#!\//d}' -i
%{buildroot}%{_datadir}/%{name}/python/setupwindow/gui_server.py
+
+# Remove misplaced files and directories
+rm -rf
%{buildroot}%{_datadir}/%{name}/{bin,tests,CHANGELOG.md,LICENCE,README.md,TRANSLATORS}
+rm -f %{buildroot}%{_datadir}/%{name}/etc/PlayOnLinux.{appdata.xml,desktop}
+
+# Byte compile importable Python modules outside of standard paths
+%py_byte_compile %{__python3} %{buildroot}%{_datadir}/%{name}/python/
-grep -lZsr "#!/usr/bin/env python" %{BUILD_DIR}/python/ | xargs -0 -l sed -i -e
"s%#\!/usr/bin/env python%#\!/usr/bin/env python2%"
-grep -lZsr "#!/usr/bin/python" %{BUILD_DIR}/python/ | xargs -0 -l sed -i -e
"s%#\!/usr/bin/python%#\!/usr/bin/python2%"
+%find_lang pol
%check
-desktop-file-validate %{buildroot}/%{_datadir}/applications/PlayOnLinux.desktop
-appstream-util validate-relax --nonet
%{buildroot}/%{_datadir}/appdata/PlayOnLinux.appdata.xml
+desktop-file-validate %{buildroot}%{_datadir}/applications/PlayOnLinux.desktop
+appstream-util validate-relax --nonet
%{buildroot}%{_datadir}/appdata/PlayOnLinux.appdata.xml
%files -f pol.lang
-%doc README.md
%license LICENCE doc/copyright
-%{_bindir}/*
-%{_mandir}/man1/*
+%doc CHANGELOG.md README.md TRANSLATORS
+%{_bindir}/%{name}
+%{_bindir}/%{name}-pkg
+%{_libexecdir}/%{name}-check_dd
%{_datadir}/%{name}/
-%{_datadir}/pixmaps/*
-%{_datadir}/applications/*
-%{_datadir}/appdata/*
-%{_libexecdir}/playonlinux-check_dd
+%{_datadir}/appdata/PlayOnLinux.appdata.xml
+%{_datadir}/applications/PlayOnLinux.desktop
+%{_datadir}/pixmaps/%{name}*.png
+%{_mandir}/man1/%{name}.1*
+%{_mandir}/man1/%{name}-pkg.1*
%changelog
+* Wed Mar 03 2021 Robert Scheck <robert(a)fedoraproject.org> 4.4-2
+- Correct license tag to include GPLv2+ and MIT (#1913737 #c9)
+
+* Thu Jan 07 2021 Robert Scheck <robert(a)fedoraproject.org> 4.4-1
+- Upgrade to 4.4 (#1913737, thanks to Patrick Scheck)
+
* Fri Jul 26 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 4.3.4-4
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
@@ -163,4 +190,3 @@ appstream-util validate-relax --nonet
%{buildroot}/%{_datadir}/appdata/PlayOnLin
* Wed Nov 11 2015 Jiri Konecny <jkonecny(a)redhat.com> 4.2.9-1
- Package creation
-
diff --git a/sources b/sources
index 744e3cd..83fae0b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (4.3.4.tar.gz) =
9f86004da80b2b1556b64085a226a94fbf553f17634a533062de1ed542a6ca47b7692164543b2c82b8cd48d3ceceab93744e698cda2ae0bfc0b8d53391d5ba2f
+SHA512 (POL-POM-4-4.4.tar.gz) =
0d3e2a6a6c37a32ff7831c0563999ea99fd9c41677d7248e37f4a291740071d7b5a179a6dc5b1687e2361fdafd7fdf9c45c8257cdd2362007f9fe06ff2ab037f
commit 8857b92905f9699ec7e776cff2fac747615ff46b
Author: Tomas Hrcka <thrcka(a)redhat.com>
Date: Fri Mar 5 09:21:12 2021 +0100
Revert "https://bugzilla.redhat.com/show_bug.cgi?id=1738050#c1"
This reverts commit 1f0dc66a763210afe72e759b8ba220f617c71900.
Unretirement request:
https://pagure.io/releng/issue/10050
Signed-off-by: Tomas Hrcka <thrcka(a)redhat.com>
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..72429aa
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,5 @@
+/4.2.10.tar.gz
+/4.2.11.tar.gz
+/4.2.12.tar.gz
+/4.3.3.tar.gz
+/4.3.4.tar.gz
diff --git a/dead.package b/dead.package
deleted file mode 100644
index 5775fe1..0000000
--- a/dead.package
+++ /dev/null
@@ -1 +0,0 @@
-https://bugzilla.redhat.com/show_bug.cgi?id=1738050#c1
diff --git a/playonlinux.spec b/playonlinux.spec
new file mode 100644
index 0000000..03c8a5c
--- /dev/null
+++ b/playonlinux.spec
@@ -0,0 +1,166 @@
+# This package depends on automagic byte compilation
+#
https://fedoraproject.org/wiki/Changes/No_more_automagic_Python_bytecompi...
+%global _python_bytecompile_extra 1
+
+Name: playonlinux
+Version: 4.3.4
+Summary: Graphical front-end for Wine
+License: GPLv3
+URL:
https://www.playonlinux.com
+Release: 4%{?dist}
+Source0:
https://github.com/PlayOnLinux/POL-POM-4/archive/%{version}.tar.gz
+
+# Wine supported on these arches
+ExclusiveArch: %{arm} aarch64 %{ix86} x86_64
+
+Requires: unzip
+Requires: wine
+Requires: wget
+Requires: xterm
+Requires: python2 > 2.4
+Requires: wxPython
+Requires: ImageMagick
+Requires: cabextract
+Requires: icoutils
+Requires: p7zip-plugins
+Requires: jq
+Requires: gnupg
+BuildRequires: gcc
+BuildRequires: gzip
+BuildRequires: mesa-libGL-devel
+BuildRequires: python2 > 2.4
+BuildRequires: desktop-file-utils
+BuildRequires: gettext
+BuildRequires: libappstream-glib
+
+%global BUILD_DIR %{buildroot}/%{_datadir}/%{name}
+
+%description
+New users can often find Wine to be intimidating and difficult to use.
+PlayOnLinux simplifies much of this and makes installing and using
+Windows programs easier.
+PlayOnLinux has the database of Windows applications from which the user
+can install desired application with a few clicks. It will automatically
+setup your Wine prefix and download any required Windows libraries.
+
+%prep
+%autosetup -n POL-POM-4-%{version}
+
+%build
+CFLAGS="$RPM_OPT_FLAGS" %make_build
+
+%install
+%make_install
+%find_lang pol
+
+sed -i '1{/^#!\//d}' %{BUILD_DIR}/python/setupwindow/gui_server.py \
+ %{BUILD_DIR}/tests/python/test_versionlower.py \
+ %{BUILD_DIR}/tests/bash/test-versionlower
+
+grep -lZsr "#!/usr/bin/env python" %{BUILD_DIR}/python/ | xargs -0 -l sed -i -e
"s%#\!/usr/bin/env python%#\!/usr/bin/env python2%"
+grep -lZsr "#!/usr/bin/python" %{BUILD_DIR}/python/ | xargs -0 -l sed -i -e
"s%#\!/usr/bin/python%#\!/usr/bin/python2%"
+
+%check
+desktop-file-validate %{buildroot}/%{_datadir}/applications/PlayOnLinux.desktop
+appstream-util validate-relax --nonet
%{buildroot}/%{_datadir}/appdata/PlayOnLinux.appdata.xml
+
+%files -f pol.lang
+%doc README.md
+%license LICENCE doc/copyright
+%{_bindir}/*
+%{_mandir}/man1/*
+%{_datadir}/%{name}/
+%{_datadir}/pixmaps/*
+%{_datadir}/applications/*
+%{_datadir}/appdata/*
+%{_libexecdir}/playonlinux-check_dd
+
+%changelog
+* Fri Jul 26 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 4.3.4-4
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
+
+* Mon Feb 11 2019 Jiri Konecny <jkonecny(a)redhat.com> - 4.3.4-3
+- Add gnupg as new dependency (Artem Polishchuk <ego.cordatus(a)gmail.com>)
+
+* Sat Feb 02 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 4.3.4-2
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
+
+* Sun Jan 06 2019 Jiri Konecny <jkonecny(a)redhat.com> - 4.3.4-1
+- Update to 4.3.4
+- Update position of gui_server source code for sed
+
+* Mon Dec 17 2018 Jiri Konecny <jkonecny(a)redhat.com> - 4.3.3-1
+- Update to 4.3.3
+- Fix python shebangs to python2
+- Add new runtime dependency jq
+
+* Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 4.2.12-5
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
+
+* Fri Feb 09 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 4.2.12-4
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
+* Thu Aug 03 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 4.2.12-3
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
+
+* Thu Jul 27 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 4.2.12-2
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
+
+* Thu Jun 22 2017 Fedora Release Monitoring <release-monitoring(a)fedoraproject.org>
- 4.2.12-1
+- Update to 4.2.12 (#1463027)
+
+* Wed May 31 2017 Fedora Release Monitoring <release-monitoring(a)fedoraproject.org>
- 4.2.11-1
+- Update to 4.2.11 (#1457013)
+- Remove patches contained in the new release
+
+* Sat Feb 11 2017 Fedora Release Engineering <releng(a)fedoraproject.org> -
4.2.10-11
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
+
+* Sun Nov 13 2016 Peter Robinson <pbrobinson(a)fedoraproject.org> 4.2.10-10
+- Define ExclusiveArch with arches wine supports
+
+* Mon Oct 10 2016 Jiri Konecny <jkonecny(a)redhat.com> - 4.2.10-9
+- Add patch to fix GUI layout issues on Wayland
+
+* Sat Sep 3 2016 Jiri Konecny <jkonecny(a)redhat.com> - 4.2.10-8
+- Add new patch for the updated appdata.xml file
+- Improve old Patch2 for desktop file
+- Rebase Patch6 and Patch7 on top of Patch2
+
+* Wed Mar 9 2016 Jiri Konecny <jkonecny(a)redhat.com> - 4.2.10-7
+- Apply patch which fixing bad icon path in a desktop file
+
+* Sat Mar 5 2016 Ville Skyttä <ville.skytta(a)iki.fi> - 4.2.10-6
+- Build with $RPM_OPT_FLAGS
+
+* Fri Jan 22 2016 Jiri Konecny <jkonecny(a)redhat.com> 4.2.10-5
+- Add patch which will fix installation of locales to the system
+
+* Wed Jan 20 2016 Jiri Konecny <jkonecny(a)redhat.com> 4.2.10-4
+- Change sed command to simpler and safer version
+- Change appdata patches
+- Fix installation of appdata
+- Better description
+
+* Wed Jan 13 2016 Jiri Konecny <jkonecny(a)redhat.com> 4.2.10-3
+- Removed shebang and executable bit from scripts in /usr/share
+- Change of summary and description
+- Add 2 new patches which adding appdata.xml file
+- Add new build requires for appstream-util check
+
+* Thu Jan 7 2016 Jiri Konecny <jkonecny(a)redhat.com> 4.2.10-2
+- Reworked patches for Makefile (Patch0, Patch1, Patch3 changed)
+- Using make_install and make_build macros
+
+* Mon Jan 4 2016 Jiri Konecny <jkonecny(a)redhat.com> 4.2.10-1
+- New version 4.2.10
+- Use more macros
+- Add missing dependencies
+
+* Thu Dec 10 2015 Jiri Konecny <jkonecny(a)redhat.com> 4.2.9-2
+- Fixed missing lang files
+- Remove exclude
+
+* Wed Nov 11 2015 Jiri Konecny <jkonecny(a)redhat.com> 4.2.9-1
+- Package creation
+
diff --git a/sources b/sources
new file mode 100644
index 0000000..744e3cd
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (4.3.4.tar.gz) =
9f86004da80b2b1556b64085a226a94fbf553f17634a533062de1ed542a6ca47b7692164543b2c82b8cd48d3ceceab93744e698cda2ae0bfc0b8d53391d5ba2f
commit 1f0dc66a763210afe72e759b8ba220f617c71900
Author: Miro Hrončok <miro(a)hroncok.cz>
Date: Mon Aug 12 10:57:46 2019 +0200
https://bugzilla.redhat.com/show_bug.cgi?id=1738050#c1
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index 72429aa..0000000
--- a/.gitignore
+++ /dev/null
@@ -1,5 +0,0 @@
-/4.2.10.tar.gz
-/4.2.11.tar.gz
-/4.2.12.tar.gz
-/4.3.3.tar.gz
-/4.3.4.tar.gz
diff --git a/dead.package b/dead.package
new file mode 100644
index 0000000..5775fe1
--- /dev/null
+++ b/dead.package
@@ -0,0 +1 @@
+https://bugzilla.redhat.com/show_bug.cgi?id=1738050#c1
diff --git a/playonlinux.spec b/playonlinux.spec
deleted file mode 100644
index 03c8a5c..0000000
--- a/playonlinux.spec
+++ /dev/null
@@ -1,166 +0,0 @@
-# This package depends on automagic byte compilation
-#
https://fedoraproject.org/wiki/Changes/No_more_automagic_Python_bytecompi...
-%global _python_bytecompile_extra 1
-
-Name: playonlinux
-Version: 4.3.4
-Summary: Graphical front-end for Wine
-License: GPLv3
-URL:
https://www.playonlinux.com
-Release: 4%{?dist}
-Source0:
https://github.com/PlayOnLinux/POL-POM-4/archive/%{version}.tar.gz
-
-# Wine supported on these arches
-ExclusiveArch: %{arm} aarch64 %{ix86} x86_64
-
-Requires: unzip
-Requires: wine
-Requires: wget
-Requires: xterm
-Requires: python2 > 2.4
-Requires: wxPython
-Requires: ImageMagick
-Requires: cabextract
-Requires: icoutils
-Requires: p7zip-plugins
-Requires: jq
-Requires: gnupg
-BuildRequires: gcc
-BuildRequires: gzip
-BuildRequires: mesa-libGL-devel
-BuildRequires: python2 > 2.4
-BuildRequires: desktop-file-utils
-BuildRequires: gettext
-BuildRequires: libappstream-glib
-
-%global BUILD_DIR %{buildroot}/%{_datadir}/%{name}
-
-%description
-New users can often find Wine to be intimidating and difficult to use.
-PlayOnLinux simplifies much of this and makes installing and using
-Windows programs easier.
-PlayOnLinux has the database of Windows applications from which the user
-can install desired application with a few clicks. It will automatically
-setup your Wine prefix and download any required Windows libraries.
-
-%prep
-%autosetup -n POL-POM-4-%{version}
-
-%build
-CFLAGS="$RPM_OPT_FLAGS" %make_build
-
-%install
-%make_install
-%find_lang pol
-
-sed -i '1{/^#!\//d}' %{BUILD_DIR}/python/setupwindow/gui_server.py \
- %{BUILD_DIR}/tests/python/test_versionlower.py \
- %{BUILD_DIR}/tests/bash/test-versionlower
-
-grep -lZsr "#!/usr/bin/env python" %{BUILD_DIR}/python/ | xargs -0 -l sed -i -e
"s%#\!/usr/bin/env python%#\!/usr/bin/env python2%"
-grep -lZsr "#!/usr/bin/python" %{BUILD_DIR}/python/ | xargs -0 -l sed -i -e
"s%#\!/usr/bin/python%#\!/usr/bin/python2%"
-
-%check
-desktop-file-validate %{buildroot}/%{_datadir}/applications/PlayOnLinux.desktop
-appstream-util validate-relax --nonet
%{buildroot}/%{_datadir}/appdata/PlayOnLinux.appdata.xml
-
-%files -f pol.lang
-%doc README.md
-%license LICENCE doc/copyright
-%{_bindir}/*
-%{_mandir}/man1/*
-%{_datadir}/%{name}/
-%{_datadir}/pixmaps/*
-%{_datadir}/applications/*
-%{_datadir}/appdata/*
-%{_libexecdir}/playonlinux-check_dd
-
-%changelog
-* Fri Jul 26 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 4.3.4-4
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
-
-* Mon Feb 11 2019 Jiri Konecny <jkonecny(a)redhat.com> - 4.3.4-3
-- Add gnupg as new dependency (Artem Polishchuk <ego.cordatus(a)gmail.com>)
-
-* Sat Feb 02 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 4.3.4-2
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
-
-* Sun Jan 06 2019 Jiri Konecny <jkonecny(a)redhat.com> - 4.3.4-1
-- Update to 4.3.4
-- Update position of gui_server source code for sed
-
-* Mon Dec 17 2018 Jiri Konecny <jkonecny(a)redhat.com> - 4.3.3-1
-- Update to 4.3.3
-- Fix python shebangs to python2
-- Add new runtime dependency jq
-
-* Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 4.2.12-5
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
-
-* Fri Feb 09 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 4.2.12-4
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
-
-* Thu Aug 03 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 4.2.12-3
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
-
-* Thu Jul 27 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 4.2.12-2
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
-
-* Thu Jun 22 2017 Fedora Release Monitoring <release-monitoring(a)fedoraproject.org>
- 4.2.12-1
-- Update to 4.2.12 (#1463027)
-
-* Wed May 31 2017 Fedora Release Monitoring <release-monitoring(a)fedoraproject.org>
- 4.2.11-1
-- Update to 4.2.11 (#1457013)
-- Remove patches contained in the new release
-
-* Sat Feb 11 2017 Fedora Release Engineering <releng(a)fedoraproject.org> -
4.2.10-11
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
-
-* Sun Nov 13 2016 Peter Robinson <pbrobinson(a)fedoraproject.org> 4.2.10-10
-- Define ExclusiveArch with arches wine supports
-
-* Mon Oct 10 2016 Jiri Konecny <jkonecny(a)redhat.com> - 4.2.10-9
-- Add patch to fix GUI layout issues on Wayland
-
-* Sat Sep 3 2016 Jiri Konecny <jkonecny(a)redhat.com> - 4.2.10-8
-- Add new patch for the updated appdata.xml file
-- Improve old Patch2 for desktop file
-- Rebase Patch6 and Patch7 on top of Patch2
-
-* Wed Mar 9 2016 Jiri Konecny <jkonecny(a)redhat.com> - 4.2.10-7
-- Apply patch which fixing bad icon path in a desktop file
-
-* Sat Mar 5 2016 Ville Skyttä <ville.skytta(a)iki.fi> - 4.2.10-6
-- Build with $RPM_OPT_FLAGS
-
-* Fri Jan 22 2016 Jiri Konecny <jkonecny(a)redhat.com> 4.2.10-5
-- Add patch which will fix installation of locales to the system
-
-* Wed Jan 20 2016 Jiri Konecny <jkonecny(a)redhat.com> 4.2.10-4
-- Change sed command to simpler and safer version
-- Change appdata patches
-- Fix installation of appdata
-- Better description
-
-* Wed Jan 13 2016 Jiri Konecny <jkonecny(a)redhat.com> 4.2.10-3
-- Removed shebang and executable bit from scripts in /usr/share
-- Change of summary and description
-- Add 2 new patches which adding appdata.xml file
-- Add new build requires for appstream-util check
-
-* Thu Jan 7 2016 Jiri Konecny <jkonecny(a)redhat.com> 4.2.10-2
-- Reworked patches for Makefile (Patch0, Patch1, Patch3 changed)
-- Using make_install and make_build macros
-
-* Mon Jan 4 2016 Jiri Konecny <jkonecny(a)redhat.com> 4.2.10-1
-- New version 4.2.10
-- Use more macros
-- Add missing dependencies
-
-* Thu Dec 10 2015 Jiri Konecny <jkonecny(a)redhat.com> 4.2.9-2
-- Fixed missing lang files
-- Remove exclude
-
-* Wed Nov 11 2015 Jiri Konecny <jkonecny(a)redhat.com> 4.2.9-1
-- Package creation
-
diff --git a/sources b/sources
deleted file mode 100644
index 744e3cd..0000000
--- a/sources
+++ /dev/null
@@ -1 +0,0 @@
-SHA512 (4.3.4.tar.gz) =
9f86004da80b2b1556b64085a226a94fbf553f17634a533062de1ed542a6ca47b7692164543b2c82b8cd48d3ceceab93744e698cda2ae0bfc0b8d53391d5ba2f
commit 6dbaaf6c6be94b2b75d48ee36deac7142ae0e676
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Fri Jul 26 10:54:02 2019 +0000
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
diff --git a/playonlinux.spec b/playonlinux.spec
index b54df06..03c8a5c 100644
--- a/playonlinux.spec
+++ b/playonlinux.spec
@@ -7,7 +7,7 @@ Version: 4.3.4
Summary: Graphical front-end for Wine
License: GPLv3
URL:
https://www.playonlinux.com
-Release: 3%{?dist}
+Release: 4%{?dist}
Source0:
https://github.com/PlayOnLinux/POL-POM-4/archive/%{version}.tar.gz
# Wine supported on these arches
@@ -76,6 +76,9 @@ appstream-util validate-relax --nonet
%{buildroot}/%{_datadir}/appdata/PlayOnLin
%{_libexecdir}/playonlinux-check_dd
%changelog
+* Fri Jul 26 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 4.3.4-4
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
+
* Mon Feb 11 2019 Jiri Konecny <jkonecny(a)redhat.com> - 4.3.4-3
- Add gnupg as new dependency (Artem Polishchuk <ego.cordatus(a)gmail.com>)
commit d6f13e9eb74e1d02a011422e6eaf36d2c233fecd
Author: Jiri Konecny <jkonecny(a)redhat.com>
Date: Mon Feb 11 13:03:26 2019 +0100
New release 4.3.4-3
- Add gnupg as new dependency (Artem Polishchuk <ego.cordatus(a)gmail.com>)
diff --git a/playonlinux.spec b/playonlinux.spec
index e42ca81..b54df06 100644
--- a/playonlinux.spec
+++ b/playonlinux.spec
@@ -7,7 +7,7 @@ Version: 4.3.4
Summary: Graphical front-end for Wine
License: GPLv3
URL:
https://www.playonlinux.com
-Release: 2%{?dist}
+Release: 3%{?dist}
Source0:
https://github.com/PlayOnLinux/POL-POM-4/archive/%{version}.tar.gz
# Wine supported on these arches
@@ -76,6 +76,9 @@ appstream-util validate-relax --nonet
%{buildroot}/%{_datadir}/appdata/PlayOnLin
%{_libexecdir}/playonlinux-check_dd
%changelog
+* Mon Feb 11 2019 Jiri Konecny <jkonecny(a)redhat.com> - 4.3.4-3
+- Add gnupg as new dependency (Artem Polishchuk <ego.cordatus(a)gmail.com>)
+
* Sat Feb 02 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 4.3.4-2
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
commit aa757c0b2443b7af5931d44ec3f548d78b02e97f
Author: Artem Polishchuk <ego.cordatus(a)gmail.com>
Date: Mon Feb 11 11:02:44 2019 +0000
Added gnupg in Requires
Users reporting that playonlinux doesn't work without this dependency.
There also some reports about this issue:
https://www.playonlinux.com/en/topic-11440-gpg_problem.html
diff --git a/playonlinux.spec b/playonlinux.spec
index 64d06fe..e42ca81 100644
--- a/playonlinux.spec
+++ b/playonlinux.spec
@@ -24,6 +24,7 @@ Requires: cabextract
Requires: icoutils
Requires: p7zip-plugins
Requires: jq
+Requires: gnupg
BuildRequires: gcc
BuildRequires: gzip
BuildRequires: mesa-libGL-devel
commit e20da23d62444cc7b704802dec35f9114411ef93
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Sat Feb 2 04:25:12 2019 +0000
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
diff --git a/playonlinux.spec b/playonlinux.spec
index efc9194..64d06fe 100644
--- a/playonlinux.spec
+++ b/playonlinux.spec
@@ -7,7 +7,7 @@ Version: 4.3.4
Summary: Graphical front-end for Wine
License: GPLv3
URL:
https://www.playonlinux.com
-Release: 1%{?dist}
+Release: 2%{?dist}
Source0:
https://github.com/PlayOnLinux/POL-POM-4/archive/%{version}.tar.gz
# Wine supported on these arches
@@ -75,6 +75,9 @@ appstream-util validate-relax --nonet
%{buildroot}/%{_datadir}/appdata/PlayOnLin
%{_libexecdir}/playonlinux-check_dd
%changelog
+* Sat Feb 02 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 4.3.4-2
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
+
* Sun Jan 06 2019 Jiri Konecny <jkonecny(a)redhat.com> - 4.3.4-1
- Update to 4.3.4
- Update position of gui_server source code for sed
commit 3cfadf606662bbb74f4afc893745875382b2f8d6
Author: Jiri Konecny <jkonecny(a)redhat.com>
Date: Sun Jan 6 15:36:48 2019 +0100
Updated to 4.3.4
- Update to 4.3.4
diff --git a/.gitignore b/.gitignore
index 54a82af..72429aa 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
/4.2.11.tar.gz
/4.2.12.tar.gz
/4.3.3.tar.gz
+/4.3.4.tar.gz
diff --git a/playonlinux.spec b/playonlinux.spec
index 15215ef..efc9194 100644
--- a/playonlinux.spec
+++ b/playonlinux.spec
@@ -3,7 +3,7 @@
%global _python_bytecompile_extra 1
Name: playonlinux
-Version: 4.3.3
+Version: 4.3.4
Summary: Graphical front-end for Wine
License: GPLv3
URL:
https://www.playonlinux.com
@@ -52,9 +52,9 @@ CFLAGS="$RPM_OPT_FLAGS" %make_build
%make_install
%find_lang pol
-sed -i '1{/^#!\//d}' %{BUILD_DIR}/python/gui_server.py \
- %{BUILD_DIR}/tests/python/test_versionlower.py \
- %{BUILD_DIR}/tests/bash/test-versionlower
+sed -i '1{/^#!\//d}' %{BUILD_DIR}/python/setupwindow/gui_server.py \
+ %{BUILD_DIR}/tests/python/test_versionlower.py \
+ %{BUILD_DIR}/tests/bash/test-versionlower
grep -lZsr "#!/usr/bin/env python" %{BUILD_DIR}/python/ | xargs -0 -l sed -i -e
"s%#\!/usr/bin/env python%#\!/usr/bin/env python2%"
grep -lZsr "#!/usr/bin/python" %{BUILD_DIR}/python/ | xargs -0 -l sed -i -e
"s%#\!/usr/bin/python%#\!/usr/bin/python2%"
@@ -75,6 +75,10 @@ appstream-util validate-relax --nonet
%{buildroot}/%{_datadir}/appdata/PlayOnLin
%{_libexecdir}/playonlinux-check_dd
%changelog
+* Sun Jan 06 2019 Jiri Konecny <jkonecny(a)redhat.com> - 4.3.4-1
+- Update to 4.3.4
+- Update position of gui_server source code for sed
+
* Mon Dec 17 2018 Jiri Konecny <jkonecny(a)redhat.com> - 4.3.3-1
- Update to 4.3.3
- Fix python shebangs to python2
diff --git a/sources b/sources
index 86c1711..744e3cd 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (4.3.3.tar.gz) =
fc983053db3e18f49cb518a9c2c23c869efacebc12281e1f10c63a5eb3de98650a69a1ad18c5354b842e5393243e39fd505271c05b600f924972fcbebc7a7d5b
+SHA512 (4.3.4.tar.gz) =
9f86004da80b2b1556b64085a226a94fbf553f17634a533062de1ed542a6ca47b7692164543b2c82b8cd48d3ceceab93744e698cda2ae0bfc0b8d53391d5ba2f
commit 75e21d85a4a161c1e25a0301f680ec4c56f72c1c
Author: Jiri Konecny <jkonecny(a)redhat.com>
Date: Mon Dec 17 21:14:44 2018 +0100
Updated to 4.3.3
diff --git a/.gitignore b/.gitignore
index e8970e5..54a82af 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
/4.2.10.tar.gz
/4.2.11.tar.gz
/4.2.12.tar.gz
+/4.3.3.tar.gz
diff --git a/playonlinux.spec b/playonlinux.spec
index 084b99e..15215ef 100644
--- a/playonlinux.spec
+++ b/playonlinux.spec
@@ -3,11 +3,11 @@
%global _python_bytecompile_extra 1
Name: playonlinux
-Version: 4.2.12
+Version: 4.3.3
Summary: Graphical front-end for Wine
License: GPLv3
URL:
https://www.playonlinux.com
-Release: 5%{?dist}
+Release: 1%{?dist}
Source0:
https://github.com/PlayOnLinux/POL-POM-4/archive/%{version}.tar.gz
# Wine supported on these arches
@@ -23,6 +23,7 @@ Requires: ImageMagick
Requires: cabextract
Requires: icoutils
Requires: p7zip-plugins
+Requires: jq
BuildRequires: gcc
BuildRequires: gzip
BuildRequires: mesa-libGL-devel
@@ -55,6 +56,9 @@ sed -i '1{/^#!\//d}' %{BUILD_DIR}/python/gui_server.py \
%{BUILD_DIR}/tests/python/test_versionlower.py \
%{BUILD_DIR}/tests/bash/test-versionlower
+grep -lZsr "#!/usr/bin/env python" %{BUILD_DIR}/python/ | xargs -0 -l sed -i -e
"s%#\!/usr/bin/env python%#\!/usr/bin/env python2%"
+grep -lZsr "#!/usr/bin/python" %{BUILD_DIR}/python/ | xargs -0 -l sed -i -e
"s%#\!/usr/bin/python%#\!/usr/bin/python2%"
+
%check
desktop-file-validate %{buildroot}/%{_datadir}/applications/PlayOnLinux.desktop
appstream-util validate-relax --nonet
%{buildroot}/%{_datadir}/appdata/PlayOnLinux.appdata.xml
@@ -71,6 +75,11 @@ appstream-util validate-relax --nonet
%{buildroot}/%{_datadir}/appdata/PlayOnLin
%{_libexecdir}/playonlinux-check_dd
%changelog
+* Mon Dec 17 2018 Jiri Konecny <jkonecny(a)redhat.com> - 4.3.3-1
+- Update to 4.3.3
+- Fix python shebangs to python2
+- Add new runtime dependency jq
+
* Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 4.2.12-5
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
diff --git a/sources b/sources
index b14dafc..86c1711 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (4.2.12.tar.gz) =
d05d0c06031524ccb2049f4a30558bbbe9899c3a78fcbd849ea73149d5e627faca9a146745de7f31fa40933c9d9b5ca229aee35cd5e87ff09a771ef4d1587030
+SHA512 (4.3.3.tar.gz) =
fc983053db3e18f49cb518a9c2c23c869efacebc12281e1f10c63a5eb3de98650a69a1ad18c5354b842e5393243e39fd505271c05b600f924972fcbebc7a7d5b
commit f99b28e99111e9dd0c2c0db54628c39f3ed4afd9
Author: Miro Hrončok <miro(a)hroncok.cz>
Date: Thu Nov 15 12:53:55 2018 +0100
https://fedoraproject.org/wiki/Changes/No_more_automagic_Python_bytecompi...
diff --git a/playonlinux.spec b/playonlinux.spec
index 2254e34..084b99e 100644
--- a/playonlinux.spec
+++ b/playonlinux.spec
@@ -1,3 +1,7 @@
+# This package depends on automagic byte compilation
+#
https://fedoraproject.org/wiki/Changes/No_more_automagic_Python_bytecompi...
+%global _python_bytecompile_extra 1
+
Name: playonlinux
Version: 4.2.12
Summary: Graphical front-end for Wine
commit a64e9a014e47372bd90a1e86bbf9574fe4d165c6
Author: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
Date: Tue Jul 24 16:53:14 2018 +0200
Add missing BuildRequires on gcc
make: gcc: Command not found
References:
https://bugzilla.redhat.com/show_bug.cgi?id=1605476
Signed-off-by: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
diff --git a/playonlinux.spec b/playonlinux.spec
index a846580..2254e34 100644
--- a/playonlinux.spec
+++ b/playonlinux.spec
@@ -19,6 +19,7 @@ Requires: ImageMagick
Requires: cabextract
Requires: icoutils
Requires: p7zip-plugins
+BuildRequires: gcc
BuildRequires: gzip
BuildRequires: mesa-libGL-devel
BuildRequires: python2 > 2.4
commit 344e134ad01bf186c53bd994955739c1ffb352d0
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Fri Jul 13 22:34:29 2018 +0000
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
diff --git a/playonlinux.spec b/playonlinux.spec
index 7566d24..a846580 100644
--- a/playonlinux.spec
+++ b/playonlinux.spec
@@ -3,7 +3,7 @@ Version: 4.2.12
Summary: Graphical front-end for Wine
License: GPLv3
URL:
https://www.playonlinux.com
-Release: 4%{?dist}
+Release: 5%{?dist}
Source0:
https://github.com/PlayOnLinux/POL-POM-4/archive/%{version}.tar.gz
# Wine supported on these arches
@@ -66,6 +66,9 @@ appstream-util validate-relax --nonet
%{buildroot}/%{_datadir}/appdata/PlayOnLin
%{_libexecdir}/playonlinux-check_dd
%changelog
+* Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 4.2.12-5
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
+
* Fri Feb 09 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 4.2.12-4
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
commit 61df8b8deea9d6fb1310ae4bc30308dd4e88417a
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Fri Feb 9 05:17:40 2018 +0000
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
diff --git a/playonlinux.spec b/playonlinux.spec
index 5002140..7566d24 100644
--- a/playonlinux.spec
+++ b/playonlinux.spec
@@ -3,7 +3,7 @@ Version: 4.2.12
Summary: Graphical front-end for Wine
License: GPLv3
URL:
https://www.playonlinux.com
-Release: 3%{?dist}
+Release: 4%{?dist}
Source0:
https://github.com/PlayOnLinux/POL-POM-4/archive/%{version}.tar.gz
# Wine supported on these arches
@@ -66,6 +66,9 @@ appstream-util validate-relax --nonet
%{buildroot}/%{_datadir}/appdata/PlayOnLin
%{_libexecdir}/playonlinux-check_dd
%changelog
+* Fri Feb 09 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 4.2.12-4
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
* Thu Aug 03 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 4.2.12-3
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
commit 3850f7a82a0945923ff2629bbc2c02b8da13da3d
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Thu Aug 3 06:09:55 2017 +0000
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
diff --git a/playonlinux.spec b/playonlinux.spec
index c7bef58..5002140 100644
--- a/playonlinux.spec
+++ b/playonlinux.spec
@@ -3,7 +3,7 @@ Version: 4.2.12
Summary: Graphical front-end for Wine
License: GPLv3
URL:
https://www.playonlinux.com
-Release: 2%{?dist}
+Release: 3%{?dist}
Source0:
https://github.com/PlayOnLinux/POL-POM-4/archive/%{version}.tar.gz
# Wine supported on these arches
@@ -66,6 +66,9 @@ appstream-util validate-relax --nonet
%{buildroot}/%{_datadir}/appdata/PlayOnLin
%{_libexecdir}/playonlinux-check_dd
%changelog
+* Thu Aug 03 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 4.2.12-3
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
+
* Thu Jul 27 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 4.2.12-2
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
commit af939048c02f3c0099d7c312ea7644f3356ce3c9
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Thu Jul 27 08:45:39 2017 +0000
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
diff --git a/playonlinux.spec b/playonlinux.spec
index 48855e9..c7bef58 100644
--- a/playonlinux.spec
+++ b/playonlinux.spec
@@ -3,7 +3,7 @@ Version: 4.2.12
Summary: Graphical front-end for Wine
License: GPLv3
URL:
https://www.playonlinux.com
-Release: 1%{?dist}
+Release: 2%{?dist}
Source0:
https://github.com/PlayOnLinux/POL-POM-4/archive/%{version}.tar.gz
# Wine supported on these arches
@@ -66,6 +66,9 @@ appstream-util validate-relax --nonet
%{buildroot}/%{_datadir}/appdata/PlayOnLin
%{_libexecdir}/playonlinux-check_dd
%changelog
+* Thu Jul 27 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 4.2.12-2
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
+
* Thu Jun 22 2017 Fedora Release Monitoring <release-monitoring(a)fedoraproject.org>
- 4.2.12-1
- Update to 4.2.12 (#1463027)
commit f1650dc24645bf6d06e0e25cf45f729981968919
Author: Jiri Konecny <DragonLichcz(a)gmail.com>
Date: Thu Jun 22 21:13:09 2017 +0200
Update to 4.2.12 (#1463027)
diff --git a/.gitignore b/.gitignore
index 024ca0a..e8970e5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/4.2.10.tar.gz
/4.2.11.tar.gz
+/4.2.12.tar.gz
diff --git a/playonlinux.spec b/playonlinux.spec
index b9de700..48855e9 100644
--- a/playonlinux.spec
+++ b/playonlinux.spec
@@ -1,5 +1,5 @@
Name: playonlinux
-Version: 4.2.11
+Version: 4.2.12
Summary: Graphical front-end for Wine
License: GPLv3
URL:
https://www.playonlinux.com
@@ -66,6 +66,9 @@ appstream-util validate-relax --nonet
%{buildroot}/%{_datadir}/appdata/PlayOnLin
%{_libexecdir}/playonlinux-check_dd
%changelog
+* Thu Jun 22 2017 Fedora Release Monitoring <release-monitoring(a)fedoraproject.org>
- 4.2.12-1
+- Update to 4.2.12 (#1463027)
+
* Wed May 31 2017 Fedora Release Monitoring <release-monitoring(a)fedoraproject.org>
- 4.2.11-1
- Update to 4.2.11 (#1457013)
- Remove patches contained in the new release
diff --git a/sources b/sources
index dffec1a..b14dafc 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (4.2.11.tar.gz) =
c99f09ae066cb9c0fbb24082a20e719d0a0ac6bc62bf166ad3fd4825199db0c39a0776b4b91889bfab64ea4c9e7917d5e0ba40d64d25eb7b5824e52991f7aa18
+SHA512 (4.2.12.tar.gz) =
d05d0c06031524ccb2049f4a30558bbbe9899c3a78fcbd849ea73149d5e627faca9a146745de7f31fa40933c9d9b5ca229aee35cd5e87ff09a771ef4d1587030
commit 0e889379b4c1c8918de729ffb273b458e690a94e
Author: Jiri Konecny <DragonLichcz(a)gmail.com>
Date: Tue Jun 6 21:47:51 2017 +0200
Update to 4.2.11 (#1457013)
Remove patches contained in the new release
diff --git a/.gitignore b/.gitignore
index fcc6201..024ca0a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/4.2.10.tar.gz
+/4.2.11.tar.gz
diff --git a/0001-Add-Makefile-to-build-and-install-playonlinux.patch
b/0001-Add-Makefile-to-build-and-install-playonlinux.patch
deleted file mode 100644
index 84c05ce..0000000
--- a/0001-Add-Makefile-to-build-and-install-playonlinux.patch
+++ /dev/null
@@ -1,100 +0,0 @@
-From 7458c82f2a6d183f86f217f57afa2615b396c19c Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Ji=C5=99=C3=AD=20Kone=C4=8Dn=C3=BD?=
- <DragonLichcz(a)gmail.com>
-Date: Mon, 2 Nov 2015 22:20:09 +0100
-Subject: [PATCH 1/3] Add Makefile to build and install playonlinux
-
-Build check_direct_rendering.c to bin folder.
-Build pyc files for python source codes.
-Create executable files for /usr/bin.
-Install playonlinux to DESTDIR if nothing set use install to / and user
-can also specify the PREFIX of the installation.
-As bonus could create changelog from git.
----
- Makefile | 74 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
- 1 file changed, 74 insertions(+)
- create mode 100644 Makefile
-
-diff --git a/Makefile b/Makefile
-new file mode 100644
-index 0000000..2e7c538
---- /dev/null
-+++ b/Makefile
-@@ -0,0 +1,74 @@
-+# This program is free software: you can redistribute it and/or modify
-+# it under the terms of the GNU General Public License as published by
-+# the Free Software Foundation, either version 3 of the License, or
-+# (at your option) any later version.
-+#
-+# This program is distributed in the hope that it will be useful,
-+# but WITHOUT ANY WARRANTY; without even the implied warranty of
-+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-+# GNU General Public License for more details.
-+#
-+# You should have received a copy of the GNU General Public License
-+# along with this program. If not, see <
http://www.gnu.org/licenses/>.
-+#
-+# Authors: Jiri Konecny <dragonlichcz(a)gmail.com>
-+
-+
-+# Arguments:
-+#
-+# PREFIX -- Set prefix for the installation (/usr is default)
-+# DESTDIR -- Where you want to install
-+#
-+
-+CFLAGS ?= -O2
-+CC = gcc $(CFLAGS)
-+PYTHON = python2 -m py_compile
-+GZIP = gzip
-+
-+PREFIX ?= /usr
-+DESTDIR ?= # root dir
-+
-+CFLAGS += -lGL -lX11
-+
-+sharedir := $(DESTDIR)$(PREFIX)/share
-+bindir := $(DESTDIR)$(PREFIX)/bin
-+
-+all: build
-+
-+clean:
-+ $(RM) ./python/*.pyc
-+ $(RM) ./python/lib/*.pyc
-+ $(RM) ./bin/check_dd
-+ $(RM) ./bin/playonlinux
-+ $(RM) ./bin/playonlinux-pkg
-+ $(RM) ./ChangeLog
-+
-+build:
-+ $(CC) ./src/check_direct_rendering.c -o ./bin/check_dd
-+ $(PYTHON) ./python/*.py
-+ $(PYTHON) ./python/lib/*.py
-+ echo -e '#!/bin/bash\n${sharedir}/playonlinux/playonlinux "$$@"\nexit
0' > ./bin/playonlinux
-+ echo -e '#!/bin/bash\n${sharedir}/playonlinux/playonlinux-pkg "$$@"\nexit
0' > ./bin/playonlinux-pkg
-+ chmod +x ./bin/playonlinux
-+ chmod +x ./bin/playonlinux-pkg
-+
-+install:
-+ install -d $(bindir)
-+ install -d $(sharedir)/pixmaps
-+ install -d $(sharedir)/applications
-+ install -d $(sharedir)/playonlinux/bin
-+ install -d $(sharedir)/man/man1
-+ $(GZIP) -c ./doc/playonlinux-pkg.1 > $(sharedir)/man/man1/playonlinux-pkg.1.gz
-+ $(GZIP) -c ./doc/playonlinux.1 > $(sharedir)/man/man1/playonlinux.1.gz
-+ cp ./etc/PlayOnLinux.desktop $(sharedir)/applications/PlayOnLinux.desktop
-+ cp ./etc/playonlinux.png $(sharedir)/pixmaps/playonlinux.png
-+ cp ./etc/playonlinux16.png $(sharedir)/pixmaps/playonlinux16.png
-+ cp ./etc/playonlinux32.png $(sharedir)/pixmaps/playonlinux32.png
-+ cp ./bin/{playonlinux,playonlinux-pkg} $(bindir)/
-+ cp ./{playonlinux*,README.md,TRANSLATORS,CHANGELOG.md,LICENCE}
$(sharedir)/playonlinux/
-+ cp -R ./{bash,etc,lang,lib,plugins,python,resources,tests} $(sharedir)/playonlinux/
-+
-+changelog:
-+ (GIT_DIR=.git git log > .changelog.tmp && mv .changelog.tmp ChangeLog; rm -f
.changelog.tmp) || (touch ChangeLog; echo 'git directory not found: installing
possibly empty changelog.' >&2)
-+
-+.PHONY: all clean build install changelog
---
-2.5.0
-
diff --git a/0002-Change-check_gl-to-use-compiled-version-of-check_dd.patch
b/0002-Change-check_gl-to-use-compiled-version-of-check_dd.patch
deleted file mode 100644
index 52adb21..0000000
--- a/0002-Change-check_gl-to-use-compiled-version-of-check_dd.patch
+++ /dev/null
@@ -1,72 +0,0 @@
-From 5eb170a438d8a7a21c952f5e0c45f87e85106eb2 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Ji=C5=99=C3=AD=20Kone=C4=8Dn=C3=BD?=
- <DragonLichcz(a)gmail.com>
-Date: Tue, 3 Nov 2015 21:48:00 +0100
-Subject: [PATCH 2/3] Change check_gl to use compiled version of check_dd as
- fallback
-
-When make install command is used the bz2 versions of check_dd_*
-binaries are not installed but the ./src/check_direct_rendering.c is
-compiled as check_dd to bin folder.
-The check_gl script was changed to use this compiled check_dd when bz2
-version is missing.
----
- Makefile | 2 +-
- bash/check_gl | 24 +++++++++++++++---------
- 2 files changed, 16 insertions(+), 10 deletions(-)
-
-diff --git a/Makefile b/Makefile
-index 2e7c538..54ca41f 100644
---- a/Makefile
-+++ b/Makefile
-@@ -44,7 +44,7 @@ clean:
- $(RM) ./ChangeLog
-
- build:
-- $(CC) ./src/check_direct_rendering.c -o ./bin/check_dd
-+ $(CC) ./src/check_direct_rendering.c -o ./bin/playonlinux-check_dd
- $(PYTHON) ./python/*.py
- $(PYTHON) ./python/lib/*.py
- echo -e '#!/bin/bash\n${sharedir}/playonlinux/playonlinux "$$@"\nexit
0' > ./bin/playonlinux
-diff --git a/bash/check_gl b/bash/check_gl
-index 01b52e6..51a48e3 100755
---- a/bash/check_gl
-+++ b/bash/check_gl
-@@ -41,19 +41,25 @@ Check_OpenGL()
- chmod +x "$POL_USER_ROOT/tmp/check_dd_$1"
- message="$("$POL_USER_ROOT/tmp/check_dd_$1")"
- out="$?"
--
-- if [ "$out" = "0" ]
-- then
-- $cmd "$message"
-- exit 0
-- else
-- $cmdW "$message"
-- exit 2
-- fi
-+ # When bz2 version is not presented (was installed on specific platform)
-+ # use on site compiled check_dd version
-+ elif [ -e "/usr/libexec/playonlinux-check_dd" ]
-+ then
-+ message="$("/usr/libexec/playonlinux-check_dd")"
-+ out="$?"
- else
- $cmdW "check_dd_$1 missing, test skipped"
- exit 0
- fi
-+
-+ if [ "$out" = "0" ]
-+ then
-+ $cmd "$message"
-+ exit 0
-+ else
-+ $cmdW "$message"
-+ exit 2
-+ fi
- }
- cd /tmp
-
---
-2.5.0
-
diff --git a/0003-Updated-desktop-file-for-the-new-format.patch
b/0003-Updated-desktop-file-for-the-new-format.patch
deleted file mode 100644
index 6e349d4..0000000
--- a/0003-Updated-desktop-file-for-the-new-format.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From 102fbfd31dd26c911e0b5313e3e36ded8a3d390a Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Ji=C5=99=C3=AD=20Kone=C4=8Dn=C3=BD?=
- <DragonLichcz(a)gmail.com>
-Date: Thu, 12 Nov 2015 19:32:48 +0100
-Subject: [PATCH] Updated desktop file for the new format
-
-Now it pass without warning or error through desktop-file-validate
-tester.
----
- etc/PlayOnLinux.desktop | 9 ++++-----
- 1 file changed, 4 insertions(+), 5 deletions(-)
-
-diff --git a/etc/PlayOnLinux.desktop b/etc/PlayOnLinux.desktop
-index 08b1d23..76b5bfa 100644
---- a/etc/PlayOnLinux.desktop
-+++ b/etc/PlayOnLinux.desktop
-@@ -1,9 +1,8 @@
- [Desktop Entry]
- Version=1.0
--Encoding=UTF-8
- Name=PlayOnLinux
--Comment=PlayOnLinux
--Type=Application %F
--Exec=playonlinux
-+Comment=Front-end application for the wine
-+Type=Application
-+Exec=playonlinux %F
- Icon=/usr/share/playonlinux/etc/playonlinux.png
--Categories=Application;Game
-+Categories=Utility;Emulator;
---
-2.7.4
-
diff --git a/0004-Move-build-check_dd-to-usr-libexec-as-says-FHS.patch
b/0004-Move-build-check_dd-to-usr-libexec-as-says-FHS.patch
deleted file mode 100644
index 74ddd27..0000000
--- a/0004-Move-build-check_dd-to-usr-libexec-as-says-FHS.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-From 75895376001e904b7af62ad46dce64a93641e5e1 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Ji=C5=99=C3=AD=20Kone=C4=8Dn=C3=BD?=
- <DragonLichcz(a)gmail.com>
-Date: Wed, 25 Nov 2015 21:27:17 +0100
-Subject: [PATCH 3/3] Move build check_dd to /usr/libexec as says FHS
-
-FHS (filesystem hierarchy standard) defines the /usr/share as
-non-arch dependend directory.
-So when we build the check_dd it should go to the /usr/libexec.
----
- Makefile | 4 ++++
- 1 file changed, 4 insertions(+)
-
-diff --git a/Makefile b/Makefile
-index 54ca41f..a4fca7d 100644
---- a/Makefile
-+++ b/Makefile
-@@ -32,6 +32,8 @@ CFLAGS += -lGL -lX11
-
- sharedir := $(DESTDIR)$(PREFIX)/share
- bindir := $(DESTDIR)$(PREFIX)/bin
-+execdir := $(DESTDIR)$(PREFIX)/libexec
-+
-
- all: build
-
-@@ -54,6 +56,7 @@ build:
-
- install:
- install -d $(bindir)
-+ install -d $(execdir)
- install -d $(sharedir)/pixmaps
- install -d $(sharedir)/applications
- install -d $(sharedir)/playonlinux/bin
-@@ -65,6 +68,7 @@ install:
- cp ./etc/playonlinux16.png $(sharedir)/pixmaps/playonlinux16.png
- cp ./etc/playonlinux32.png $(sharedir)/pixmaps/playonlinux32.png
- cp ./bin/{playonlinux,playonlinux-pkg} $(bindir)/
-+ cp ./bin/playonlinux-check_dd $(execdir)/
- cp ./{playonlinux*,README.md,TRANSLATORS,CHANGELOG.md,LICENCE}
$(sharedir)/playonlinux/
- cp -R ./{bash,etc,lang,lib,plugins,python,resources,tests} $(sharedir)/playonlinux/
-
---
-2.5.0
-
diff --git a/0005-Add-appdata.xml.patch b/0005-Add-appdata.xml.patch
deleted file mode 100644
index 322a98a..0000000
--- a/0005-Add-appdata.xml.patch
+++ /dev/null
@@ -1,62 +0,0 @@
-From c4def85e03e234e8c6c7c58ccdfb35faa7191a63 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Ji=C5=99=C3=AD=20Kone=C4=8Dn=C3=BD?=
- <DragonLichcz(a)gmail.com>
-Date: Tue, 12 Jan 2016 19:32:58 +0100
-Subject: [PATCH 1/2] Add appdata.xml
-
-Added appdata.xml which is used for software center.
-
-http://people.freedesktop.org/~hughsient/appdata/
----
- etc/PlayOnLinux.appdata.xml | 39 +++++++++++++++++++++++++++++++++++++++
- 1 file changed, 39 insertions(+)
- create mode 100644 etc/PlayOnLinux.appdata.xml
-
-diff --git a/etc/PlayOnLinux.appdata.xml b/etc/PlayOnLinux.appdata.xml
-new file mode 100644
-index 0000000..5f6d53b
---- /dev/null
-+++ b/etc/PlayOnLinux.appdata.xml
-@@ -0,0 +1,39 @@
-+<?xml version="1.0" encoding="UTF-8"?>
-+<!-- Copyright 2016 Jiri Konecny <dragonlichcz(a)gmail.com> -->
-+<component type="desktop">
-+ <id>PlayOnLinux.desktop</id>
-+ <project_license>GPL-3.0</project_license>
-+ <metadata_license>CC0-1.0</metadata_license>
-+ <name>PlayOnLinux</name>
-+ <summary>Graphical front-end for Wine</summary>
-+ <description>
-+ <p>
-+ PlayOnLinux will allow you to run your favorite Windows games and
-+ applications on Linux through Wine easily.
-+ </p>
-+ <p>
-+ New users can often find Wine to be intimidating and difficult to use.
-+ PlayOnLinux simplifies much of this and makes installing and using
-+ Windows programs easier.
-+ </p>
-+ <p>
-+ PlayOnLinux have the database of Windows applications from which user
-+ can install desired application with few clicks. It will automatically
-+ setup your Wine prefix and download required redistributable libraries
-+ if needed.
-+ </p>
-+ </description>
-+ <screenshots>
-+ <screenshot type="default">
-+
<
image>https://jkonecny.fedorapeople.org/images/playonlinux_screen_01.p...
-+ </screenshot>
-+ <screenshot>
-+
<
image>https://jkonecny.fedorapeople.org/images/playonlinux_screen_02.p...
-+ </screenshot>
-+ <screenshot>
-+
<
image>https://jkonecny.fedorapeople.org/images/playonlinux_screen_03.p...
-+ </screenshot>
-+ </screenshots>
-+ <url
type="homepage">https://www.playonlinux.com/</url>
-+ <update_contact>dragonlichcz_at_gmail.com</update_contact>
-+</component>
---
-2.5.0
-
diff --git a/0006-Change-Makefile-to-install-appdata.xml-file.patch
b/0006-Change-Makefile-to-install-appdata.xml-file.patch
deleted file mode 100644
index 6b33387..0000000
--- a/0006-Change-Makefile-to-install-appdata.xml-file.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From 571eb530162a7c3a370d30fbed8f73b725745ebb Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Ji=C5=99=C3=AD=20Kone=C4=8Dn=C3=BD?=
- <DragonLichcz(a)gmail.com>
-Date: Wed, 13 Jan 2016 18:31:11 +0100
-Subject: [PATCH] Change Makefile to install appdata.xml file
-
----
- Makefile | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/Makefile b/Makefile
-index a4fca7d..a24755a 100644
---- a/Makefile
-+++ b/Makefile
-@@ -59,11 +59,13 @@ install:
- install -d $(execdir)
- install -d $(sharedir)/pixmaps
- install -d $(sharedir)/applications
-+ install -d $(sharedir)/appdata
- install -d $(sharedir)/playonlinux/bin
- install -d $(sharedir)/man/man1
- $(GZIP) -c ./doc/playonlinux-pkg.1 > $(sharedir)/man/man1/playonlinux-pkg.1.gz
- $(GZIP) -c ./doc/playonlinux.1 > $(sharedir)/man/man1/playonlinux.1.gz
- cp ./etc/PlayOnLinux.desktop $(sharedir)/applications/PlayOnLinux.desktop
-+ cp ./etc/PlayOnLinux.appdata.xml $(sharedir)/appdata/PlayOnLinux.appdata.xml
- cp ./etc/playonlinux.png $(sharedir)/pixmaps/playonlinux.png
- cp ./etc/playonlinux16.png $(sharedir)/pixmaps/playonlinux16.png
- cp ./etc/playonlinux32.png $(sharedir)/pixmaps/playonlinux32.png
---
-2.5.0
-
diff --git a/0007-Install-lang-files-correctly.patch
b/0007-Install-lang-files-correctly.patch
deleted file mode 100644
index 2644f54..0000000
--- a/0007-Install-lang-files-correctly.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-From d7a33c3043b2590694b843ca6405ffe8c0f50dba Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Ji=C5=99=C3=AD=20Kone=C4=8Dn=C3=BD?=
- <DragonLichcz(a)gmail.com>
-Date: Fri, 22 Jan 2016 21:03:39 +0100
-Subject: [PATCH] Install lang files correctly
-
-To use installed locales DEBIAN_PACKAGE value must be set to true.
----
- Makefile | 6 +++++-
- 1 file changed, 5 insertions(+), 1 deletion(-)
-
-diff --git a/Makefile b/Makefile
-index a24755a..2242fa6 100644
---- a/Makefile
-+++ b/Makefile
-@@ -53,6 +53,8 @@ build:
- echo -e '#!/bin/bash\n${sharedir}/playonlinux/playonlinux-pkg "$$@"\nexit
0' > ./bin/playonlinux-pkg
- chmod +x ./bin/playonlinux
- chmod +x ./bin/playonlinux-pkg
-+ sed -i
's/\(\["DEBIAN_PACKAGE"\]\s*=\s*\)"FALSE"/\1"TRUE"/'
\
-+ ./python/lib/Variables.py
-
- install:
- install -d $(bindir)
-@@ -62,6 +64,7 @@ install:
- install -d $(sharedir)/appdata
- install -d $(sharedir)/playonlinux/bin
- install -d $(sharedir)/man/man1
-+ install -d $(sharedir)/locale
- $(GZIP) -c ./doc/playonlinux-pkg.1 > $(sharedir)/man/man1/playonlinux-pkg.1.gz
- $(GZIP) -c ./doc/playonlinux.1 > $(sharedir)/man/man1/playonlinux.1.gz
- cp ./etc/PlayOnLinux.desktop $(sharedir)/applications/PlayOnLinux.desktop
-@@ -72,7 +75,8 @@ install:
- cp ./bin/{playonlinux,playonlinux-pkg} $(bindir)/
- cp ./bin/playonlinux-check_dd $(execdir)/
- cp ./{playonlinux*,README.md,TRANSLATORS,CHANGELOG.md,LICENCE}
$(sharedir)/playonlinux/
-- cp -R ./{bash,etc,lang,lib,plugins,python,resources,tests} $(sharedir)/playonlinux/
-+ cp -R ./{bash,etc,lib,plugins,python,resources,tests} $(sharedir)/playonlinux/
-+ cp -R ./lang/locale/* $(sharedir)/locale/
-
- changelog:
- (GIT_DIR=.git git log > .changelog.tmp && mv .changelog.tmp ChangeLog; rm -f
.changelog.tmp) || (touch ChangeLog; echo 'git directory not found: installing
possibly empty changelog.' >&2)
---
-2.7.4
-
diff --git a/0008-Fix-bad-icon-path-in-Desktop-file.patch
b/0008-Fix-bad-icon-path-in-Desktop-file.patch
deleted file mode 100644
index c8a0b5c..0000000
--- a/0008-Fix-bad-icon-path-in-Desktop-file.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-From afc8ea4ba7be9f7ef466b47a50b8a9d611601a04 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Ji=C5=99=C3=AD=20Kone=C4=8Dn=C3=BD?=
- <DragonLichcz(a)gmail.com>
-Date: Wed, 9 Mar 2016 19:00:25 +0100
-Subject: [PATCH] Fix bad icon path in Desktop file
-
----
- etc/PlayOnLinux.desktop | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/etc/PlayOnLinux.desktop b/etc/PlayOnLinux.desktop
-index 76b5bfa..c3c5ee3 100644
---- a/etc/PlayOnLinux.desktop
-+++ b/etc/PlayOnLinux.desktop
-@@ -4,5 +4,5 @@ Name=PlayOnLinux
- Comment=Front-end application for the wine
- Type=Application
- Exec=playonlinux %F
--Icon=/usr/share/playonlinux/etc/playonlinux.png
-+Icon=/usr/share/pixmaps/playonlinux.png
- Categories=Utility;Emulator;
---
-2.7.4
-
diff --git a/0009-Update-PlayOnLinux.appdata.xml-to-new-format.patch
b/0009-Update-PlayOnLinux.appdata.xml-to-new-format.patch
deleted file mode 100644
index 3e7f869..0000000
--- a/0009-Update-PlayOnLinux.appdata.xml-to-new-format.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-From 94cfdcdee9c2d1e6537350f3c154d0e7929c537a Mon Sep 17 00:00:00 2001
-From: Jiri Konecny <DragonLichcz(a)gmail.com>
-Date: Sat, 3 Sep 2016 09:50:24 +0200
-Subject: [PATCH] Update PlayOnLinux.appdata.xml to new format
-
-Add bugtracker link.
-Add how to donate donation link.
-Add where to find help link.
-Add translation tutorial link.
-Add keywords for search.
----
- etc/PlayOnLinux.appdata.xml | 12 ++++++++++++
- 1 file changed, 12 insertions(+)
-
-diff --git a/etc/PlayOnLinux.appdata.xml b/etc/PlayOnLinux.appdata.xml
-index 4b3f62f..4d6d784 100644
---- a/etc/PlayOnLinux.appdata.xml
-+++ b/etc/PlayOnLinux.appdata.xml
-@@ -34,5 +34,17 @@
- </screenshot>
- </screenshots>
- <url
type="homepage">https://www.playonlinux.com/</url>
-+ <url
type="bugtracker">https://www.playonlinux.com/en/bugs.html&l...
-+ <url
type="donation">https://www.playonlinux.com/en/donate.html&l...
-+ <url
type="help">http://wiki.playonlinux.com/index.php/Main_Page&...
-+ <url
type="translate">http://wiki.playonlinux.com/index.php/Scrip...
-+
-+ <keywords>
-+ <keyword>wine</keyword>
-+ <keyword>games</keyword>
-+ <keyword>software</keyword>
-+ <keyword>windows</keyword>
-+ </keywords>
-+
- <update_contact>dragonlichcz_at_gmail.com</update_contact>
- </component>
---
-2.7.4
-
diff --git a/0010-Fix-GUI-layouts-on-Wayland.patch
b/0010-Fix-GUI-layouts-on-Wayland.patch
deleted file mode 100644
index 3e68355..0000000
--- a/0010-Fix-GUI-layouts-on-Wayland.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From dad2db1c6a5c596c8ec7ab4a1b4030643c294edc Mon Sep 17 00:00:00 2001
-From: Jiri Konecny <DragonLichcz(a)gmail.com>
-Date: Mon, 10 Oct 2016 10:49:38 +0200
-Subject: [PATCH] Fix GUI layouts on Wayland
-
-This is just a hotfix and it should be fixed properly in the code later.
----
- Makefile | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/Makefile b/Makefile
-index 2242fa6..4f2d134 100644
---- a/Makefile
-+++ b/Makefile
-@@ -49,7 +49,7 @@ build:
- $(CC) ./src/check_direct_rendering.c -o ./bin/playonlinux-check_dd
- $(PYTHON) ./python/*.py
- $(PYTHON) ./python/lib/*.py
-- echo -e '#!/bin/bash\n${sharedir}/playonlinux/playonlinux "$$@"\nexit
0' > ./bin/playonlinux
-+ echo -e '#!/bin/bash\nGDK_BACKEND=x11 ${sharedir}/playonlinux/playonlinux
"$$@"\nexit 0' > ./bin/playonlinux
- echo -e '#!/bin/bash\n${sharedir}/playonlinux/playonlinux-pkg "$$@"\nexit
0' > ./bin/playonlinux-pkg
- chmod +x ./bin/playonlinux
- chmod +x ./bin/playonlinux-pkg
---
-2.7.4
-
diff --git a/playonlinux.spec b/playonlinux.spec
index d5ea721..b9de700 100644
--- a/playonlinux.spec
+++ b/playonlinux.spec
@@ -1,9 +1,9 @@
Name: playonlinux
-Version: 4.2.10
+Version: 4.2.11
Summary: Graphical front-end for Wine
License: GPLv3
URL:
https://www.playonlinux.com
-Release: 11%{?dist}
+Release: 1%{?dist}
Source0:
https://github.com/PlayOnLinux/POL-POM-4/archive/%{version}.tar.gz
# Wine supported on these arches
@@ -26,38 +26,6 @@ BuildRequires: desktop-file-utils
BuildRequires: gettext
BuildRequires: libappstream-glib
-# Add documentation to playonlinux
-# Add Makefile to build and install playonlinux
-#
https://github.com/PlayOnLinux/POL-POM-4/pull/33
-Patch0: 0001-Add-Makefile-to-build-and-install-playonlinux.patch
-# Change check_gl to use compiled version of check dd
-#
https://github.com/PlayOnLinux/POL-POM-4/pull/33
-Patch1: 0002-Change-check_gl-to-use-compiled-version-of-check_dd.patch
-# Updated desktop file for the new format
-#
https://github.com/PlayOnLinux/POL-POM-4/pull/35
-Patch2: 0003-Updated-desktop-file-for-the-new-format.patch
-# Move build check_dd to /usr/libexec as says FHS
-#
https://github.com/PlayOnLinux/POL-POM-4/pull/33
-Patch3: 0004-Move-build-check_dd-to-usr-libexec-as-says-FHS.patch
-# Add appdata.xml which is used for software center
-#
https://github.com/PlayOnLinux/POL-POM-4/pull/36
-Patch4: 0005-Add-appdata.xml.patch
-# Change Makefile to use appdata.xml
-#
https://github.com/PlayOnLinux/POL-POM-4/pull/36
-Patch5: 0006-Change-Makefile-to-install-appdata.xml-file.patch
-# Install lang files correctly to the system
-#
https://github.com/PlayOnLinux/POL-POM-4/pull/37
-Patch6: 0007-Install-lang-files-correctly.patch
-# Fix bad path in desktop file
-#
https://github.com/PlayOnLinux/POL-POM-4/pull/40
-Patch7: 0008-Fix-bad-icon-path-in-Desktop-file.patch
-# Update AppData.xml with new values
-#
https://github.com/PlayOnLinux/POL-POM-4/pull/41
-Patch8: 0009-Update-PlayOnLinux.appdata.xml-to-new-format.patch
-# Fix GUI layouts on Wayland
-#
https://github.com/PlayOnLinux/POL-POM-4/pull/42
-Patch9: 0010-Fix-GUI-layouts-on-Wayland.patch
-
%global BUILD_DIR %{buildroot}/%{_datadir}/%{name}
%description
@@ -69,7 +37,7 @@ can install desired application with a few clicks. It will
automatically
setup your Wine prefix and download any required Windows libraries.
%prep
-%autosetup -n POL-POM-4-%{version} -p1
+%autosetup -n POL-POM-4-%{version}
%build
CFLAGS="$RPM_OPT_FLAGS" %make_build
@@ -98,6 +66,10 @@ appstream-util validate-relax --nonet
%{buildroot}/%{_datadir}/appdata/PlayOnLin
%{_libexecdir}/playonlinux-check_dd
%changelog
+* Wed May 31 2017 Fedora Release Monitoring <release-monitoring(a)fedoraproject.org>
- 4.2.11-1
+- Update to 4.2.11 (#1457013)
+- Remove patches contained in the new release
+
* Sat Feb 11 2017 Fedora Release Engineering <releng(a)fedoraproject.org> -
4.2.10-11
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
diff --git a/sources b/sources
index 3e59fdf..dffec1a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-8cb2c71e7fe6c670c242811c7da94af3 4.2.10.tar.gz
+SHA512 (4.2.11.tar.gz) =
c99f09ae066cb9c0fbb24082a20e719d0a0ac6bc62bf166ad3fd4825199db0c39a0776b4b91889bfab64ea4c9e7917d5e0ba40d64d25eb7b5824e52991f7aa18
commit 017c48e3c632ecca380c8ae22653d6f09700f9ac
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Sat Feb 11 07:36:21 2017 +0000
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
diff --git a/playonlinux.spec b/playonlinux.spec
index d9a759c..d5ea721 100644
--- a/playonlinux.spec
+++ b/playonlinux.spec
@@ -3,7 +3,7 @@ Version: 4.2.10
Summary: Graphical front-end for Wine
License: GPLv3
URL:
https://www.playonlinux.com
-Release: 10%{?dist}
+Release: 11%{?dist}
Source0:
https://github.com/PlayOnLinux/POL-POM-4/archive/%{version}.tar.gz
# Wine supported on these arches
@@ -98,6 +98,9 @@ appstream-util validate-relax --nonet
%{buildroot}/%{_datadir}/appdata/PlayOnLin
%{_libexecdir}/playonlinux-check_dd
%changelog
+* Sat Feb 11 2017 Fedora Release Engineering <releng(a)fedoraproject.org> -
4.2.10-11
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
+
* Sun Nov 13 2016 Peter Robinson <pbrobinson(a)fedoraproject.org> 4.2.10-10
- Define ExclusiveArch with arches wine supports
commit 54563f84992d47e2cf50caa28bb0571a4f6db7e0
Author: Peter Robinson <pbrobinson(a)gmail.com>
Date: Sun Nov 13 16:15:16 2016 +0000
Define ExclusiveArch with arches wine supports
diff --git a/playonlinux.spec b/playonlinux.spec
index 0dd58f5..d9a759c 100644
--- a/playonlinux.spec
+++ b/playonlinux.spec
@@ -3,7 +3,12 @@ Version: 4.2.10
Summary: Graphical front-end for Wine
License: GPLv3
URL:
https://www.playonlinux.com
-Release: 9%{?dist}
+Release: 10%{?dist}
+Source0:
https://github.com/PlayOnLinux/POL-POM-4/archive/%{version}.tar.gz
+
+# Wine supported on these arches
+ExclusiveArch: %{arm} aarch64 %{ix86} x86_64
+
Requires: unzip
Requires: wine
Requires: wget
@@ -20,7 +25,6 @@ BuildRequires: python2 > 2.4
BuildRequires: desktop-file-utils
BuildRequires: gettext
BuildRequires: libappstream-glib
-Source0:
https://github.com/PlayOnLinux/POL-POM-4/archive/%{version}.tar.gz
# Add documentation to playonlinux
# Add Makefile to build and install playonlinux
@@ -94,6 +98,9 @@ appstream-util validate-relax --nonet
%{buildroot}/%{_datadir}/appdata/PlayOnLin
%{_libexecdir}/playonlinux-check_dd
%changelog
+* Sun Nov 13 2016 Peter Robinson <pbrobinson(a)fedoraproject.org> 4.2.10-10
+- Define ExclusiveArch with arches wine supports
+
* Mon Oct 10 2016 Jiri Konecny <jkonecny(a)redhat.com> - 4.2.10-9
- Add patch to fix GUI layout issues on Wayland
commit f2565ea561179c14c7077655da648e33cb7eb4ad
Author: Jiri Konecny <DragonLichcz(a)gmail.com>
Date: Mon Oct 10 12:01:22 2016 +0200
Add patch to fix GUI layout issues on Wayland
diff --git a/0010-Fix-GUI-layouts-on-Wayland.patch
b/0010-Fix-GUI-layouts-on-Wayland.patch
new file mode 100644
index 0000000..3e68355
--- /dev/null
+++ b/0010-Fix-GUI-layouts-on-Wayland.patch
@@ -0,0 +1,26 @@
+From dad2db1c6a5c596c8ec7ab4a1b4030643c294edc Mon Sep 17 00:00:00 2001
+From: Jiri Konecny <DragonLichcz(a)gmail.com>
+Date: Mon, 10 Oct 2016 10:49:38 +0200
+Subject: [PATCH] Fix GUI layouts on Wayland
+
+This is just a hotfix and it should be fixed properly in the code later.
+---
+ Makefile | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile b/Makefile
+index 2242fa6..4f2d134 100644
+--- a/Makefile
++++ b/Makefile
+@@ -49,7 +49,7 @@ build:
+ $(CC) ./src/check_direct_rendering.c -o ./bin/playonlinux-check_dd
+ $(PYTHON) ./python/*.py
+ $(PYTHON) ./python/lib/*.py
+- echo -e '#!/bin/bash\n${sharedir}/playonlinux/playonlinux "$$@"\nexit
0' > ./bin/playonlinux
++ echo -e '#!/bin/bash\nGDK_BACKEND=x11 ${sharedir}/playonlinux/playonlinux
"$$@"\nexit 0' > ./bin/playonlinux
+ echo -e '#!/bin/bash\n${sharedir}/playonlinux/playonlinux-pkg "$$@"\nexit
0' > ./bin/playonlinux-pkg
+ chmod +x ./bin/playonlinux
+ chmod +x ./bin/playonlinux-pkg
+--
+2.7.4
+
diff --git a/playonlinux.spec b/playonlinux.spec
index 15e936d..0dd58f5 100644
--- a/playonlinux.spec
+++ b/playonlinux.spec
@@ -3,7 +3,7 @@ Version: 4.2.10
Summary: Graphical front-end for Wine
License: GPLv3
URL:
https://www.playonlinux.com
-Release: 8%{?dist}
+Release: 9%{?dist}
Requires: unzip
Requires: wine
Requires: wget
@@ -50,6 +50,9 @@ Patch7: 0008-Fix-bad-icon-path-in-Desktop-file.patch
# Update AppData.xml with new values
#
https://github.com/PlayOnLinux/POL-POM-4/pull/41
Patch8: 0009-Update-PlayOnLinux.appdata.xml-to-new-format.patch
+# Fix GUI layouts on Wayland
+#
https://github.com/PlayOnLinux/POL-POM-4/pull/42
+Patch9: 0010-Fix-GUI-layouts-on-Wayland.patch
%global BUILD_DIR %{buildroot}/%{_datadir}/%{name}
@@ -91,6 +94,9 @@ appstream-util validate-relax --nonet
%{buildroot}/%{_datadir}/appdata/PlayOnLin
%{_libexecdir}/playonlinux-check_dd
%changelog
+* Mon Oct 10 2016 Jiri Konecny <jkonecny(a)redhat.com> - 4.2.10-9
+- Add patch to fix GUI layout issues on Wayland
+
* Sat Sep 3 2016 Jiri Konecny <jkonecny(a)redhat.com> - 4.2.10-8
- Add new patch for the updated appdata.xml file
- Improve old Patch2 for desktop file
commit 0263904d2c6d5e0ad9ffe99147e23efc280738eb
Author: Jiri Konecny <DragonLichcz(a)gmail.com>
Date: Sat Sep 3 11:52:14 2016 +0200
Add new patch for the updated appdata.xml file
- Improve old Patch2 for desktop file
- Rebase Patch6 and Patch7 on top of Patch2
diff --git a/0003-Updated-desktop-file-for-the-new-format.patch
b/0003-Updated-desktop-file-for-the-new-format.patch
index 760c5a5..6e349d4 100644
--- a/0003-Updated-desktop-file-for-the-new-format.patch
+++ b/0003-Updated-desktop-file-for-the-new-format.patch
@@ -1,4 +1,4 @@
-From 40ca9ee5ca7a3f3f2a1c36f862cbeb9696a860b8 Mon Sep 17 00:00:00 2001
+From 102fbfd31dd26c911e0b5313e3e36ded8a3d390a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ji=C5=99=C3=AD=20Kone=C4=8Dn=C3=BD?=
<DragonLichcz(a)gmail.com>
Date: Thu, 12 Nov 2015 19:32:48 +0100
@@ -7,11 +7,11 @@ Subject: [PATCH] Updated desktop file for the new format
Now it pass without warning or error through desktop-file-validate
tester.
---
- etc/PlayOnLinux.desktop | 7 +++----
- 1 file changed, 3 insertions(+), 4 deletions(-)
+ etc/PlayOnLinux.desktop | 9 ++++-----
+ 1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/etc/PlayOnLinux.desktop b/etc/PlayOnLinux.desktop
-index 08b1d23..f619154 100644
+index 08b1d23..76b5bfa 100644
--- a/etc/PlayOnLinux.desktop
+++ b/etc/PlayOnLinux.desktop
@@ -1,9 +1,8 @@
@@ -21,12 +21,13 @@ index 08b1d23..f619154 100644
Name=PlayOnLinux
-Comment=PlayOnLinux
-Type=Application %F
+-Exec=playonlinux
+Comment=Front-end application for the wine
+Type=Application
- Exec=playonlinux
++Exec=playonlinux %F
Icon=/usr/share/playonlinux/etc/playonlinux.png
-Categories=Application;Game
-+Categories=Utility;GTK;
++Categories=Utility;Emulator;
--
-2.4.3
+2.7.4
diff --git a/0007-Install-lang-files-correctly.patch
b/0007-Install-lang-files-correctly.patch
index cfc814b..2644f54 100644
--- a/0007-Install-lang-files-correctly.patch
+++ b/0007-Install-lang-files-correctly.patch
@@ -1,4 +1,4 @@
-From 7edafce9c4dc19e3c323b73e62681001234ead81 Mon Sep 17 00:00:00 2001
+From d7a33c3043b2590694b843ca6405ffe8c0f50dba Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ji=C5=99=C3=AD=20Kone=C4=8Dn=C3=BD?=
<DragonLichcz(a)gmail.com>
Date: Fri, 22 Jan 2016 21:03:39 +0100
@@ -10,7 +10,7 @@ To use installed locales DEBIAN_PACKAGE value must be set to true.
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
-index a4fca7d..511f344 100644
+index a24755a..2242fa6 100644
--- a/Makefile
+++ b/Makefile
@@ -53,6 +53,8 @@ build:
@@ -22,15 +22,15 @@ index a4fca7d..511f344 100644
install:
install -d $(bindir)
-@@ -61,6 +63,7 @@ install:
- install -d $(sharedir)/applications
+@@ -62,6 +64,7 @@ install:
+ install -d $(sharedir)/appdata
install -d $(sharedir)/playonlinux/bin
install -d $(sharedir)/man/man1
+ install -d $(sharedir)/locale
$(GZIP) -c ./doc/playonlinux-pkg.1 > $(sharedir)/man/man1/playonlinux-pkg.1.gz
$(GZIP) -c ./doc/playonlinux.1 > $(sharedir)/man/man1/playonlinux.1.gz
cp ./etc/PlayOnLinux.desktop $(sharedir)/applications/PlayOnLinux.desktop
-@@ -70,7 +73,8 @@ install:
+@@ -72,7 +75,8 @@ install:
cp ./bin/{playonlinux,playonlinux-pkg} $(bindir)/
cp ./bin/playonlinux-check_dd $(execdir)/
cp ./{playonlinux*,README.md,TRANSLATORS,CHANGELOG.md,LICENCE}
$(sharedir)/playonlinux/
@@ -41,5 +41,5 @@ index a4fca7d..511f344 100644
changelog:
(GIT_DIR=.git git log > .changelog.tmp && mv .changelog.tmp ChangeLog; rm -f
.changelog.tmp) || (touch ChangeLog; echo 'git directory not found: installing
possibly empty changelog.' >&2)
--
-2.5.0
+2.7.4
diff --git a/0008-Fix-bad-icon-path-in-Desktop-file.patch
b/0008-Fix-bad-icon-path-in-Desktop-file.patch
index d27b6b4..c8a0b5c 100644
--- a/0008-Fix-bad-icon-path-in-Desktop-file.patch
+++ b/0008-Fix-bad-icon-path-in-Desktop-file.patch
@@ -1,4 +1,4 @@
-From 75f43c3eadde99fc56fffbae860ba37ceaf14c02 Mon Sep 17 00:00:00 2001
+From afc8ea4ba7be9f7ef466b47a50b8a9d611601a04 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ji=C5=99=C3=AD=20Kone=C4=8Dn=C3=BD?=
<DragonLichcz(a)gmail.com>
Date: Wed, 9 Mar 2016 19:00:25 +0100
@@ -9,16 +9,16 @@ Subject: [PATCH] Fix bad icon path in Desktop file
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/etc/PlayOnLinux.desktop b/etc/PlayOnLinux.desktop
-index f619154..97dcf8a 100644
+index 76b5bfa..c3c5ee3 100644
--- a/etc/PlayOnLinux.desktop
+++ b/etc/PlayOnLinux.desktop
@@ -4,5 +4,5 @@ Name=PlayOnLinux
Comment=Front-end application for the wine
Type=Application
- Exec=playonlinux
+ Exec=playonlinux %F
-Icon=/usr/share/playonlinux/etc/playonlinux.png
+Icon=/usr/share/pixmaps/playonlinux.png
- Categories=Utility;GTK;
+ Categories=Utility;Emulator;
--
-2.5.0
+2.7.4
diff --git a/0009-Update-PlayOnLinux.appdata.xml-to-new-format.patch
b/0009-Update-PlayOnLinux.appdata.xml-to-new-format.patch
new file mode 100644
index 0000000..3e7f869
--- /dev/null
+++ b/0009-Update-PlayOnLinux.appdata.xml-to-new-format.patch
@@ -0,0 +1,39 @@
+From 94cfdcdee9c2d1e6537350f3c154d0e7929c537a Mon Sep 17 00:00:00 2001
+From: Jiri Konecny <DragonLichcz(a)gmail.com>
+Date: Sat, 3 Sep 2016 09:50:24 +0200
+Subject: [PATCH] Update PlayOnLinux.appdata.xml to new format
+
+Add bugtracker link.
+Add how to donate donation link.
+Add where to find help link.
+Add translation tutorial link.
+Add keywords for search.
+---
+ etc/PlayOnLinux.appdata.xml | 12 ++++++++++++
+ 1 file changed, 12 insertions(+)
+
+diff --git a/etc/PlayOnLinux.appdata.xml b/etc/PlayOnLinux.appdata.xml
+index 4b3f62f..4d6d784 100644
+--- a/etc/PlayOnLinux.appdata.xml
++++ b/etc/PlayOnLinux.appdata.xml
+@@ -34,5 +34,17 @@
+ </screenshot>
+ </screenshots>
+ <url
type="homepage">https://www.playonlinux.com/</url>
++ <url
type="bugtracker">https://www.playonlinux.com/en/bugs.html&l...
++ <url
type="donation">https://www.playonlinux.com/en/donate.html&l...
++ <url
type="help">http://wiki.playonlinux.com/index.php/Main_Page&...
++ <url
type="translate">http://wiki.playonlinux.com/index.php/Scrip...
++
++ <keywords>
++ <keyword>wine</keyword>
++ <keyword>games</keyword>
++ <keyword>software</keyword>
++ <keyword>windows</keyword>
++ </keywords>
++
+ <update_contact>dragonlichcz_at_gmail.com</update_contact>
+ </component>
+--
+2.7.4
+
diff --git a/playonlinux.spec b/playonlinux.spec
index db79608..15e936d 100644
--- a/playonlinux.spec
+++ b/playonlinux.spec
@@ -3,7 +3,7 @@ Version: 4.2.10
Summary: Graphical front-end for Wine
License: GPLv3
URL:
https://www.playonlinux.com
-Release: 7%{?dist}
+Release: 8%{?dist}
Requires: unzip
Requires: wine
Requires: wget
@@ -47,6 +47,9 @@ Patch6: 0007-Install-lang-files-correctly.patch
# Fix bad path in desktop file
#
https://github.com/PlayOnLinux/POL-POM-4/pull/40
Patch7: 0008-Fix-bad-icon-path-in-Desktop-file.patch
+# Update AppData.xml with new values
+#
https://github.com/PlayOnLinux/POL-POM-4/pull/41
+Patch8: 0009-Update-PlayOnLinux.appdata.xml-to-new-format.patch
%global BUILD_DIR %{buildroot}/%{_datadir}/%{name}
@@ -88,6 +91,11 @@ appstream-util validate-relax --nonet
%{buildroot}/%{_datadir}/appdata/PlayOnLin
%{_libexecdir}/playonlinux-check_dd
%changelog
+* Sat Sep 3 2016 Jiri Konecny <jkonecny(a)redhat.com> - 4.2.10-8
+- Add new patch for the updated appdata.xml file
+- Improve old Patch2 for desktop file
+- Rebase Patch6 and Patch7 on top of Patch2
+
* Wed Mar 9 2016 Jiri Konecny <jkonecny(a)redhat.com> - 4.2.10-7
- Apply patch which fixing bad icon path in a desktop file
commit 96d74a58d2cbd09da3d4fd06995bb8e1adf20137
Author: Jiří Konečný <DragonLichcz(a)gmail.com>
Date: Wed Mar 9 19:41:38 2016 +0100
Fix bad icon path in a desktop file
diff --git a/0008-Fix-bad-icon-path-in-Desktop-file.patch
b/0008-Fix-bad-icon-path-in-Desktop-file.patch
new file mode 100644
index 0000000..d27b6b4
--- /dev/null
+++ b/0008-Fix-bad-icon-path-in-Desktop-file.patch
@@ -0,0 +1,24 @@
+From 75f43c3eadde99fc56fffbae860ba37ceaf14c02 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Ji=C5=99=C3=AD=20Kone=C4=8Dn=C3=BD?=
+ <DragonLichcz(a)gmail.com>
+Date: Wed, 9 Mar 2016 19:00:25 +0100
+Subject: [PATCH] Fix bad icon path in Desktop file
+
+---
+ etc/PlayOnLinux.desktop | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/etc/PlayOnLinux.desktop b/etc/PlayOnLinux.desktop
+index f619154..97dcf8a 100644
+--- a/etc/PlayOnLinux.desktop
++++ b/etc/PlayOnLinux.desktop
+@@ -4,5 +4,5 @@ Name=PlayOnLinux
+ Comment=Front-end application for the wine
+ Type=Application
+ Exec=playonlinux
+-Icon=/usr/share/playonlinux/etc/playonlinux.png
++Icon=/usr/share/pixmaps/playonlinux.png
+ Categories=Utility;GTK;
+--
+2.5.0
+
diff --git a/playonlinux.spec b/playonlinux.spec
index 9406c88..db79608 100644
--- a/playonlinux.spec
+++ b/playonlinux.spec
@@ -3,7 +3,7 @@ Version: 4.2.10
Summary: Graphical front-end for Wine
License: GPLv3
URL:
https://www.playonlinux.com
-Release: 6%{?dist}
+Release: 7%{?dist}
Requires: unzip
Requires: wine
Requires: wget
@@ -44,6 +44,9 @@ Patch5: 0006-Change-Makefile-to-install-appdata.xml-file.patch
# Install lang files correctly to the system
#
https://github.com/PlayOnLinux/POL-POM-4/pull/37
Patch6: 0007-Install-lang-files-correctly.patch
+# Fix bad path in desktop file
+#
https://github.com/PlayOnLinux/POL-POM-4/pull/40
+Patch7: 0008-Fix-bad-icon-path-in-Desktop-file.patch
%global BUILD_DIR %{buildroot}/%{_datadir}/%{name}
@@ -85,6 +88,9 @@ appstream-util validate-relax --nonet
%{buildroot}/%{_datadir}/appdata/PlayOnLin
%{_libexecdir}/playonlinux-check_dd
%changelog
+* Wed Mar 9 2016 Jiri Konecny <jkonecny(a)redhat.com> - 4.2.10-7
+- Apply patch which fixing bad icon path in a desktop file
+
* Sat Mar 5 2016 Ville Skyttä <ville.skytta(a)iki.fi> - 4.2.10-6
- Build with $RPM_OPT_FLAGS
commit 66964c4429f731bafa509f4fd7762d8f3e23197b
Author: Ville Skyttä <ville.skytta(a)iki.fi>
Date: Sat Mar 5 15:32:14 2016 +0200
Build with $RPM_OPT_FLAGS
diff --git a/playonlinux.spec b/playonlinux.spec
index 757cabf..9406c88 100644
--- a/playonlinux.spec
+++ b/playonlinux.spec
@@ -3,7 +3,7 @@ Version: 4.2.10
Summary: Graphical front-end for Wine
License: GPLv3
URL:
https://www.playonlinux.com
-Release: 5%{?dist}
+Release: 6%{?dist}
Requires: unzip
Requires: wine
Requires: wget
@@ -59,7 +59,7 @@ setup your Wine prefix and download any required Windows libraries.
%autosetup -n POL-POM-4-%{version} -p1
%build
-%make_build
+CFLAGS="$RPM_OPT_FLAGS" %make_build
%install
%make_install
@@ -85,6 +85,9 @@ appstream-util validate-relax --nonet
%{buildroot}/%{_datadir}/appdata/PlayOnLin
%{_libexecdir}/playonlinux-check_dd
%changelog
+* Sat Mar 5 2016 Ville Skyttä <ville.skytta(a)iki.fi> - 4.2.10-6
+- Build with $RPM_OPT_FLAGS
+
* Fri Jan 22 2016 Jiri Konecny <jkonecny(a)redhat.com> 4.2.10-5
- Add patch which will fix installation of locales to the system
commit edf6216bbe4bc7508e46af514240e1875540291f
Author: Jiří Konečný <DragonLichcz(a)gmail.com>
Date: Wed Mar 2 18:10:48 2016 +0100
Initial import (#1290513).
diff --git a/.gitignore b/.gitignore
index e69de29..fcc6201 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/4.2.10.tar.gz
diff --git a/0001-Add-Makefile-to-build-and-install-playonlinux.patch
b/0001-Add-Makefile-to-build-and-install-playonlinux.patch
new file mode 100644
index 0000000..84c05ce
--- /dev/null
+++ b/0001-Add-Makefile-to-build-and-install-playonlinux.patch
@@ -0,0 +1,100 @@
+From 7458c82f2a6d183f86f217f57afa2615b396c19c Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Ji=C5=99=C3=AD=20Kone=C4=8Dn=C3=BD?=
+ <DragonLichcz(a)gmail.com>
+Date: Mon, 2 Nov 2015 22:20:09 +0100
+Subject: [PATCH 1/3] Add Makefile to build and install playonlinux
+
+Build check_direct_rendering.c to bin folder.
+Build pyc files for python source codes.
+Create executable files for /usr/bin.
+Install playonlinux to DESTDIR if nothing set use install to / and user
+can also specify the PREFIX of the installation.
+As bonus could create changelog from git.
+---
+ Makefile | 74 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ 1 file changed, 74 insertions(+)
+ create mode 100644 Makefile
+
+diff --git a/Makefile b/Makefile
+new file mode 100644
+index 0000000..2e7c538
+--- /dev/null
++++ b/Makefile
+@@ -0,0 +1,74 @@
++# This program is free software: you can redistribute it and/or modify
++# it under the terms of the GNU General Public License as published by
++# the Free Software Foundation, either version 3 of the License, or
++# (at your option) any later version.
++#
++# This program is distributed in the hope that it will be useful,
++# but WITHOUT ANY WARRANTY; without even the implied warranty of
++# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
++# GNU General Public License for more details.
++#
++# You should have received a copy of the GNU General Public License
++# along with this program. If not, see <
http://www.gnu.org/licenses/>.
++#
++# Authors: Jiri Konecny <dragonlichcz(a)gmail.com>
++
++
++# Arguments:
++#
++# PREFIX -- Set prefix for the installation (/usr is default)
++# DESTDIR -- Where you want to install
++#
++
++CFLAGS ?= -O2
++CC = gcc $(CFLAGS)
++PYTHON = python2 -m py_compile
++GZIP = gzip
++
++PREFIX ?= /usr
++DESTDIR ?= # root dir
++
++CFLAGS += -lGL -lX11
++
++sharedir := $(DESTDIR)$(PREFIX)/share
++bindir := $(DESTDIR)$(PREFIX)/bin
++
++all: build
++
++clean:
++ $(RM) ./python/*.pyc
++ $(RM) ./python/lib/*.pyc
++ $(RM) ./bin/check_dd
++ $(RM) ./bin/playonlinux
++ $(RM) ./bin/playonlinux-pkg
++ $(RM) ./ChangeLog
++
++build:
++ $(CC) ./src/check_direct_rendering.c -o ./bin/check_dd
++ $(PYTHON) ./python/*.py
++ $(PYTHON) ./python/lib/*.py
++ echo -e '#!/bin/bash\n${sharedir}/playonlinux/playonlinux "$$@"\nexit
0' > ./bin/playonlinux
++ echo -e '#!/bin/bash\n${sharedir}/playonlinux/playonlinux-pkg "$$@"\nexit
0' > ./bin/playonlinux-pkg
++ chmod +x ./bin/playonlinux
++ chmod +x ./bin/playonlinux-pkg
++
++install:
++ install -d $(bindir)
++ install -d $(sharedir)/pixmaps
++ install -d $(sharedir)/applications
++ install -d $(sharedir)/playonlinux/bin
++ install -d $(sharedir)/man/man1
++ $(GZIP) -c ./doc/playonlinux-pkg.1 > $(sharedir)/man/man1/playonlinux-pkg.1.gz
++ $(GZIP) -c ./doc/playonlinux.1 > $(sharedir)/man/man1/playonlinux.1.gz
++ cp ./etc/PlayOnLinux.desktop $(sharedir)/applications/PlayOnLinux.desktop
++ cp ./etc/playonlinux.png $(sharedir)/pixmaps/playonlinux.png
++ cp ./etc/playonlinux16.png $(sharedir)/pixmaps/playonlinux16.png
++ cp ./etc/playonlinux32.png $(sharedir)/pixmaps/playonlinux32.png
++ cp ./bin/{playonlinux,playonlinux-pkg} $(bindir)/
++ cp ./{playonlinux*,README.md,TRANSLATORS,CHANGELOG.md,LICENCE}
$(sharedir)/playonlinux/
++ cp -R ./{bash,etc,lang,lib,plugins,python,resources,tests} $(sharedir)/playonlinux/
++
++changelog:
++ (GIT_DIR=.git git log > .changelog.tmp && mv .changelog.tmp ChangeLog; rm -f
.changelog.tmp) || (touch ChangeLog; echo 'git directory not found: installing
possibly empty changelog.' >&2)
++
++.PHONY: all clean build install changelog
+--
+2.5.0
+
diff --git a/0002-Change-check_gl-to-use-compiled-version-of-check_dd.patch
b/0002-Change-check_gl-to-use-compiled-version-of-check_dd.patch
new file mode 100644
index 0000000..52adb21
--- /dev/null
+++ b/0002-Change-check_gl-to-use-compiled-version-of-check_dd.patch
@@ -0,0 +1,72 @@
+From 5eb170a438d8a7a21c952f5e0c45f87e85106eb2 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Ji=C5=99=C3=AD=20Kone=C4=8Dn=C3=BD?=
+ <DragonLichcz(a)gmail.com>
+Date: Tue, 3 Nov 2015 21:48:00 +0100
+Subject: [PATCH 2/3] Change check_gl to use compiled version of check_dd as
+ fallback
+
+When make install command is used the bz2 versions of check_dd_*
+binaries are not installed but the ./src/check_direct_rendering.c is
+compiled as check_dd to bin folder.
+The check_gl script was changed to use this compiled check_dd when bz2
+version is missing.
+---
+ Makefile | 2 +-
+ bash/check_gl | 24 +++++++++++++++---------
+ 2 files changed, 16 insertions(+), 10 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index 2e7c538..54ca41f 100644
+--- a/Makefile
++++ b/Makefile
+@@ -44,7 +44,7 @@ clean:
+ $(RM) ./ChangeLog
+
+ build:
+- $(CC) ./src/check_direct_rendering.c -o ./bin/check_dd
++ $(CC) ./src/check_direct_rendering.c -o ./bin/playonlinux-check_dd
+ $(PYTHON) ./python/*.py
+ $(PYTHON) ./python/lib/*.py
+ echo -e '#!/bin/bash\n${sharedir}/playonlinux/playonlinux "$$@"\nexit
0' > ./bin/playonlinux
+diff --git a/bash/check_gl b/bash/check_gl
+index 01b52e6..51a48e3 100755
+--- a/bash/check_gl
++++ b/bash/check_gl
+@@ -41,19 +41,25 @@ Check_OpenGL()
+ chmod +x "$POL_USER_ROOT/tmp/check_dd_$1"
+ message="$("$POL_USER_ROOT/tmp/check_dd_$1")"
+ out="$?"
+-
+- if [ "$out" = "0" ]
+- then
+- $cmd "$message"
+- exit 0
+- else
+- $cmdW "$message"
+- exit 2
+- fi
++ # When bz2 version is not presented (was installed on specific platform)
++ # use on site compiled check_dd version
++ elif [ -e "/usr/libexec/playonlinux-check_dd" ]
++ then
++ message="$("/usr/libexec/playonlinux-check_dd")"
++ out="$?"
+ else
+ $cmdW "check_dd_$1 missing, test skipped"
+ exit 0
+ fi
++
++ if [ "$out" = "0" ]
++ then
++ $cmd "$message"
++ exit 0
++ else
++ $cmdW "$message"
++ exit 2
++ fi
+ }
+ cd /tmp
+
+--
+2.5.0
+
diff --git a/0003-Updated-desktop-file-for-the-new-format.patch
b/0003-Updated-desktop-file-for-the-new-format.patch
new file mode 100644
index 0000000..760c5a5
--- /dev/null
+++ b/0003-Updated-desktop-file-for-the-new-format.patch
@@ -0,0 +1,32 @@
+From 40ca9ee5ca7a3f3f2a1c36f862cbeb9696a860b8 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Ji=C5=99=C3=AD=20Kone=C4=8Dn=C3=BD?=
+ <DragonLichcz(a)gmail.com>
+Date: Thu, 12 Nov 2015 19:32:48 +0100
+Subject: [PATCH] Updated desktop file for the new format
+
+Now it pass without warning or error through desktop-file-validate
+tester.
+---
+ etc/PlayOnLinux.desktop | 7 +++----
+ 1 file changed, 3 insertions(+), 4 deletions(-)
+
+diff --git a/etc/PlayOnLinux.desktop b/etc/PlayOnLinux.desktop
+index 08b1d23..f619154 100644
+--- a/etc/PlayOnLinux.desktop
++++ b/etc/PlayOnLinux.desktop
+@@ -1,9 +1,8 @@
+ [Desktop Entry]
+ Version=1.0
+-Encoding=UTF-8
+ Name=PlayOnLinux
+-Comment=PlayOnLinux
+-Type=Application %F
++Comment=Front-end application for the wine
++Type=Application
+ Exec=playonlinux
+ Icon=/usr/share/playonlinux/etc/playonlinux.png
+-Categories=Application;Game
++Categories=Utility;GTK;
+--
+2.4.3
+
diff --git a/0004-Move-build-check_dd-to-usr-libexec-as-says-FHS.patch
b/0004-Move-build-check_dd-to-usr-libexec-as-says-FHS.patch
new file mode 100644
index 0000000..74ddd27
--- /dev/null
+++ b/0004-Move-build-check_dd-to-usr-libexec-as-says-FHS.patch
@@ -0,0 +1,45 @@
+From 75895376001e904b7af62ad46dce64a93641e5e1 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Ji=C5=99=C3=AD=20Kone=C4=8Dn=C3=BD?=
+ <DragonLichcz(a)gmail.com>
+Date: Wed, 25 Nov 2015 21:27:17 +0100
+Subject: [PATCH 3/3] Move build check_dd to /usr/libexec as says FHS
+
+FHS (filesystem hierarchy standard) defines the /usr/share as
+non-arch dependend directory.
+So when we build the check_dd it should go to the /usr/libexec.
+---
+ Makefile | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/Makefile b/Makefile
+index 54ca41f..a4fca7d 100644
+--- a/Makefile
++++ b/Makefile
+@@ -32,6 +32,8 @@ CFLAGS += -lGL -lX11
+
+ sharedir := $(DESTDIR)$(PREFIX)/share
+ bindir := $(DESTDIR)$(PREFIX)/bin
++execdir := $(DESTDIR)$(PREFIX)/libexec
++
+
+ all: build
+
+@@ -54,6 +56,7 @@ build:
+
+ install:
+ install -d $(bindir)
++ install -d $(execdir)
+ install -d $(sharedir)/pixmaps
+ install -d $(sharedir)/applications
+ install -d $(sharedir)/playonlinux/bin
+@@ -65,6 +68,7 @@ install:
+ cp ./etc/playonlinux16.png $(sharedir)/pixmaps/playonlinux16.png
+ cp ./etc/playonlinux32.png $(sharedir)/pixmaps/playonlinux32.png
+ cp ./bin/{playonlinux,playonlinux-pkg} $(bindir)/
++ cp ./bin/playonlinux-check_dd $(execdir)/
+ cp ./{playonlinux*,README.md,TRANSLATORS,CHANGELOG.md,LICENCE}
$(sharedir)/playonlinux/
+ cp -R ./{bash,etc,lang,lib,plugins,python,resources,tests} $(sharedir)/playonlinux/
+
+--
+2.5.0
+
diff --git a/0005-Add-appdata.xml.patch b/0005-Add-appdata.xml.patch
new file mode 100644
index 0000000..322a98a
--- /dev/null
+++ b/0005-Add-appdata.xml.patch
@@ -0,0 +1,62 @@
+From c4def85e03e234e8c6c7c58ccdfb35faa7191a63 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Ji=C5=99=C3=AD=20Kone=C4=8Dn=C3=BD?=
+ <DragonLichcz(a)gmail.com>
+Date: Tue, 12 Jan 2016 19:32:58 +0100
+Subject: [PATCH 1/2] Add appdata.xml
+
+Added appdata.xml which is used for software center.
+
+http://people.freedesktop.org/~hughsient/appdata/
+---
+ etc/PlayOnLinux.appdata.xml | 39 +++++++++++++++++++++++++++++++++++++++
+ 1 file changed, 39 insertions(+)
+ create mode 100644 etc/PlayOnLinux.appdata.xml
+
+diff --git a/etc/PlayOnLinux.appdata.xml b/etc/PlayOnLinux.appdata.xml
+new file mode 100644
+index 0000000..5f6d53b
+--- /dev/null
++++ b/etc/PlayOnLinux.appdata.xml
+@@ -0,0 +1,39 @@
++<?xml version="1.0" encoding="UTF-8"?>
++<!-- Copyright 2016 Jiri Konecny <dragonlichcz(a)gmail.com> -->
++<component type="desktop">
++ <id>PlayOnLinux.desktop</id>
++ <project_license>GPL-3.0</project_license>
++ <metadata_license>CC0-1.0</metadata_license>
++ <name>PlayOnLinux</name>
++ <summary>Graphical front-end for Wine</summary>
++ <description>
++ <p>
++ PlayOnLinux will allow you to run your favorite Windows games and
++ applications on Linux through Wine easily.
++ </p>
++ <p>
++ New users can often find Wine to be intimidating and difficult to use.
++ PlayOnLinux simplifies much of this and makes installing and using
++ Windows programs easier.
++ </p>
++ <p>
++ PlayOnLinux have the database of Windows applications from which user
++ can install desired application with few clicks. It will automatically
++ setup your Wine prefix and download required redistributable libraries
++ if needed.
++ </p>
++ </description>
++ <screenshots>
++ <screenshot type="default">
++
<
image>https://jkonecny.fedorapeople.org/images/playonlinux_screen_01.p...
++ </screenshot>
++ <screenshot>
++
<
image>https://jkonecny.fedorapeople.org/images/playonlinux_screen_02.p...
++ </screenshot>
++ <screenshot>
++
<
image>https://jkonecny.fedorapeople.org/images/playonlinux_screen_03.p...
++ </screenshot>
++ </screenshots>
++ <url
type="homepage">https://www.playonlinux.com/</url>
++ <update_contact>dragonlichcz_at_gmail.com</update_contact>
++</component>
+--
+2.5.0
+
diff --git a/0006-Change-Makefile-to-install-appdata.xml-file.patch
b/0006-Change-Makefile-to-install-appdata.xml-file.patch
new file mode 100644
index 0000000..6b33387
--- /dev/null
+++ b/0006-Change-Makefile-to-install-appdata.xml-file.patch
@@ -0,0 +1,31 @@
+From 571eb530162a7c3a370d30fbed8f73b725745ebb Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Ji=C5=99=C3=AD=20Kone=C4=8Dn=C3=BD?=
+ <DragonLichcz(a)gmail.com>
+Date: Wed, 13 Jan 2016 18:31:11 +0100
+Subject: [PATCH] Change Makefile to install appdata.xml file
+
+---
+ Makefile | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/Makefile b/Makefile
+index a4fca7d..a24755a 100644
+--- a/Makefile
++++ b/Makefile
+@@ -59,11 +59,13 @@ install:
+ install -d $(execdir)
+ install -d $(sharedir)/pixmaps
+ install -d $(sharedir)/applications
++ install -d $(sharedir)/appdata
+ install -d $(sharedir)/playonlinux/bin
+ install -d $(sharedir)/man/man1
+ $(GZIP) -c ./doc/playonlinux-pkg.1 > $(sharedir)/man/man1/playonlinux-pkg.1.gz
+ $(GZIP) -c ./doc/playonlinux.1 > $(sharedir)/man/man1/playonlinux.1.gz
+ cp ./etc/PlayOnLinux.desktop $(sharedir)/applications/PlayOnLinux.desktop
++ cp ./etc/PlayOnLinux.appdata.xml $(sharedir)/appdata/PlayOnLinux.appdata.xml
+ cp ./etc/playonlinux.png $(sharedir)/pixmaps/playonlinux.png
+ cp ./etc/playonlinux16.png $(sharedir)/pixmaps/playonlinux16.png
+ cp ./etc/playonlinux32.png $(sharedir)/pixmaps/playonlinux32.png
+--
+2.5.0
+
diff --git a/0007-Install-lang-files-correctly.patch
b/0007-Install-lang-files-correctly.patch
new file mode 100644
index 0000000..cfc814b
--- /dev/null
+++ b/0007-Install-lang-files-correctly.patch
@@ -0,0 +1,45 @@
+From 7edafce9c4dc19e3c323b73e62681001234ead81 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Ji=C5=99=C3=AD=20Kone=C4=8Dn=C3=BD?=
+ <DragonLichcz(a)gmail.com>
+Date: Fri, 22 Jan 2016 21:03:39 +0100
+Subject: [PATCH] Install lang files correctly
+
+To use installed locales DEBIAN_PACKAGE value must be set to true.
+---
+ Makefile | 6 +++++-
+ 1 file changed, 5 insertions(+), 1 deletion(-)
+
+diff --git a/Makefile b/Makefile
+index a4fca7d..511f344 100644
+--- a/Makefile
++++ b/Makefile
+@@ -53,6 +53,8 @@ build:
+ echo -e '#!/bin/bash\n${sharedir}/playonlinux/playonlinux-pkg "$$@"\nexit
0' > ./bin/playonlinux-pkg
+ chmod +x ./bin/playonlinux
+ chmod +x ./bin/playonlinux-pkg
++ sed -i
's/\(\["DEBIAN_PACKAGE"\]\s*=\s*\)"FALSE"/\1"TRUE"/'
\
++ ./python/lib/Variables.py
+
+ install:
+ install -d $(bindir)
+@@ -61,6 +63,7 @@ install:
+ install -d $(sharedir)/applications
+ install -d $(sharedir)/playonlinux/bin
+ install -d $(sharedir)/man/man1
++ install -d $(sharedir)/locale
+ $(GZIP) -c ./doc/playonlinux-pkg.1 > $(sharedir)/man/man1/playonlinux-pkg.1.gz
+ $(GZIP) -c ./doc/playonlinux.1 > $(sharedir)/man/man1/playonlinux.1.gz
+ cp ./etc/PlayOnLinux.desktop $(sharedir)/applications/PlayOnLinux.desktop
+@@ -70,7 +73,8 @@ install:
+ cp ./bin/{playonlinux,playonlinux-pkg} $(bindir)/
+ cp ./bin/playonlinux-check_dd $(execdir)/
+ cp ./{playonlinux*,README.md,TRANSLATORS,CHANGELOG.md,LICENCE}
$(sharedir)/playonlinux/
+- cp -R ./{bash,etc,lang,lib,plugins,python,resources,tests} $(sharedir)/playonlinux/
++ cp -R ./{bash,etc,lib,plugins,python,resources,tests} $(sharedir)/playonlinux/
++ cp -R ./lang/locale/* $(sharedir)/locale/
+
+ changelog:
+ (GIT_DIR=.git git log > .changelog.tmp && mv .changelog.tmp ChangeLog; rm -f
.changelog.tmp) || (touch ChangeLog; echo 'git directory not found: installing
possibly empty changelog.' >&2)
+--
+2.5.0
+
diff --git a/playonlinux.spec b/playonlinux.spec
new file mode 100644
index 0000000..757cabf
--- /dev/null
+++ b/playonlinux.spec
@@ -0,0 +1,118 @@
+Name: playonlinux
+Version: 4.2.10
+Summary: Graphical front-end for Wine
+License: GPLv3
+URL:
https://www.playonlinux.com
+Release: 5%{?dist}
+Requires: unzip
+Requires: wine
+Requires: wget
+Requires: xterm
+Requires: python2 > 2.4
+Requires: wxPython
+Requires: ImageMagick
+Requires: cabextract
+Requires: icoutils
+Requires: p7zip-plugins
+BuildRequires: gzip
+BuildRequires: mesa-libGL-devel
+BuildRequires: python2 > 2.4
+BuildRequires: desktop-file-utils
+BuildRequires: gettext
+BuildRequires: libappstream-glib
+Source0:
https://github.com/PlayOnLinux/POL-POM-4/archive/%{version}.tar.gz
+
+# Add documentation to playonlinux
+# Add Makefile to build and install playonlinux
+#
https://github.com/PlayOnLinux/POL-POM-4/pull/33
+Patch0: 0001-Add-Makefile-to-build-and-install-playonlinux.patch
+# Change check_gl to use compiled version of check dd
+#
https://github.com/PlayOnLinux/POL-POM-4/pull/33
+Patch1: 0002-Change-check_gl-to-use-compiled-version-of-check_dd.patch
+# Updated desktop file for the new format
+#
https://github.com/PlayOnLinux/POL-POM-4/pull/35
+Patch2: 0003-Updated-desktop-file-for-the-new-format.patch
+# Move build check_dd to /usr/libexec as says FHS
+#
https://github.com/PlayOnLinux/POL-POM-4/pull/33
+Patch3: 0004-Move-build-check_dd-to-usr-libexec-as-says-FHS.patch
+# Add appdata.xml which is used for software center
+#
https://github.com/PlayOnLinux/POL-POM-4/pull/36
+Patch4: 0005-Add-appdata.xml.patch
+# Change Makefile to use appdata.xml
+#
https://github.com/PlayOnLinux/POL-POM-4/pull/36
+Patch5: 0006-Change-Makefile-to-install-appdata.xml-file.patch
+# Install lang files correctly to the system
+#
https://github.com/PlayOnLinux/POL-POM-4/pull/37
+Patch6: 0007-Install-lang-files-correctly.patch
+
+%global BUILD_DIR %{buildroot}/%{_datadir}/%{name}
+
+%description
+New users can often find Wine to be intimidating and difficult to use.
+PlayOnLinux simplifies much of this and makes installing and using
+Windows programs easier.
+PlayOnLinux has the database of Windows applications from which the user
+can install desired application with a few clicks. It will automatically
+setup your Wine prefix and download any required Windows libraries.
+
+%prep
+%autosetup -n POL-POM-4-%{version} -p1
+
+%build
+%make_build
+
+%install
+%make_install
+%find_lang pol
+
+sed -i '1{/^#!\//d}' %{BUILD_DIR}/python/gui_server.py \
+ %{BUILD_DIR}/tests/python/test_versionlower.py \
+ %{BUILD_DIR}/tests/bash/test-versionlower
+
+%check
+desktop-file-validate %{buildroot}/%{_datadir}/applications/PlayOnLinux.desktop
+appstream-util validate-relax --nonet
%{buildroot}/%{_datadir}/appdata/PlayOnLinux.appdata.xml
+
+%files -f pol.lang
+%doc README.md
+%license LICENCE doc/copyright
+%{_bindir}/*
+%{_mandir}/man1/*
+%{_datadir}/%{name}/
+%{_datadir}/pixmaps/*
+%{_datadir}/applications/*
+%{_datadir}/appdata/*
+%{_libexecdir}/playonlinux-check_dd
+
+%changelog
+* Fri Jan 22 2016 Jiri Konecny <jkonecny(a)redhat.com> 4.2.10-5
+- Add patch which will fix installation of locales to the system
+
+* Wed Jan 20 2016 Jiri Konecny <jkonecny(a)redhat.com> 4.2.10-4
+- Change sed command to simpler and safer version
+- Change appdata patches
+- Fix installation of appdata
+- Better description
+
+* Wed Jan 13 2016 Jiri Konecny <jkonecny(a)redhat.com> 4.2.10-3
+- Removed shebang and executable bit from scripts in /usr/share
+- Change of summary and description
+- Add 2 new patches which adding appdata.xml file
+- Add new build requires for appstream-util check
+
+* Thu Jan 7 2016 Jiri Konecny <jkonecny(a)redhat.com> 4.2.10-2
+- Reworked patches for Makefile (Patch0, Patch1, Patch3 changed)
+- Using make_install and make_build macros
+
+* Mon Jan 4 2016 Jiri Konecny <jkonecny(a)redhat.com> 4.2.10-1
+- New version 4.2.10
+- Use more macros
+- Add missing dependencies
+
+* Thu Dec 10 2015 Jiri Konecny <jkonecny(a)redhat.com> 4.2.9-2
+- Fixed missing lang files
+- Remove exclude
+
+* Wed Nov 11 2015 Jiri Konecny <jkonecny(a)redhat.com> 4.2.9-1
+- Package creation
+
diff --git a/sources b/sources
index e69de29..3e59fdf 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+8cb2c71e7fe6c670c242811c7da94af3 4.2.10.tar.gz