]> git.pld-linux.org Git - packages/dbui.git/blobdiff - dbui.spec
- rel ++
[packages/dbui.git] / dbui.spec
index 171682556f6ef0f3e4b946d40a1570e07eda981f..190d727f88f198ffbd4f0fb91e1effeefe463e8b 100644 (file)
--- a/dbui.spec
+++ b/dbui.spec
@@ -1,71 +1,83 @@
-Summary:       It's a gtk interface to mysql/postgresql databases
+Summary:       It's a GTK+ interface to MySQL/PostgreSQL databases
+Summary(pl):   Interfejs GTK+ do baz danych MySQL/PostgreSQL
 Name:          dbui
 Version:       0.4.0
-Release:       1
+Release:       2
 License:       GPL
 Group:         Applications/Databases/Interfaces
 Source0:       http://spyder.virtualbeer.net/dbui/%{name}-%{version}.tar.gz
+# Source0-md5: 962828bfc9bdb64697111624090bcfef
 URL:           http://spyder.virtualbeer.net/dbui/
 BuildRequires: gtk+-devel
 BuildRequires: mysql-devel
 # BuildRequires:       postgresql-devel
-Requires:      gtk+
-Requires:      mysql-libs
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define         _prefix /usr/X11R6
-%define         _mandir %{_prefix}/man
-
 %description
-Its a gtk interface to mysql databases. You might say a database editor. Its
-still in its very early stages but you can fully search,update, add, and delete
-any mysql databas. 
+It's a GTK+ interface to MySQL/PostgreSQL databases. You might say a
+database editor. It's still in its very early stages but you can fully
+search, update, add, and delete any MySQL/PostgreSQL database.
+
+%description -l pl
+To jest interfejs GTK+ do baz danych MySQL/PostgreSQL. Mo¿na go nazwaæ
+edytorem baz danych. Nadal jest we wstêpnym stadium rozwoju, ale mo¿na
+ju¿ przeszukiwaæ, uaktualniaæ, dodawaæ i usuwaæ z baz
+MySQL/PostgreSQL.
 
 %package mysql
-Summary:       dbui linked with mysql 
-Requires: dbui = %{version}
+Summary:       dbui linked with MySQL
+Summary(pl):   dbui skonsolidowane z MySQL
+Requires:      %{name} = %{version}
 Group:         Applications/Databases/Interfaces
 
 %description mysql
-dbui linked with mysql 
+dbui linked with MySQL.
+
+%description mysql -l pl
+dbui skonsolidowane z MySQL.
 
 %package postgresql
-Summary:       dbui linked with postgresql 
-Requires: dbui = %{version}
+Summary:       dbui linked with PostgreSQL
+Summary(pl):   dbui skonsolidowane z PostgreSQL
+Requires:      %{name} = %{version}
 Group:         Applications/Databases/Interfaces
 
 %description postgresql
-dbui linked with postgresql.
-due to incompatibility with latest postgres libraries it doesn't compile
-correctly
+dbui linked with PostgreSQL.
+
+%description postgresql -l pl
+dbui skonsolidowane z PostgreSQL.
 
 %prep
 %setup  -q
 
 %build
 %{__make} -f Makefile.mysql
-mv dbui dbui.mysql
+mv -f dbui dbui.mysql
+
+#due to incompatibility with latest postgres libraries it doesn't compile
+#correctly
 # %{__make} -f Makefile.postgres
-# mv dbui dbui.postgresql
+# mv -f dbui dbui.postgresql
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/%{_bindir}
-
-cp dbui.mysql $RPM_BUILD_ROOT/%{_bindir}
-# cp dbui.postgresql $RPM_BUILD_ROOT/bin
+install -d $RPM_BUILD_ROOT%{_bindir}
 
-gzip -9nf README
+install dbui.mysql $RPM_BUILD_ROOT%{_bindir}
+# install dbui.postgresql $RPM_BUILD_ROOT%{_bindir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc *.gz
+%doc README
 
 %files mysql
+%defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/dbui.mysql
 
-%files postgresql
+# %files postgresql
+# %defattr(644,root,root,755)
 # %attr(755,root,root) %{_bindir}/dbui.postgresql
This page took 0.076482 seconds and 4 git commands to generate.