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