3 Summary: Powerful administration and development platform for the PostgreSQL
4 Summary(pl.UTF-8): Potężna platforma do administrowania i programowania bazy PostgreSQL
9 Group: Applications/Databases
10 Source0: http://ftp.postgresql.org/pub/pgadmin/pgadmin4/v%{version}/source/%{name}-%{version}.tar.gz
11 # Source0-md5: 6dfd363dd2cf21efe35330c6e4a87f03
12 Source1: %{name}.desktop
13 URL: http://pgadmin3.org/
14 BuildRequires: python3-devel
15 BuildRequires: postgresql-backend-devel >= 8.3.0
16 BuildRequires: postgresql-devel >= 8.3.0
17 BuildRequires: qt5-qmake
18 BuildRequires: Qt5Core-devel
19 BuildRequires: Qt5Gui-devel
20 BuildRequires: Qt5Network-devel
21 BuildRequires: Qt5Widgets-devel
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 pgAdmin III is designed to answer the needs of all users, from writing
26 simple SQL queries to developing complex databases. The graphical
27 interface supports all PostgreSQL features and makes administration
28 easy. The application also includes a query builder, an SQL editor, a
29 server-side code editor and much more. pgAdmin III is released with an
30 installer and does not require any additional driver to communicate
31 with the database server.
33 %description -l pl.UTF-8
34 pgAdmin III został zaprojektowany jako odpowiedź na potrzeby
35 wszystkich użytkowników, od pisania prostych zapytań SQL do tworzenia
36 skomplikowanych baz danych. Graficzny interfejs obsługuje wszystkie
37 możliwości PostgreSQL-a i ułatwia administrowanie. Aplikacja zawiera
38 także narzędzie do budowania zapytań, edytor SQL, edytor kodu po
39 stronie serwera i wiele więcej. pgAdmin III został wydany z
40 instalatorem i nie wymaga żadnego dodatkowego sterownika do
41 komunikowania z serwerem baz danych.
49 PYTHON_CONFIG=%{_bindir}/python3-config \
54 rm -rf $RPM_BUILD_ROOT
57 $RPM_BUILD_ROOT{%{_bindir},%{_desktopdir},%{_pixmapsdir}}
59 %{__make} -C runtime install \
60 DESTDIR=$RPM_BUILD_ROOT
62 install runtime/pgAdmin4 $RPM_BUILD_ROOT%{_bindir}/pgadmin4
64 cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
65 cp -p runtime/pgAdmin4.png $RPM_BUILD_ROOT%{_pixmapsdir}/pgadmin4.png
68 rm -rf $RPM_BUILD_ROOT
71 %defattr(644,root,root,755)
72 %doc LICENSE README docs/en_US
73 %attr(755,root,root) %{_bindir}/pgadmin4
74 %{_desktopdir}/pgadmin4.desktop
75 %{_pixmapsdir}/pgadmin4.png