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