diff --git a/desktop/toolkit/wxGTK2.8/pspec.xml b/desktop/toolkit/wxGTK2.8/pspec.xml
index 69209db325..4dae959ce3 100644
--- a/desktop/toolkit/wxGTK2.8/pspec.xml
+++ b/desktop/toolkit/wxGTK2.8/pspec.xml
@@ -72,7 +72,7 @@
wxGTK-devel is the development files for wxGTK
wxBase-devel
- wxGTK
+ wxGTK2.8
/usr/lib/wx/include
@@ -102,7 +102,7 @@
wxBase-devel
wxBase-devel is the development files for wxBase
- wxGTK
+ wxGTK2.8
wxBase
zlib-devel
expat-devel
diff --git a/util/admin/pgadmin3/actions.py b/util/admin/pgadmin3/actions.py
new file mode 100644
index 0000000000..5370b774f9
--- /dev/null
+++ b/util/admin/pgadmin3/actions.py
@@ -0,0 +1,32 @@
+#!/usr/bin/python
+# -*- coding: utf-8 -*-
+#
+# Licensed under the GNU General Public License, version 3.
+# See the file http://www.gnu.org/copyleft/gpl.txt.
+
+from pisi.actionsapi import autotools
+from pisi.actionsapi import shelltools
+from pisi.actionsapi import pisitools
+from pisi.actionsapi import get
+
+def setup():
+ shelltools.system("sed -i -e 's/wx-config/wx-config-2.8/' configure")
+ shelltools.system("sed -i 's/wxrc/wxrc-2.8/g' stringextract pgadmin/ui/embed-xrc")
+
+ shelltools.export("WX_CONFIG", "/usr/bin/wx-config-2.8 ")
+ shelltools.export("WXDIR", "/usr ")
+
+ autotools.configure("--disable-static \
+ --disable-debug \
+ --with-wx=/usr \
+ --disable-dependency-tracking \
+ --with-wx-config=/usr/bin/wx-config-2.8 \
+ --with-wx-version=2.8")
+
+def build():
+ autotools.make()
+
+def install():
+ autotools.rawInstall("DESTDIR=%s" % get.installDIR())
+
+ pisitools.insinto("/usr/share/pixmaps", "pkg/debian/pgadmin3.xpm")
diff --git a/util/admin/pgadmin3/files/0001-Move-misplaced-unlock-of-s_currentObjectMutex.patch b/util/admin/pgadmin3/files/0001-Move-misplaced-unlock-of-s_currentObjectMutex.patch
new file mode 100644
index 0000000000..87445adf4e
--- /dev/null
+++ b/util/admin/pgadmin3/files/0001-Move-misplaced-unlock-of-s_currentObjectMutex.patch
@@ -0,0 +1,31 @@
+From d17a268572648b8e45ba6dc5854549a1dbf81c0a Mon Sep 17 00:00:00 2001
+From: Wander Nauta
+Date: Sun, 19 Apr 2015 16:37:41 +0200
+Subject: [PATCH] Move misplaced unlock of s_currentObjectMutex
+
+The current implementation would unlock the mutex, even if it didn't own
+it.
+---
+ pgadmin/frm/events.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/pgadmin/frm/events.cpp b/pgadmin/frm/events.cpp
+index 4baaf42..f2ad570 100644
+--- a/pgadmin/frm/events.cpp
++++ b/pgadmin/frm/events.cpp
+@@ -750,11 +750,11 @@ void frmMain::OnSelRightClick(wxTreeEvent &event)
+ //
+ s_currentObjectMutex.Lock();
+ currentObject = browser->GetObject(item);
++ s_currentObjectMutex.Unlock();
+ }
+
+ if (currentObject)
+ doPopup(browser, event.GetPoint(), currentObject);
+- s_currentObjectMutex.Unlock();
+ }
+
+
+--
+2.3.5
+
diff --git a/util/admin/pgadmin3/files/pgadmin3.desktop b/util/admin/pgadmin3/files/pgadmin3.desktop
new file mode 100644
index 0000000000..92b54602fe
--- /dev/null
+++ b/util/admin/pgadmin3/files/pgadmin3.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=pgadmin3
+Comment=Graphical client for PostgreSQL
+Comment[tr]=PostgreSQL için grafiksel istemci
+GenericName=PostgreSQL Tools
+GenericName[tr]=PostgreSQL Yönetim Aracı
+Exec=pgadmin3
+Icon=pgadmin3
+Type=Application
+Categories=Application;Development;
diff --git a/util/admin/pgadmin3/pspec.xml b/util/admin/pgadmin3/pspec.xml
new file mode 100644
index 0000000000..a7f95480be
--- /dev/null
+++ b/util/admin/pgadmin3/pspec.xml
@@ -0,0 +1,102 @@
+
+
+
+
+ pgadmin3
+ http://www.pgadmin.org
+
+ PisiLinux Community
+ admins@pisilinux.org
+
+ BSD
+ app:gui
+ Graphical client for PostgreSQL
+ pgadmin3 is a powerful administration and development platform for the PostgreSQL database, free for any use.
+ https://ftp.postgresql.org/pub/pgadmin3/release/v1.22.0/src/pgadmin3-1.22.0.tar.gz
+
+ postgresql-lib
+ libxslt-devel
+ openssl-devel
+ wxGTK2.8-devel
+
+
+
+
+
+
+ pgadmin3
+
+ postgresql-lib
+ libxslt
+ libgcc
+ zlib
+ libxml2
+ openssl
+ wxGTK2.8
+ wxBase
+
+
+ /usr/bin
+ /usr/share/pgadmin3
+ /usr/share/applications
+ /usr/share/pixmaps
+
+
+ pgadmin3.desktop
+
+
+
+
+
+ 2016-02-26
+ 1.22
+ Version bump.
+ Ertuğrul Erata
+ ertugrulerata@gmail.com
+
+
+ 2015-01-26
+ 1.20.0
+ Version bump.
+ Stefan Gronewold(groni)
+ groni@pisilinux.org
+
+
+ 2014-06-18
+ 1.18.1
+ Version bump.
+ Alihan Öztürk
+ alihan@pisilinux.org
+
+
+ 2014-03-10
+ 1.16.1
+ Rebuild
+ Alihan Öztürk
+ alihan@pisilinux.org
+
+
+ 2013-07-30
+ 1.16.1
+ Rebuild
+ Osman Erkan
+ osman.erkan@pisilinux.org
+
+
+ 2013-02-23
+ 1.16.1
+ Version bump
+ Ertan Güven
+ ertan@pisilinux.org
+
+
+ 2011-01-07
+ 1.12.2
+ First release
+ Pisi Linux Admins
+ admins@pisilinux.org
+
+
+
diff --git a/util/admin/pgadmin3/translations.xml b/util/admin/pgadmin3/translations.xml
new file mode 100644
index 0000000000..3a736b9516
--- /dev/null
+++ b/util/admin/pgadmin3/translations.xml
@@ -0,0 +1,8 @@
+
+
+
+ pgadmin3
+ PostgreSQL grafik arabirimi
+ wxGTK temelli PostgreSQL grafik arabirimi
+
+