]>
Commit | Line | Data |
---|---|---|
7443083a | 1 | Summary: Powerful administration and development platform for the PostgreSQL |
e2d2e9e5 | 2 | Summary(pl.UTF-8): Potężna platforma do administrowania i programowania bazy PostgreSQL |
7443083a | 3 | Name: pgadmin3 |
89185f80 | 4 | Version: 1.22.2 |
01abceff | 5 | Release: 1 |
4f03138d | 6 | Epoch: 0 |
f63f3f7b | 7 | License: Artistic |
7443083a | 8 | Group: Applications/Databases |
4946b671 | 9 | Source0: http://ftp.postgresql.org/pub/pgadmin3/release/v%{version}/src/%{name}-%{version}.tar.gz |
89185f80 | 10 | # Source0-md5: cc5ad37470e36b3353ab925a8e82eb35 |
c0767fbe | 11 | Source1: %{name}.desktop |
e07f8437 | 12 | Patch0: %{name}-m4.patch |
7443083a | 13 | URL: http://www.pgadmin.org/ |
e07f8437 | 14 | BuildRequires: autoconf |
c0767fbe | 15 | BuildRequires: automake |
94874554 | 16 | BuildRequires: libxml2-devel >= 2.6.18 |
dc989ee9 | 17 | BuildRequires: libxslt-devel >= 1.1 |
379ab5d2 | 18 | BuildRequires: openssl-devel |
43dd912f | 19 | BuildRequires: postgresql-backend-devel >= 8.3.0 |
5f81bd95 | 20 | BuildRequires: postgresql-devel >= 8.3.0 |
e07f8437 | 21 | BuildRequires: wxGTK2-unicode-gl-devel >= 2.8.0 |
a61c8310 | 22 | BuildRequires: wxWidgets-utils >= 2.8.0 |
7443083a | 23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
24 | ||
7f3795cc AM |
25 | %define _pgmoduledir %{_libdir}/postgresql |
26 | ||
7443083a | 27 | %description |
9b0244b4 JB |
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. | |
35 | ||
6cbbcbfb JR |
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 | |
9b0244b4 | 44 | komunikowania z serwerem baz danych. |
7443083a | 45 | |
46 | %prep | |
ceb22224 | 47 | %setup -q |
e07f8437 | 48 | %patch0 -p1 |
7443083a | 49 | |
50 | %build | |
e07f8437 AM |
51 | rm -f config/* |
52 | %{__aclocal} | |
53 | %{__autoconf} | |
150f5119 | 54 | cp -f config.rpath.in config/config.rpath |
e07f8437 | 55 | %{__automake} |
7235f6aa | 56 | %configure \ |
e07f8437 | 57 | --with-wx-config="%{_bindir}/wx-gtk2-unicode-config" \ |
a8867d6e | 58 | --with-wx-version="3.0" |
7443083a | 59 | %{__make} |
60 | ||
61 | %install | |
62 | rm -rf $RPM_BUILD_ROOT | |
c0767fbe | 63 | install -d \ |
7f3795cc | 64 | $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir},%{_pgmoduledir}} |
7443083a | 65 | |
66 | %{__make} install \ | |
67 | DESTDIR=$RPM_BUILD_ROOT | |
932705e6 MK |
68 | cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} |
69 | cp -p pkg/debian/pgadmin3.xpm $RPM_BUILD_ROOT%{_pixmapsdir}/pgadmin3.xpm | |
7f3795cc | 70 | |
7443083a | 71 | %clean |
72 | rm -rf $RPM_BUILD_ROOT | |
73 | ||
7443083a | 74 | %files |
75 | %defattr(644,root,root,755) | |
e07f8437 | 76 | %doc LICENSE README |
7443083a | 77 | %attr(755,root,root) %{_bindir}/* |
78 | %{_datadir}/%{name} | |
c0767fbe AZ |
79 | %{_desktopdir}/pgadmin3.desktop |
80 | %{_pixmapsdir}/pgadmin3.xpm |