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