]> git.pld-linux.org Git - packages/pgadmin3.git/blob - pgadmin3.spec
- added -am_no_debug.patch (removes `-g' from AM_*FLAGS)
[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 Patch0:         %{name}-am_no_debug.patch
13 URL:            http://www.pgadmin.org/
14 BuildRequires:  automake
15 BuildRequires:  postgresql-devel
16 BuildRequires:  wxGTK2-unicode-gl-devel >= 2.6.0
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 pgAdmin III is designed to answer the needs of all users, from writing
21 simple SQL queries to developing complex databases. The graphical
22 interface supports all PostgreSQL features and makes administration
23 easy. The application also includes a query builder, an SQL editor, a
24 server-side code editor and much more. pgAdmin III is released with an
25 installer and does not require any additional driver to communicate
26 with the database server.
27
28 %description -l pl
29 pgAdmin III zosta³ zaprojektowany jako odpowied¼ na potrzeby
30 wszystkich u¿ytkowników, od pisania prostych zapytañ SQL do tworzenia
31 skomplikowanych baz danych. Graficzny interfejs obs³uguje wszystkie
32 mo¿liwo¶ci PostgreSQL-a i u³atwia administrowanie. Aplikacja zawiera
33 tak¿e narzêdzie do budowania zapytañ, edytor SQL, edytor kodu po
34 stronie serwera i wiele wiêcej. pgAdmin III zosta³ wydany z
35 instalatorem i nie wymaga ¿adnego dodatkowego sterownika do
36 komunikowania z serwerem baz danych.
37
38 %prep
39 %setup -q
40 %patch0 -p1
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.043324 seconds and 4 git commands to generate.