]>
Commit | Line | Data |
---|---|---|
4bb668ca | 1 | Summary: It's a GTK+ interface to MySQL/PostgreSQL databases |
01b61b80 | 2 | Summary(pl.UTF-8): Interfejs GTK+ do baz danych MySQL/PostgreSQL |
0a801f95 | 3 | Name: dbui |
4 | Version: 0.4.0 | |
2075b9ae | 5 | Release: 4 |
0a801f95 | 6 | License: GPL |
7 | Group: Applications/Databases/Interfaces | |
8 | Source0: http://spyder.virtualbeer.net/dbui/%{name}-%{version}.tar.gz | |
4aed2aaa | 9 | # Source0-md5: 962828bfc9bdb64697111624090bcfef |
0a801f95 | 10 | URL: http://spyder.virtualbeer.net/dbui/ |
cc1853c9 | 11 | # BuildRequires: postgresql-devel |
0a801f95 | 12 | BuildRequires: gtk+-devel |
13 | BuildRequires: mysql-devel | |
0a801f95 | 14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
15 | ||
0a801f95 | 16 | %description |
4bb668ca | 17 | It's a GTK+ interface to MySQL/PostgreSQL databases. You might say a |
a83985c5 | 18 | database editor. It's still in its very early stages but you can fully |
4bb668ca | 19 | search, update, add, and delete any MySQL/PostgreSQL database. |
a83985c5 | 20 | |
4eb114e0 JR |
21 | %description -l pl.UTF-8 |
22 | To jest interfejs GTK+ do baz danych MySQL/PostgreSQL. Można go nazwać | |
23 | edytorem baz danych. Nadal jest we wstępnym stadium rozwoju, ale można | |
24 | już przeszukiwać, uaktualniać, dodawać i usuwać z baz | |
4bb668ca | 25 | MySQL/PostgreSQL. |
0a801f95 | 26 | |
27 | %package mysql | |
79335ca0 | 28 | Summary: dbui linked with MySQL |
01b61b80 | 29 | Summary(pl.UTF-8): dbui skonsolidowane z MySQL |
0a801f95 | 30 | Group: Applications/Databases/Interfaces |
cc1853c9 | 31 | Requires: %{name} = %{version}-%{release} |
0a801f95 | 32 | |
33 | %description mysql | |
79335ca0 | 34 | dbui linked with MySQL. |
a83985c5 | 35 | |
4eb114e0 | 36 | %description mysql -l pl.UTF-8 |
79335ca0 | 37 | dbui skonsolidowane z MySQL. |
0a801f95 | 38 | |
39 | %package postgresql | |
4bb668ca | 40 | Summary: dbui linked with PostgreSQL |
01b61b80 | 41 | Summary(pl.UTF-8): dbui skonsolidowane z PostgreSQL |
0a801f95 | 42 | Group: Applications/Databases/Interfaces |
cc1853c9 | 43 | Requires: %{name} = %{version}-%{release} |
0a801f95 | 44 | |
45 | %description postgresql | |
4bb668ca | 46 | dbui linked with PostgreSQL. |
a83985c5 | 47 | |
4eb114e0 | 48 | %description postgresql -l pl.UTF-8 |
4bb668ca | 49 | dbui skonsolidowane z PostgreSQL. |
0a801f95 | 50 | |
51 | %prep | |
52 | %setup -q | |
53 | ||
54 | %build | |
55 | %{__make} -f Makefile.mysql | |
a83985c5 JB |
56 | mv -f dbui dbui.mysql |
57 | ||
58 | #due to incompatibility with latest postgres libraries it doesn't compile | |
59 | #correctly | |
0a801f95 | 60 | # %{__make} -f Makefile.postgres |
a83985c5 | 61 | # mv -f dbui dbui.postgresql |
0a801f95 | 62 | |
63 | %install | |
64 | rm -rf $RPM_BUILD_ROOT | |
7b90bad4 | 65 | install -d $RPM_BUILD_ROOT%{_bindir} |
0a801f95 | 66 | |
a83985c5 JB |
67 | install dbui.mysql $RPM_BUILD_ROOT%{_bindir} |
68 | # install dbui.postgresql $RPM_BUILD_ROOT%{_bindir} | |
0a801f95 | 69 | |
0a801f95 | 70 | %clean |
71 | rm -rf $RPM_BUILD_ROOT | |
72 | ||
73 | %files | |
74 | %defattr(644,root,root,755) | |
abeb67fe | 75 | %doc README |
0a801f95 | 76 | |
77 | %files mysql | |
2993012e | 78 | %defattr(644,root,root,755) |
0a801f95 | 79 | %attr(755,root,root) %{_bindir}/dbui.mysql |
80 | ||
a83985c5 | 81 | # %files postgresql |
2993012e | 82 | # %defattr(644,root,root,755) |
0a801f95 | 83 | # %attr(755,root,root) %{_bindir}/dbui.postgresql |