File mergeant.spec of Package mergeant

#
# spec file for package mergeant (Version 0.66)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild

Name:           mergeant
BuildRequires:  docbook-toys docbook-xsl-stylesheets fdupes gcc-c++ gnutls-devel gtk-doc intltool libgnomedb-devel libgnomeprintui-devel libwnck-devel perl-XML-Parser scrollkeeper shared-mime-info update-desktop-files xmlcharent
License:        GPL v2 or later
Group:          Productivity/Databases/Tools
AutoReqProv:    on
Version:        0.66
Release:        1
Summary:        Mergeant--A Database Admin Tool (Development Version)
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Url:            http://www.gnome-db.org/
Source:         ftp://ftp.gnome.org/pub/gnome/sources/mergeant/0.66/%{name}-%{version}.tar.bz2
Patch:          %{name}-data.patch
Patch1:         %{name}-implicit-declarations.patch
Requires:       %{name}-lang = %{version}

%description
Mergeant is a database admin tool that works with libgnomedb and
libgda.



Authors:
--------
    Vivien Malerba    <malerba@gnome-db.org>
    Fernando Martins  <fmartins@hetnet.nl>
    Waldemar Furowski <bilbo@pwr.wroc.pl>
    Rodrigo Moya      <rodrigo@gnome-db.org>
    Gonzalo Paniagua Javier <gonzalo@gnome-db.org>

%lang_package
%prep
%setup -q
%patch
%patch1
mv data/gnome-application-x-mergeant.png data/application-x-mergeant.png
rm data/mergeant.applications data/mergeant.keys.in data/mergeant.keys data/mergeant.mime

%build
autoreconf -f -i
# FIXME: Build as root modifies system!
#   mergeant-0.66: --disable-scrollkeeper does not work properly. 
%configure\
	--disable-update-mimedb\
	--disable-scrollkeeper
make %{?jobs:-j%jobs}

%install
%makeinstall
%suse_update_desktop_file %{name}
%find_lang mergeant
%fdupes $RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-, root, root)
%doc AUTHORS BUGS COPYING ChangeLog NEWS README TODO
%{_bindir}/*
%{_datadir}/applications/*.desktop
%{_datadir}/mime/packages/*.xml
%{_datadir}/omf/*
%{_datadir}/icons/hicolor/48x48/mimetypes/*.*
%{_datadir}/pixmaps/*.png
%{_datadir}/pixmaps/mergeant
%{_libdir}/bonobo/servers/GNOME_Mergeant.server

%files lang -f %{name}.lang
%changelog
* Thu Oct 18 2007 - sbrabec@suse.cz
- Updated to version 0.66:
  * Adaptations to Libgda and Libgnomedb's API changes
  * Better handling of transaction status when closing a workspace
  * Tables contents are now displayed as a grid and as a form with
  a toggle option
  * Various other GUI improvements (Vivien)
  * The SQL console is now accessible through the toolbar
  * Modifications following Libgda/Libgnomedb changes
  * Better GUI
  * Added support for table creation, destruction and renaming, and
  for column addition and removal
  * Bug fixes
  * Translations updates
* Thu Oct 11 2007 - sbrabec@suse.cz
- Removed bogus dependency on mDNSResponder.
* Tue Aug 07 2007 - maw@suse.de
- Use %%fdupes
- Split off a -lang subpackage.
* Thu Jan 04 2007 - sbrabec@suse.cz
- Prefix changed to /usr.
- Spec file cleanup.
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Aug 08 2005 - rodrigo@suse.de
- Update to version 0.62
* Tue Jul 12 2005 - sbrabec@suse.cz
- Updated to version 0.61.
* Wed Jun 29 2005 - sbrabec@suse.cz
- Updated to version 0.60.
* Wed Apr 13 2005 - sbrabec@suse.cz
- Fixed bad declaration.
* Mon Feb 21 2005 - sbrabec@suse.cz
- Updated to version 0.52.
* Wed Dec 15 2004 - hvogel@suse.de
- fix desktop file
* Tue Nov 02 2004 - mmj@suse.de
- Locale rename: no -> nb
* Tue Sep 07 2004 - sbrabec@suse.cz
- Generated shared mime info.
* Wed May 26 2004 - ro@suse.de
- added -fno-strict-aliasing
- get rid of some compiler warnings
* Sun Jan 11 2004 - adrian@suse.de
- build as user
* Tue Oct 28 2003 - ro@suse.de
- added gtksourceview to neededforbuild
* Tue Aug 19 2003 - sbrabec@suse.cz
- Updated to version 0.12.1.
* Mon Aug 18 2003 - sbrabec@suse.cz
- Use libgda instead of libgda2 (package was renamed).
* Tue Aug 12 2003 - adrian@suse.de
- add Categories
* Mon Jul 14 2003 - sbrabec@suse.cz
- GNOME prefix change to /opt/gnome.
* Tue Jul 01 2003 - ro@suse.de
- added directories to filelist
* Wed Jun 04 2003 - sbrabec@suse.cz
- Initial SuSE package.
openSUSE Build Service is sponsored by