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