SPECS: mysql-administrator.spec - up to 1.0.22a

arekm arekm at pld-linux.org
Sun Aug 28 11:19:09 CEST 2005


Author: arekm                        Date: Sun Aug 28 09:19:09 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 1.0.22a

---- Files affected:
SPECS:
   mysql-administrator.spec (1.11 -> 1.12) 

---- Diffs:

================================================================
Index: SPECS/mysql-administrator.spec
diff -u SPECS/mysql-administrator.spec:1.11 SPECS/mysql-administrator.spec:1.12
--- SPECS/mysql-administrator.spec:1.11	Tue May 24 20:58:52 2005
+++ SPECS/mysql-administrator.spec	Sun Aug 28 11:19:02 2005
@@ -1,19 +1,27 @@
 # $Revision$, $Date$
+%bcond_with	canvas
+%bcond_with	grt
 Summary:	A MySQL server management, configuration and monitoring tool
 Summary(pl):	Narzędzie do zarządzania, konfiguracji i monitorowania pracy serwera MySQL
 Name:		mysql-administrator
-Version:	1.0.19
-Release:	0.2
+Version:	1.0.22a
+Release:	1
 License:	GPL
 Group:		Applications/Databases
 Source0:	http://sunsite.icm.edu.pl/mysql/Downloads/MySQLAdministrationSuite/%{name}-%{version}.tar.gz
-# Source0-md5:	b495755208b55333cb9c060c09246fe2
+# Source0-md5:	ed0f1af3eb7be03c2785ad9057492b75
+Patch0:		%{name}-lua.patch
+Patch1:		%{name}-termcap.patch
 URL:		http://www.mysql.com/products/administrator/
-BuildRequires:	gtkmm-devel <= 2.2.0
+BuildRequires:	autoconf
+BuildRequires:	automake
+%{?with_canvas:BuildRequires:	ftgl-devel}
+BuildRequires:	gtkmm22-devel
 BuildRequires:	libglade2-devel >= 2.0.0
 BuildRequires:	pcre-devel >= 3.9
 BuildRequires:	pkgconfig
 BuildRequires:	mysql-devel
+BuildRequires:	lua50-devel
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -27,15 +35,22 @@
 %description -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.
+interfejsowi i logicznemu usytuowaniu elementów jest bardzo łatwy i
+intuicyjny w obsłudze.
 
 %prep
 %setup -q
+%patch0 -p1
+%patch1 -p1
 
 %build
 cd mysql-gui-common
+%{__aclocal}
+%{__autoconf}
+%{__automake}
 %configure \
+	%{?with_canvas:--enable-canvas} \
+	%{?with_grt:--enable-grt} \
 	--with-commondirname=administrator
 %{__make}
 
@@ -50,21 +65,19 @@
 %{__make} -C mysql-gui-common install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-cd ../%{name}
 %{__make} -C %{name} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
 install -d $RPM_BUILD_ROOT%{_datadir}/mysql-gui/doc/administrator
-cp -a doc/* $RPM_BUILD_ROOT%{_datadir}/mysql-gui/doc/administrator
+cp -a mysql-administrator/doc/* $RPM_BUILD_ROOT%{_datadir}/mysql-gui/doc/administrator
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc ChangeLog res/FAQ
-%attr(755,root,root) %{_bindir}/mysql-administrator
-%attr(755,root,root) %{_bindir}/mysql-administrator-bin
+%doc mysql-administrator/ChangeLog mysql-administrator/res/FAQ
+%attr(755,root,root) %{_bindir}/*
 %{_desktopdir}/*.desktop
 %{_datadir}/mysql-gui/*.png
 %dir %{_datadir}/mysql-gui/administrator
@@ -78,6 +91,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.12  2005/08/28 09:19:02  arekm
+- up to 1.0.22a
+
 Revision 1.11  2005/05/24 18:58:52  darekr
 - use _desktopdir
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/mysql-administrator.spec?r1=1.11&r2=1.12&f=u




More information about the pld-cvs-commit mailing list