SPECS: mysql-gui-tools.spec (NEW) - initial revision

pascalek pascalek at pld-linux.org
Fri Oct 13 18:21:57 CEST 2006


Author: pascalek                     Date: Fri Oct 13 16:21:57 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial revision

---- Files affected:
SPECS:
   mysql-gui-tools.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/mysql-gui-tools.spec
diff -u /dev/null SPECS/mysql-gui-tools.spec:1.1
--- /dev/null	Fri Oct 13 18:21:57 2006
+++ SPECS/mysql-gui-tools.spec	Fri Oct 13 18:21:52 2006
@@ -0,0 +1,249 @@
+# $Revision$, $Date$
+%define		_rel	r4
+
+%define		ma_realversion	1.2.4-rc
+%define		qb_realversion	1.2.4-beta
+%define		wb_realversion	1.1.4-alpha
+
+Summary:	GUI Tools for MySQL 5.0 - common files
+Summary(pl):	Narzędzia GUI dla MySQL-a 5.0 - pliki wspólne
+Name:		mysql-gui-tools
+Version:	5.0
+Release:	0.%{_rel}.1
+License:	GPL
+Group:		Applications/Databases
+Source0:	http://sunsite.icm.edu.pl/mysql/Downloads/MySQLGUITools/%{name}-%{version}%{_rel}.tar.gz
+# Source0-md5:	2ea9381174c19942cf0976ded88fea17
+Patch0:		%{name}-lua.patch
+Patch1:		%{name}-termcap.patch
+URL:		http://www.mysql.com/products/tools/
+BuildRequires:	autoconf
+BuildRequires:	automake
+BuildRequires:	gettext-devel
+BuildRequires:	gtkhtml-devel >= 3.6.0
+BuildRequires:	gtkmm-devel >= 2.4.0
+BuildRequires:	libglade2-devel >= 1:2.0.0
+BuildRequires:	libgtkhtml-devel
+BuildRequires:	lua-devel >= 5.0
+BuildRequires:	mysql-devel
+BuildRequires:	pcre-devel >= 3.9
+BuildRequires:	perl-XML-Parser
+BuildRequires:	pkgconfig
+BuildRequires:	popt-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+GUI Tools for MySQL 5.0 is a suite of applications written for developing
+and managing MySQL servers. 
+
+This package contains data files and libraries for MySQL GUI Tools.
+Actual applications are in packages mysql-administrator, mysql-query-browser
+and mysql-workbench.
+
+%description -l pl
+GUI Tools dla MySQL-a 5.0 to zestaw aplikacji do rozwijania i zarządzania 
+serwerami MySQL.
+
+Ten pakiet zawiera pliki danych i bibliotek dla MySQL GUI Tools.
+Właściwe aplikacje znajdują się w pakietach mysql-administrator, 
+mysq-query-browser oraz mysql-workbench.
+
+%package -n mysql-administrator
+Summary:	A MySQL server management, configuration and monitoring tool
+Summary(pl):	Narzędzie do zarządzania, konfiguracji i monitorowania pracy serwera MySQL
+Group:		Applications/Databases
+Requires:	mysql-gui-tools = %{version}
+
+%description -n mysql-administrator
+MySQL Administrator is a powerful visual administration console that
+enables you to easily administer your MySQL environment and gain
+significantly better visibility into how your databases are operating.
+MySQL Administrator now integrates database management and maintenance
+into a single, seamless environment, with a clear and intuitive
+graphical user interface.
+
+This is MySQL Administrator %{ma_realversion}.
+
+%description -n mysql-administrator -l pl
+MySQL Administrator jest potężnym graficznym narzędziem umożliwiającym
+łatwe administrowanie całym środowiskiem MySQL. Dzięki przejrzystemu
+interfejsowi i logicznemu usytuowaniu elementów jest bardzo łatwy i
+intuicyjny w obsłudze.
+
+Ten pakiet zawiera MySQL Administrator %{ma_realversion}
+
+%package -n mysql-query-browser
+Summary:	Query shell for MySQL 5.0
+Summary(pl):	Graficzna powłoka do zapytań MySQL-a 5.0
+Group:		Applications/Databases
+Requires:	mysql-gui-tools = %{version}
+
+%description -n mysql-query-browser
+MySQL Query Browser is a GUI tool for executing SQL queries. It will
+display the result in a list where you can edit its contents and save.
+It has several auxiliar features to facilitate work, such as query
+"bookmarking", query history, syntax highlighting and online help.
+
+It's part of the MySQL Developer Suite.
+This is MySQL QueryBrowser %{qb_realversion}.
+
+%description -n mysql-query-browser -l pl
+MySQL Query Browser to narzędzie z graficznym interfejsem do
+wykonywania zapytań SQL. Wyświetla wyniki w postaci listy, gdzie można
+modyfikować jej zawartość i zapisywać. Ma kilka dodatkowych możliwości
+ułatwiających pracę, takie jak "zakładki" dla zapytań, historię
+zapytań, podświetlanie składni i pomoc podręczną.
+
+Ten pakiet zawiera MySQL Query Browser %{qb_realversion}.
+
+%package -n mysql-workbench
+Summary:	Extensible modeling tool for MySQL 5.0
+Summary(pl):	Narzędzie do modelowania baz danych dla MySQL-a 5.0
+Group:		Applications/Databases
+Requires:	mysql-gui-tools = %{version}
+
+%description -n mysql-workbench
+MySQL Workbench is a database modeling tool for MySQL. You can use it
+to design and create new database schemas, document existing databases
+and even perform complex migrations to MySQL.
+
+MySQL Workbench requires OpenGL and a 3D accelerated graphics card with
+at least 16MB of memory.
+
+This is MySQL Workbench %{wb_realversion}.
+
+%description -n mysql-workbench -l pl
+MySQL Workbench to narzędzie do modelowania baz danych dla MySQL-a.
+Można używać go do projektowania i tworzenia schematów nowych baz
+danych, dokumentowania istniejących baz danych, a nawet wykonywania
+skomplikowanych migracji do MySQL-a.
+
+MySQL Workbench wymaga OpenGL i karty graficznej ze sprzętową akceleracją 
+operacji 3D z minimum 16 MB pamięci.
+
+%prep
+%setup -q -n %{name}-%{version}%{_rel}
+%patch0 -p1
+%patch1 -p1
+
+%build
+PKG_CONFIG=pkg-config
+export PKG_CONFIG
+
+# GUI Common
+cd mysql-gui-common
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure \
+	--with-gtkhtml=libgtkhtml-3.8 \
+	--enable-canvas \
+	--enable-grt \
+	--with-lua-includes="`pkg-config lua50 --cflags-only-I | sed s:-I::`" \
+	--with-lua-libs="`pkg-config lua50 --libs`"
+%{__make}
+cd ..
+
+# Administrator
+cd mysql-administrator
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+%configure
+%{__make}
+cd ..
+
+# Query Browser
+cd mysql-query-browser
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure \
+	--with-gtkhtml=libgtkhtml-3.8
+%{__make}
+cd ..
+
+# Workbench
+cd mysql-workbench
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure \
+	--with-gtkhtml=libgtkhtml-3.8 \
+	--with-commondirname=workbench
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+for dir in \
+	mysql-gui-common \
+	mysql-administrator \
+	mysql-query-browser \
+	mysql-workbench
+do
+	make -C $dir -k DESTDIR=$RPM_BUILD_ROOT install
+done
+
+%find_lang mysql-administrator
+%find_lang mysql-query-browser
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%dir %{_datadir}/mysql-gui
+%dir %{_datadir}/mysql-gui/common
+%dir %{_datadir}/mysql-gui/common/lua
+%dir %{_datadir}/mysql-gui/common/grt
+%dir %{_datadir}/mysql-gui/common/grt/db
+%dir %{_datadir}/mysql-gui/common/grt/icons
+%dir %{_datadir}/mysql-gui/common/grt/icons/structs
+%{_datadir}/mysql-gui/common/*
+%{_datadir}/mysql-gui/common/lua/*.lua
+%{_datadir}/mysql-gui/common/grt/*.xml
+%{_datadir}/mysql-gui/common/grt/db/*.png
+%{_datadir}/mysql-gui/common/grt/icons/*.png
+%{_datadir}/mysql-gui/common/grt/icons/structs/*.png
+
+%files -n mysql-administrator -f mysql-administrator.lang
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/mabackup
+%attr(755,root,root) %{_bindir}/mysql-administrator
+%attr(755,root,root) %{_bindir}/mysql-administrator-bin
+%dir %{_datadir}/mysql-gui/administrator
+%{_datadir}/mysql-gui/MySQLIcon_Admin*
+%{_datadir}/mysql-gui/administrator/*
+%{_datadir}/applications/MySQLAdministrator.desktop
+
+%files -n mysql-query-browser -f mysql-query-browser.lang
+%defattr(644,root,root,755)
+%dir %{_datadir}/mysql-gui/query-browser
+%{_datadir}/mysql-gui/query-browser/*
+%attr(755,root,root) %{_bindir}/mysql-query-browser
+%attr(755,root,root) %{_bindir}/mysql-query-browser-bin
+%{_datadir}/mysql-gui/MySQLIcon_Query*
+%{_datadir}/applications/MySQLQueryBrowser.desktop
+
+%files -n mysql-workbench
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/mysql-workbench
+%attr(755,root,root) %{_bindir}/mysql-workbench-bin
+%dir %{_datadir}/mysql-gui/workbench
+%{_datadir}/mysql-gui/MySQLIcon_Workbench*
+%{_datadir}/mysql-gui/workbench/*
+%{_datadir}/applications/MySQLWorkbench.desktop
+
+%define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2006/10/13 16:21:52  pascalek
+- initial revision
+
================================================================


More information about the pld-cvs-commit mailing list