summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mysql-workbench-ce-5.2.24-1fc12.spec96
-rw-r--r--mysql-workbench-gpl-5.2.25-1fc12.spec96
-rw-r--r--mysql-workbench-gpl-5.2.29-1fc13.spec (renamed from mysql-workbench-gpl-5.2.26-1fc12.spec)21
3 files changed, 13 insertions, 200 deletions
diff --git a/mysql-workbench-ce-5.2.24-1fc12.spec b/mysql-workbench-ce-5.2.24-1fc12.spec
deleted file mode 100644
index a6b257b..0000000
--- a/mysql-workbench-ce-5.2.24-1fc12.spec
+++ /dev/null
@@ -1,96 +0,0 @@
-%if !%{defined version}
-%define version 5.2.24
-%endif
-%define release 1
-%define edition ce
-
-Summary: A MySQL visual database modeling tool.
-Name: mysql-workbench-%{edition}
-Version: %{version}
-Release: %{release}%{targos}
-Group: Applications/Databases
-Vendor: Oracle Corporation
-License: GPL
-URL: http://wb.mysql.com
-Source: %{name}-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-root
-BuildRequires: pcre-devel >= 3.9
-BuildRequires: libglade2-devel >= 2.0.0
-BuildRequires: lua-devel >= 5.1
-BuildRequires: libgnome-devel >= 2
-BuildRequires: automake autoconf libtool
-BuildRequires: lua-devel
-BuildRequires: libzip-devel libxml2-devel
-BuildRequires: libglade2-devel
-BuildRequires: readline-devel
-BuildRequires: python-devel >= 2.4
-BuildRequires: gnome-keyring-devel
-BuildRequires: boost-devel
-
-%if %{defined suse}
-BuildRequires: libmysqlclient-devel
-BuildRequires: Mesa
-%else
-BuildRequires: mysql-devel >= 5.1
-%if !%{defined centos}
-BuildRequires: uuid-devel
-%endif
-BuildRequires: gtkmm24-devel
-BuildRequires: mesa-libGL-devel
-%endif
-
-%if %{defined suse}
-Requires: python-paramiko python-pexpect
-%else
-Requires: python-paramiko pexpect
-%endif
-%if %{defined fc12}
-Requires: python-sqlite2
-%endif
-# requires mysql client pkg (for mysqldump and mysql cmdline client)
-Requires: mysql gnome-keyring
-
-# our old package name
-Obsoletes: mysql-workbench-oss
-Conflicts: mysql-workbench-oss
-
-%description
-MySQL Workbench is modeling tool that allows you to design
-and generate MySQL databases graphically.
-
-
-%prep
-%setup -q -n %{name}-%{version}
-
-%build
-
-NOCONFIGURE=yes ./autogen.sh
-%configure --disable-debug --enable-python-modules
-make
-
-%install
-make install DESTDIR=%{buildroot}
-%if %{defined centos}
-for l in libpixman-1.so.0 libcairo.so.2 libatkmm-1.6.so.1 libcairomm-1.0.so.1 libgdkmm-2.4.so.1 libglibmm-2.4.so.1 libgtkmm-2.4.so.1 libpangomm-1.4.so.1 libzip.so.1 libsigc-2.0.so.0; do
-cp %{_libdir}/$l %{buildroot}/%{_libdir}/mysql-workbench
-/usr/sbin/prelink -u %{buildroot}/%{_libdir}/mysql-workbench/$l || true
-done
-%endif
-
-%clean
-rm -rf %{buildroot}
-rm -rf %{_builddir}/%{name}-%{version}
-
-%files
-%defattr(0644, root, root, 0755)
-%doc COPYING
-%attr(0755,root,root) %{_bindir}/mysql-workbench
-%attr(0755,root,root) %{_bindir}/mysql-workbench-bin
-%dir %{_libdir}/mysql-workbench
-%{_libdir}/mysql-workbench/*
-%{_datadir}/applications/*.desktop
-%dir %{_datadir}/mysql-workbench
-%{_datadir}/mysql-workbench/*
-
-%changelog
-
diff --git a/mysql-workbench-gpl-5.2.25-1fc12.spec b/mysql-workbench-gpl-5.2.25-1fc12.spec
deleted file mode 100644
index fbea788..0000000
--- a/mysql-workbench-gpl-5.2.25-1fc12.spec
+++ /dev/null
@@ -1,96 +0,0 @@
-%if !%{defined version}
-%define version 5.2.25
-%endif
-%define release 1
-%define edition gpl
-
-Summary: A MySQL visual database modeling tool.
-Name: mysql-workbench-%{edition}
-Version: %{version}
-Release: %{release}%{targos}
-Group: Applications/Databases
-Vendor: Oracle Corporation
-License: GPL
-URL: http://wb.mysql.com
-Source: %{name}-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-root
-BuildRequires: pcre-devel >= 3.9
-BuildRequires: libglade2-devel >= 2.0.0
-BuildRequires: lua-devel >= 5.1
-BuildRequires: libgnome-devel >= 2
-BuildRequires: automake autoconf libtool
-BuildRequires: lua-devel
-BuildRequires: libzip-devel libxml2-devel
-BuildRequires: libglade2-devel
-BuildRequires: readline-devel
-BuildRequires: python-devel >= 2.4
-BuildRequires: gnome-keyring-devel
-BuildRequires: boost-devel
-
-%if %{defined suse}
-BuildRequires: libmysqlclient-devel
-BuildRequires: Mesa
-%else
-BuildRequires: mysql-devel >= 5.1
-%if !%{defined centos}
-BuildRequires: uuid-devel
-%endif
-BuildRequires: gtkmm24-devel
-BuildRequires: mesa-libGL-devel
-%endif
-
-%if %{defined suse}
-Requires: python-paramiko python-pexpect
-%else
-Requires: python-paramiko pexpect
-%endif
-%if %{defined fc12}
-Requires: python-sqlite2
-%endif
-# requires mysql client pkg (for mysqldump and mysql cmdline client)
-Requires: mysql gnome-keyring
-
-# our old package name
-Obsoletes: mysql-workbench-oss
-Conflicts: mysql-workbench-oss
-
-%description
-MySQL Workbench is modeling tool that allows you to design
-and generate MySQL databases graphically.
-
-
-%prep
-%setup -q -n %{name}-%{version}
-
-%build
-
-NOCONFIGURE=yes ./autogen.sh
-%configure --disable-debug --enable-python-modules
-make
-
-%install
-make install DESTDIR=%{buildroot}
-%if %{defined centos}
-for l in libpixman-1.so.0 libcairo.so.2 libatkmm-1.6.so.1 libcairomm-1.0.so.1 libgdkmm-2.4.so.1 libglibmm-2.4.so.1 libgtkmm-2.4.so.1 libpangomm-1.4.so.1 libzip.so.1 libsigc-2.0.so.0; do
-cp %{_libdir}/$l %{buildroot}/%{_libdir}/mysql-workbench
-/usr/sbin/prelink -u %{buildroot}/%{_libdir}/mysql-workbench/$l || true
-done
-%endif
-
-%clean
-rm -rf %{buildroot}
-rm -rf %{_builddir}/%{name}-%{version}
-
-%files
-%defattr(0644, root, root, 0755)
-%doc COPYING
-%attr(0755,root,root) %{_bindir}/mysql-workbench
-%attr(0755,root,root) %{_bindir}/mysql-workbench-bin
-%dir %{_libdir}/mysql-workbench
-%{_libdir}/mysql-workbench/*
-%{_datadir}/applications/*.desktop
-%dir %{_datadir}/mysql-workbench
-%{_datadir}/mysql-workbench/*
-
-%changelog
-
diff --git a/mysql-workbench-gpl-5.2.26-1fc12.spec b/mysql-workbench-gpl-5.2.29-1fc13.spec
index d4db759..94bee04 100644
--- a/mysql-workbench-gpl-5.2.26-1fc12.spec
+++ b/mysql-workbench-gpl-5.2.29-1fc13.spec
@@ -1,5 +1,5 @@
%if !%{defined version}
-%define version 5.2.26
+%define version 5.2.29
%endif
%define release 1
%define edition gpl
@@ -12,7 +12,7 @@ Group: Applications/Databases
Vendor: Oracle Corporation
License: GPL
URL: http://wb.mysql.com
-Source: %{name}-%{version}.tar.gz
+Source: %{name}-%{version}-src.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildRequires: pcre-devel >= 3.9
BuildRequires: libglade2-devel >= 2.0.0
@@ -27,7 +27,7 @@ BuildRequires: python-devel >= 2.4
BuildRequires: gnome-keyring-devel
BuildRequires: boost-devel
-%if %{defined suse}
+%if %_vendor == suse
BuildRequires: libmysqlclient-devel
BuildRequires: Mesa
%else
@@ -39,12 +39,12 @@ BuildRequires: gtkmm24-devel
BuildRequires: mesa-libGL-devel
%endif
-%if %{defined suse}
+%if %_vendor == suse
Requires: python-paramiko python-pexpect
%else
Requires: python-paramiko pexpect
%endif
-%if %{defined fc12}
+%if %{defined fc13}
Requires: python-sqlite2
%endif
# requires mysql client pkg (for mysqldump and mysql cmdline client)
@@ -53,6 +53,7 @@ Requires: mysql gnome-keyring
# our old package name
Obsoletes: mysql-workbench-oss
Conflicts: mysql-workbench-oss
+Conflicts: mysql-workbench-com-se
%description
MySQL Workbench is a modeling tool that allows you to design
@@ -61,16 +62,20 @@ and query development modules where you can manage MySQL server instances
and execute SQL queries.
%prep
-%setup -q -n %{name}-%{version}
+%setup -q -n %{name}-%{version}-src
%build
NOCONFIGURE=yes ./autogen.sh
-%configure --disable-debug --enable-python-modules
+%configure --disable-debug
make
%install
make install DESTDIR=%{buildroot}
+
+find %{buildroot}%{_libdir}/mysql-workbench -name \*.a -exec rm {} \; -print
+find %{buildroot}%{_libdir}/mysql-workbench -name \*.la -exec rm {} \; -print
+
%if %{defined centos}
for l in libpixman-1.so.0 libcairo.so.2 libatkmm-1.6.so.1 libcairomm-1.0.so.1 libgdkmm-2.4.so.1 libglibmm-2.4.so.1 libgtkmm-2.4.so.1 libpangomm-1.4.so.1 libzip.so.1 libsigc-2.0.so.0; do
cp %{_libdir}/$l %{buildroot}/%{_libdir}/mysql-workbench
@@ -80,7 +85,7 @@ done
%clean
rm -rf %{buildroot}
-rm -rf %{_builddir}/%{name}-%{version}
+rm -rf %{_builddir}/%{name}-%{version}-src
%files
%defattr(0644, root, root, 0755)