File mergeant.spec of Package mergeant

#
# spec file for package mergeant (Version 0.67)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           mergeant
BuildRequires:  fdupes
BuildRequires:  intltool
BuildRequires:  libgnomedb3-devel
BuildRequires:  scrollkeeper
BuildRequires:  update-desktop-files
License:        GPL v2 or later
Group:          Productivity/Databases/Tools
Version:        0.67
Release:        74
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.67/%{name}-%{version}.tar.bz2
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

%build
%configure\
	--disable-update-mimedb\
	--disable-scrollkeeper
make %{?jobs:-j%jobs}

%install
%makeinstall
# Change sr@Latn to sr@latin
mv %{buildroot}%{_datadir}/locale/sr@Latn %{buildroot}%{_datadir}/locale/sr@latin
%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
# The bonobo dependency has been removed upstream, but not this file. See bgo#500752 
%exclude %{_libdir}/bonobo/servers/GNOME_Mergeant.server

%files lang -f %{name}.lang
# Temporary workaround to not depend on libgnome: own the directories
%defattr (-, root, root)
%dir %{_datadir}/gnome
%dir %{_datadir}/gnome/help

%changelog
* Mon Mar 09 2009 vuntz@novell.com
- Remove unneeded BuildRequires: docbook-toys,
  docbook-xsl-stylesheets, gcc-c++, gnutls-devel, gtk-doc,
  gtksourceview18-devel, libgnomeprintui-devel, libwnck-devel,
  perl-XML-Parser, shared-mime-info, xmlcharent.
- Remove autoreconf/intltoolize calls.
- Remove AutoReqProv: it's default now.
- Own /usr/share/gnome/help
* Tue Feb 10 2009 vuntz@novell.com
- Use sr@latin instead of sr@Latn.
* Sun Feb 08 2009 hfiguiere@suse.de
- Use libgnomedb3-devel
* Thu Apr 03 2008 hpj@suse.de
- Upgraded to version 0.67:
  * Optionally use the new libgnomedb graph library based on the GooCanvas
  canvas if found.
  * Removed GConf and LibgnomeUI dependencies, and require GTK+ >= 2.10 (for
  the GtkAssistant widget).
  * Use binreloc instead of hard-coded paths.
  * Removed unused/obsolete parts in the code.
  * Bug fixes: #487916 (Stanislav Brabec).
  * Translation updates.
- Removed obsolete patches mergeant-data.patch and
  mergeant-implicit-delarations.patch.
* Thu Mar 06 2008 maw@suse.de
- Fix the build when against newer versions of intltool.
* Wed Nov 21 2007 maw@suse.de
- BuildRequire gtksourceview18-devel.
* 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