]>
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 |
c893680a | 5 | Release: 1.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 |
c893680a AZ |
13 | Patch1: %{name}-LTS.patch |
14 | URL: http://pgadmin3.org/ | |
e07f8437 | 15 | BuildRequires: autoconf |
c0767fbe | 16 | BuildRequires: automake |
94874554 | 17 | BuildRequires: libxml2-devel >= 2.6.18 |
dc989ee9 | 18 | BuildRequires: libxslt-devel >= 1.1 |
379ab5d2 | 19 | BuildRequires: openssl-devel |
43dd912f | 20 | BuildRequires: postgresql-backend-devel >= 8.3.0 |
5f81bd95 | 21 | BuildRequires: postgresql-devel >= 8.3.0 |
e07f8437 | 22 | BuildRequires: wxGTK2-unicode-gl-devel >= 2.8.0 |
a61c8310 | 23 | BuildRequires: wxWidgets-utils >= 2.8.0 |
7443083a | 24 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
25 | ||
7f3795cc AM |
26 | %define _pgmoduledir %{_libdir}/postgresql |
27 | ||
7443083a | 28 | %description |
9b0244b4 JB |
29 | pgAdmin III is designed to answer the needs of all users, from writing |
30 | simple SQL queries to developing complex databases. The graphical | |
31 | interface supports all PostgreSQL features and makes administration | |
32 | easy. The application also includes a query builder, an SQL editor, a | |
33 | server-side code editor and much more. pgAdmin III is released with an | |
34 | installer and does not require any additional driver to communicate | |
35 | with the database server. | |
36 | ||
6cbbcbfb JR |
37 | %description -l pl.UTF-8 |
38 | pgAdmin III został zaprojektowany jako odpowiedź na potrzeby | |
39 | wszystkich użytkowników, od pisania prostych zapytań SQL do tworzenia | |
40 | skomplikowanych baz danych. Graficzny interfejs obsługuje wszystkie | |
41 | możliwości PostgreSQL-a i ułatwia administrowanie. Aplikacja zawiera | |
42 | także narzędzie do budowania zapytań, edytor SQL, edytor kodu po | |
43 | stronie serwera i wiele więcej. pgAdmin III został wydany z | |
44 | instalatorem i nie wymaga żadnego dodatkowego sterownika do | |
9b0244b4 | 45 | komunikowania z serwerem baz danych. |
7443083a | 46 | |
47 | %prep | |
ceb22224 | 48 | %setup -q |
e07f8437 | 49 | %patch0 -p1 |
c893680a | 50 | %patch1 -p1 |
7443083a | 51 | |
52 | %build | |
e07f8437 | 53 | rm -f config/* |
c893680a | 54 | ./bootstrap |
e07f8437 AM |
55 | %{__aclocal} |
56 | %{__autoconf} | |
150f5119 | 57 | cp -f config.rpath.in config/config.rpath |
e07f8437 | 58 | %{__automake} |
7235f6aa | 59 | %configure \ |
e07f8437 | 60 | --with-wx-config="%{_bindir}/wx-gtk2-unicode-config" \ |
a8867d6e | 61 | --with-wx-version="3.0" |
7443083a | 62 | %{__make} |
63 | ||
64 | %install | |
65 | rm -rf $RPM_BUILD_ROOT | |
c0767fbe | 66 | install -d \ |
7f3795cc | 67 | $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir},%{_pgmoduledir}} |
7443083a | 68 | |
69 | %{__make} install \ | |
70 | DESTDIR=$RPM_BUILD_ROOT | |
932705e6 MK |
71 | cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} |
72 | cp -p pkg/debian/pgadmin3.xpm $RPM_BUILD_ROOT%{_pixmapsdir}/pgadmin3.xpm | |
7f3795cc | 73 | |
7443083a | 74 | %clean |
75 | rm -rf $RPM_BUILD_ROOT | |
76 | ||
7443083a | 77 | %files |
78 | %defattr(644,root,root,755) | |
e07f8437 | 79 | %doc LICENSE README |
7443083a | 80 | %attr(755,root,root) %{_bindir}/* |
81 | %{_datadir}/%{name} | |
c0767fbe AZ |
82 | %{_desktopdir}/pgadmin3.desktop |
83 | %{_pixmapsdir}/pgadmin3.xpm |