1 Summary: Powerful administration and development platform for the PostgreSQL
2 Summary(pl.UTF-8): Potężna platforma do administrowania i programowania bazy PostgreSQL
8 Group: Applications/Databases
9 Source0: http://ftp.postgresql.org/pub/pgadmin3/release/v%{version}/src/%{name}-%{version}.tar.gz
10 # Source0-md5: fe56418e9efcd291f5c1f81708d005fe
11 Source1: %{name}.desktop
12 Patch0: %{name}-m4.patch
13 URL: http://www.pgadmin.org/
14 BuildRequires: autoconf
15 BuildRequires: automake
16 BuildRequires: libxml2-devel >= 2.6.18
17 BuildRequires: libxslt-devel >= 1.1
18 BuildRequires: openssl-devel
19 BuildRequires: postgresql-backend-devel >= 8.3.0
20 BuildRequires: postgresql-devel >= 8.3.0
21 BuildRequires: wxGTK2-unicode-gl-devel >= 2.8.0
22 BuildRequires: wxWidgets-utils >= 2.8.0
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 %define _pgmoduledir %{_libdir}/postgresql
28 pgAdmin III is designed to answer the needs of all users, from writing
29 simple SQL queries to developing complex databases. The graphical
30 interface supports all PostgreSQL features and makes administration
31 easy. The application also includes a query builder, an SQL editor, a
32 server-side code editor and much more. pgAdmin III is released with an
33 installer and does not require any additional driver to communicate
34 with the database server.
36 %description -l pl.UTF-8
37 pgAdmin III został zaprojektowany jako odpowiedź na potrzeby
38 wszystkich użytkowników, od pisania prostych zapytań SQL do tworzenia
39 skomplikowanych baz danych. Graficzny interfejs obsługuje wszystkie
40 możliwości PostgreSQL-a i ułatwia administrowanie. Aplikacja zawiera
41 także narzędzie do budowania zapytań, edytor SQL, edytor kodu po
42 stronie serwera i wiele więcej. pgAdmin III został wydany z
43 instalatorem i nie wymaga żadnego dodatkowego sterownika do
44 komunikowania z serwerem baz danych.
54 cp -f config.rpath.in config/config.rpath
57 --with-wx-config="%{_bindir}/wx-gtk2-unicode-config" \
58 --with-wx-version="3.0"
62 rm -rf $RPM_BUILD_ROOT
64 $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir},%{_pgmoduledir}}
67 DESTDIR=$RPM_BUILD_ROOT
68 cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
69 cp -p pkg/debian/pgadmin3.xpm $RPM_BUILD_ROOT%{_pixmapsdir}/pgadmin3.xpm
72 rm -rf $RPM_BUILD_ROOT
75 %defattr(644,root,root,755)
77 %attr(755,root,root) %{_bindir}/*
79 %{_desktopdir}/pgadmin3.desktop
80 %{_pixmapsdir}/pgadmin3.xpm