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