]> git.pld-linux.org Git - packages/dbui.git/commitdiff
- initial spec from scratch
authorbonkey <bonkey@bonkey.pl.eu.org>
Sun, 24 Feb 2002 18:16:47 +0000 (18:16 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- STBR

Changed files:
    dbui.spec -> 1.1

dbui.spec [new file with mode: 0644]

diff --git a/dbui.spec b/dbui.spec
new file mode 100644 (file)
index 0000000..1716825
--- /dev/null
+++ b/dbui.spec
@@ -0,0 +1,71 @@
+Summary:       It's a gtk interface to mysql/postgresql databases
+Name:          dbui
+Version:       0.4.0
+Release:       1
+License:       GPL
+Group:         Applications/Databases/Interfaces
+Source0:       http://spyder.virtualbeer.net/dbui/%{name}-%{version}.tar.gz
+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. 
+
+%package mysql
+Summary:       dbui linked with mysql 
+Requires: dbui = %{version}
+Group:         Applications/Databases/Interfaces
+
+%description mysql
+dbui linked with mysql 
+
+%package postgresql
+Summary:       dbui linked with postgresql 
+Requires: dbui = %{version}
+Group:         Applications/Databases/Interfaces
+
+%description postgresql
+dbui linked with postgresql.
+due to incompatibility with latest postgres libraries it doesn't compile
+correctly
+
+%prep
+%setup  -q
+
+%build
+%{__make} -f Makefile.mysql
+mv dbui dbui.mysql
+# %{__make} -f Makefile.postgres
+# mv 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
+
+gzip -9nf README
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc *.gz
+
+%files mysql
+%attr(755,root,root) %{_bindir}/dbui.mysql
+
+%files postgresql
+# %attr(755,root,root) %{_bindir}/dbui.postgresql
This page took 0.033138 seconds and 4 git commands to generate.