1 Summary: It's a gtk interface to mysql/postgresql databases
2 Summary(pl): Interfejs gtk do baz danych mysql/postgresql
7 Group: Applications/Databases/Interfaces
8 Source0: http://spyder.virtualbeer.net/dbui/%{name}-%{version}.tar.gz
9 URL: http://spyder.virtualbeer.net/dbui/
10 BuildRequires: gtk+-devel
11 BuildRequires: mysql-devel
12 # BuildRequires: postgresql-devel
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15 %define _prefix /usr/X11R6
16 %define _mandir %{_prefix}/man
19 It's a gtk interface to mysql/postgresql databases. You might say a
20 database editor. It's still in its very early stages but you can fully
21 search, update, add, and delete any mysql/postgresql database.
24 To jest interfejs gtk do baz danych mysql/postgresql. Mo¿na go nazwaæ
25 edytorem baz danych. Nadal jest we wstêpnym stadium rozwoju, ale mo¿na
26 ju¿ przeszukiwaæ, uaktualniaæ, dodawaæ i usuwaæ z baz
30 Summary: dbui linked with mysql
31 Summary(pl): dbui zlinkowany z mysql
32 Requires: %{name} = %{version}
33 Group: Applications/Databases/Interfaces
36 dbui linked with mysql.
38 %description mysql -l pl
39 dbui zlinkowany z mysql.
42 Summary: dbui linked with postgresql
43 Summary(pl): dbui zlinkowany z postgresql
44 Requires: %{name} = %{version}
45 Group: Applications/Databases/Interfaces
47 %description postgresql
48 dbui linked with postgresql.
50 %description postgresql -l pl
51 dbui zlinkowany z postgresql.
57 %{__make} -f Makefile.mysql
60 #due to incompatibility with latest postgres libraries it doesn't compile
62 # %{__make} -f Makefile.postgres
63 # mv -f dbui dbui.postgresql
66 rm -rf $RPM_BUILD_ROOT
67 install -d $RPM_BUILD_ROOT/%{_bindir}
69 install dbui.mysql $RPM_BUILD_ROOT%{_bindir}
70 # install dbui.postgresql $RPM_BUILD_ROOT%{_bindir}
73 rm -rf $RPM_BUILD_ROOT
76 %defattr(644,root,root,755)
80 %attr(755,root,root) %{_bindir}/dbui.mysql
83 # %attr(755,root,root) %{_bindir}/dbui.postgresql