rpms/mysql-gui-tools/FC-5 mysql-administrator-1.1.5-shellbang.patch, NONE, 1.1 mysql-gui-tools.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Dennis Gilmore (ausil) fedora-extras-commits at redhat.com
Tue Apr 10 20:01:02 UTC 2007


Author: ausil

Update of /cvs/extras/rpms/mysql-gui-tools/FC-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv32359

Modified Files:
	.cvsignore sources 
Added Files:
	mysql-administrator-1.1.5-shellbang.patch mysql-gui-tools.spec 
Log Message:
setup for FC-5


mysql-administrator-1.1.5-shellbang.patch:

--- NEW FILE mysql-administrator-1.1.5-shellbang.patch ---
--- mysql-administrator-1.1.5-orig/mysql-administrator/source/linux/mysql-administrator	2005-06-01 08:34:16.000000000 -0500
+++ mysql-administrator-1.1.5/mysql-administrator/source/linux/mysql-administrator	2006-01-11 16:55:53.000000000 -0600
@@ -1,3 +2,5 @@
+#!/bin/sh
 PRG="$0"
+export DEBUG_DONT_SPAWN_FETCHES=1
                                                                                                     
 # need this for relative symlinks


--- NEW FILE mysql-gui-tools.spec ---
Name:           mysql-gui-tools
Version:        5.0r11
Release:        3%{?dist}
Summary:        GUI tools to manage mysql Databases

Group:          Applications/Databases
License:        GPL
URL:            http://www.mysql.com/products/tools/administrator/index.html
Source0:        http://dev.mysql.com/get/Downloads/MySQLAdministrationSuite/mysql-gui-tools-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Patch0:         mysql-administrator-1.1.5-shellbang.patch

BuildRequires:  libglade2-devel, gtkmm24-devel >= 2.6 , pcre-devel, mysql-devel >= 4.0
BuildRequires:  openssl-devel, gtkhtml3-devel, desktop-file-utils, gettext
BuildRequires:  mesa-libGLU-devel, python-devel, autoconf, automake
BuildRequires:  libtool, expat-devel, readline-devel
BuildRequires:  libgnomeprint22-devel

%if "%{?fedora}" > "4"
BuildRequires:  java-1.4.2-gcj-compat-devel
%endif
%if "%{?fedora}" > "6"
BuildRequires:  java-1.5.0-gcj-devel
%endif
Requires:       mysql-administrator, mysql-query-browser

%description
MySQL Administrator enables developers and DBAs to easily perform 
all the command line operations visually including configuring servers,
administering users, and dynamically monitoring database health. Other 
common administrative tasks such as monitoring replication status, 
backup and restore, and viewing logs can also be performed through the 
MySQL Administrator graphical console.

%if "%{?fedora}" > "3"
%define gtkhtmlver 3.6
%endif
%if "%{?fedora}" > "4"
%define gtkhtmlver 3.8
%endif
%if "%{?fedora}" > "6"
%define gtkhtmlver 3.14
%endif

%package     -n mysql-administrator
Summary:      GUI tools to manage mysql Databases
Group:        Applications/Databases
Requires:     mysql-gui-common = %{version}-%{release}

%description -n mysql-administrator
MySQL Administrator enables developers and DBAs to easily perform
all the command line operations visually including configuring servers,
administering users, and dynamically monitoring database health. Other
common administrative tasks such as monitoring replication status,
backup and restore, and viewing logs can also be performed through the
MySQL Administrator graphical console.

%package     -n mysql-query-browser
Summary:       A graphical tool for handling MySQL queries 
Group:          Applications/Databases
Requires:     mysql-gui-common = %{version}-%{release}

%description -n mysql-query-browser
The MySQL Query Browser is a graphical tool provided by MySQL AB for creating,
executing, and optimizing queries in a graphical environment. Where the MySQL
Administrator is designed to administer a MySQL server, the MySQL Query
Browser is designed to help you query and analyze data stored within your MySQL
database.

%package     -n mysql-gui-common
Summary:        Common data shared among the MySQL GUI Suites
Group:          System Environment/Libraries

%description -n mysql-gui-common
This package contains  glade files images and translations used by mysql tools
at runtime


%prep
%setup -q 
%patch0 -p1 -b .shellbang

%build
pushd  mysql-gui-common
%configure --enable-php-modules \
        --enable-python-modules \
        --enable-readline \
        --with-bonobo \
        --with-java-includes=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/include
make %{?_smp_mflags}
popd

pushd mysql-administrator
%configure --with-bonobo
make %{?_smp_mflags}
popd

pushd mysql-query-browser
%configure --with-gtkhtml=libgtkhtml-%{?gtkhtmlver}%{!?gtkhtmlver:3.14} \
         --with-bonobo
make %{?_smp_mflags}
popd

%install
rm -rf $RPM_BUILD_ROOT
pushd mysql-gui-common
chmod 644 COPYING README
make install DESTDIR=$RPM_BUILD_ROOT
popd

pushd mysql-administrator
chmod 644 COPYING
make install DESTDIR=$RPM_BUILD_ROOT
popd

pushd mysql-query-browser
chmod 644 COPYING
make install DESTDIR=$RPM_BUILD_ROOT
popd

# MySQL  use dos new line characters  that desktop file install doesnt like
# MySQL  also use dos new line endings in there documantation files rpmlint didint like them
sed -i 's/\r//' $RPM_BUILD_ROOT%{_datadir}/applications/MySQLAdministrator.desktop
sed -i 's/\r//' $RPM_BUILD_ROOT%{_datadir}/applications/MySQLQueryBrowser.desktop
sed -i 's/\r//' mysql-administrator/COPYING mysql-gui-common/COPYING mysql-gui-common/README 
sed -i 's/\r//' mysql-query-browser/COPYING 

desktop-file-install --vendor=fedora \
  --dir $RPM_BUILD_ROOT%{_datadir}/applications \
  --add-category System \
  --add-category Application \
  --add-category X-Fedora \
  --delete-original \
  $RPM_BUILD_ROOT%{_datadir}/applications/MySQLAdministrator.desktop

desktop-file-install --vendor=fedora \
  --dir $RPM_BUILD_ROOT%{_datadir}/applications \
  --add-category Development \
  --add-category Application \
  --add-category X-Fedora \
  --delete-original \
  $RPM_BUILD_ROOT%{_datadir}/applications/MySQLQueryBrowser.desktop


%find_lang mysql-administrator
%find_lang mysql-query-browser


%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc mysql-administrator/COPYING

%files -n mysql-administrator -f mysql-administrator.lang
%defattr(-,root,root,-)
%doc mysql-administrator/COPYING 
%{_bindir}/mabackup
%{_bindir}/mysql-administrator
%{_bindir}/mysql-administrator-bin
%{_datadir}/applications/fedora-MySQLAdministrator.desktop
%{_datadir}/mysql-gui/MySQLIcon_Admin_*.png
%{_datadir}/mysql-gui/administrator

%files -n mysql-gui-common
%defattr(-,root,root,-)
%doc mysql-gui-common/COPYING mysql-gui-common/README
%dir %{_datadir}/mysql-gui
%{_datadir}/mysql-gui/common

%files -n mysql-query-browser -f mysql-query-browser.lang
%defattr(-,root,root,-)
%doc mysql-query-browser/COPYING 
%{_bindir}/mysql-query-browser*
%{_datadir}/applications/fedora-MySQLQueryBrowser.desktop
%{_datadir}/mysql-gui/query-browser
%{_datadir}/mysql-gui/MySQLIcon_QueryBrowser_*.png


%changelog
* Tue Apr 10 2007 Dennis Gilmore <dennis at ausil.us> - 5.0r11-3
- drop BR on gtksourceview-devel and newt-devel

* Sun Apr 08 2007 Dennis Gilmore <dennis at ausil.us> - 5.0r11-2
- change where the r11 goes 
- make a mysql-gui-tools package which requires everything
- make mysql-administrator and mysql-query-browser require mysql-gui-common

* Fri Mar 30 2007 Dennis Gilmore <dennis at ausil.us> - 5.0-1.r11
- update to 5.0 release 11

* Mon Mar 05 2007 Dennis Gilmore <dennis at ausil.us> - 5.0-1.r10
- initial build


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/mysql-gui-tools/FC-5/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	10 Apr 2007 19:45:27 -0000	1.1
+++ .cvsignore	10 Apr 2007 20:00:25 -0000	1.2
@@ -0,0 +1 @@
+mysql-gui-tools-5.0r11.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/mysql-gui-tools/FC-5/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	10 Apr 2007 19:45:27 -0000	1.1
+++ sources	10 Apr 2007 20:00:25 -0000	1.2
@@ -0,0 +1 @@
+063fda21a80f1b1a3e96231433b3f24b  mysql-gui-tools-5.0r11.tar.gz




More information about the scm-commits mailing list