]> git.pld-linux.org Git - packages/pgadmin3.git/blob - pgadmin3.spec
- unified
[packages/pgadmin3.git] / pgadmin3.spec
1 Summary:        Powerful administration and development platform for the PostgreSQL
2 Summary(pl):    Potê¿na platforma do administrowania i programowania bazy PostgreSQL
3 Name:           pgadmin3
4 Version:        1.2.2
5 Release:        1
6 Epoch:          0
7 License:        Artistic
8 Group:          Applications/Databases
9 Source0:        ftp://ftp6.pl.postgresql.org/pub/postgresql/pgadmin3/release/v%{version}/src/%{name}-%{version}.tar.gz
10 # Source0-md5:  daead4660883f423db31f2019cac2f34
11 Source1:        %{name}.desktop
12 URL:            http://www.pgadmin.org/
13 BuildRequires:  automake
14 BuildRequires:  postgresql-devel
15 BuildRequires:  wxGTK2-unicode-gl-devel >= 2.6.0
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 pgAdmin III is designed to answer the needs of all users, from writing
20 simple SQL queries to developing complex databases. The graphical
21 interface supports all PostgreSQL features and makes administration
22 easy. The application also includes a query builder, an SQL editor, a
23 server-side code editor and much more. pgAdmin III is released with an
24 installer and does not require any additional driver to communicate
25 with the database server.
26
27 %description -l pl
28 pgAdmin III zosta³ zaprojektowany jako odpowied¼ na potrzeby
29 wszystkich u¿ytkowników, od pisania prostych zapytañ SQL do tworzenia
30 skomplikowanych baz danych. Graficzny interfejs obs³uguje wszystkie
31 mo¿liwo¶ci PostgreSQL-a i u³atwia administrowanie. Aplikacja zawiera
32 tak¿e narzêdzie do budowania zapytañ, edytor SQL, edytor kodu po
33 stronie serwera i wiele wiêcej. pgAdmin III zosta³ wydany z
34 instalatorem i nie wymaga ¿adnego dodatkowego sterownika do
35 komunikowania z serwerem baz danych.
36
37 %prep
38 %setup -q
39
40 %build
41 cp /usr/share/automake/config.sub config
42 %configure \
43         --with-wx-config=wx-gtk2-unicode-config
44 %{__make}
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48 install -d \
49         $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
50
51 %{__make} install \
52         DESTDIR=$RPM_BUILD_ROOT
53 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
54 cp -f ./src/include/images/pgAdmin3.xpm $RPM_BUILD_ROOT%{_pixmapsdir}/pgadmin3.xpm
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %files
60 %defattr(644,root,root,755)
61 %doc LICENCE.txt README.txt
62 %attr(755,root,root) %{_bindir}/*
63 %{_datadir}/%{name}
64 %{_desktopdir}/pgadmin3.desktop
65 %{_pixmapsdir}/pgadmin3.xpm
This page took 0.046128 seconds and 4 git commands to generate.