]> git.pld-linux.org Git - packages/dbui.git/blob - dbui.spec
- use new %%doc
[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 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)
14
15 %define         _prefix /usr/X11R6
16 %define         _mandir %{_prefix}/man
17
18 %description
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.
22
23 %description -l pl
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
27 mysql/postgresql.
28
29 %package mysql
30 Summary:        dbui linked with mysql
31 Summary(pl):    dbui zlinkowany z mysql
32 Requires:       %{name} = %{version}
33 Group:          Applications/Databases/Interfaces
34
35 %description mysql
36 dbui linked with mysql.
37
38 %description mysql -l pl
39 dbui zlinkowany z mysql.
40
41 %package postgresql
42 Summary:        dbui linked with postgresql
43 Summary(pl):    dbui zlinkowany z postgresql
44 Requires:       %{name} = %{version}
45 Group:          Applications/Databases/Interfaces
46
47 %description postgresql
48 dbui linked with postgresql.
49
50 %description postgresql -l pl
51 dbui zlinkowany z postgresql.
52
53 %prep
54 %setup  -q
55
56 %build
57 %{__make} -f Makefile.mysql
58 mv -f dbui dbui.mysql
59
60 #due to incompatibility with latest postgres libraries it doesn't compile
61 #correctly
62 # %{__make} -f Makefile.postgres
63 # mv -f dbui dbui.postgresql
64
65 %install
66 rm -rf $RPM_BUILD_ROOT
67 install -d $RPM_BUILD_ROOT/%{_bindir}
68
69 install dbui.mysql $RPM_BUILD_ROOT%{_bindir}
70 # install dbui.postgresql $RPM_BUILD_ROOT%{_bindir}
71
72 %clean
73 rm -rf $RPM_BUILD_ROOT
74
75 %files
76 %defattr(644,root,root,755)
77 %doc README
78
79 %files mysql
80 %attr(755,root,root) %{_bindir}/dbui.mysql
81
82 # %files postgresql
83 # %attr(755,root,root) %{_bindir}/dbui.postgresql
This page took 0.057864 seconds and 3 git commands to generate.