]> git.pld-linux.org Git - packages/dbui.git/blame - dbui.spec
- initial spec from scratch
[packages/dbui.git] / dbui.spec
CommitLineData
0a801f95 1Summary: It's a gtk interface to mysql/postgresql databases
2Name: dbui
3Version: 0.4.0
4Release: 1
5License: GPL
6Group: Applications/Databases/Interfaces
7Source0: http://spyder.virtualbeer.net/dbui/%{name}-%{version}.tar.gz
8URL: http://spyder.virtualbeer.net/dbui/
9BuildRequires: gtk+-devel
10BuildRequires: mysql-devel
11# BuildRequires: postgresql-devel
12Requires: gtk+
13Requires: mysql-libs
14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16%define _prefix /usr/X11R6
17%define _mandir %{_prefix}/man
18
19%description
20Its a gtk interface to mysql databases. You might say a database editor. Its
21still in its very early stages but you can fully search,update, add, and delete
22any mysql databas.
23
24%package mysql
25Summary: dbui linked with mysql
26Requires: dbui = %{version}
27Group: Applications/Databases/Interfaces
28
29%description mysql
30dbui linked with mysql
31
32%package postgresql
33Summary: dbui linked with postgresql
34Requires: dbui = %{version}
35Group: Applications/Databases/Interfaces
36
37%description postgresql
38dbui linked with postgresql.
39due to incompatibility with latest postgres libraries it doesn't compile
40correctly
41
42%prep
43%setup -q
44
45%build
46%{__make} -f Makefile.mysql
47mv dbui dbui.mysql
48# %{__make} -f Makefile.postgres
49# mv dbui dbui.postgresql
50
51%install
52rm -rf $RPM_BUILD_ROOT
53install -d $RPM_BUILD_ROOT/%{_bindir}
54
55cp dbui.mysql $RPM_BUILD_ROOT/%{_bindir}
56# cp dbui.postgresql $RPM_BUILD_ROOT/bin
57
58gzip -9nf README
59
60%clean
61rm -rf $RPM_BUILD_ROOT
62
63%files
64%defattr(644,root,root,755)
65%doc *.gz
66
67%files mysql
68%attr(755,root,root) %{_bindir}/dbui.mysql
69
70%files postgresql
71# %attr(755,root,root) %{_bindir}/dbui.postgresql
This page took 0.175628 seconds and 4 git commands to generate.