File nemiver.spec of Package nemiver

#
# spec file for package nemiver (Version 0.6.2)
#
# Copyright (c) 2008 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/
#


Url:            http://home.gna.org/nemiver/

Name:           nemiver
Version:        0.6.2
Release:        4
License:        GPL v2 or later
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  gcc-c++ gdb
BuildRequires:  perl-XML-Parser
BuildRequires:  update-desktop-files
BuildRequires:  gnome-doc-utils-devel
BuildRequires:  libgnome-devel
BuildRequires:  libxml2-devel >= 2.6.22
BuildRequires:  boost-devel >= 1.33.1
BuildRequires:  gtkmm2-devel >= 2.10
BuildRequires:  libglademm-devel >= 2.6
BuildRequires:  libgtksourceviewmm-2_0-devel >= 1.9.4
BuildRequires:  sqlite-devel >= 3.0
BuildRequires:  libgtop-devel >= 2.14
BuildRequires:  gconf2-devel >= 2.14
BuildRequires:  vte-devel >= 0.12.0
%if 0%{?suse_version} >= 1100
BuildRequires:  ghex-devel >= 2.21.4
%endif
%if 0%{?suse_version} > 1020
BuildRequires:  fdupes
%endif
Group:          Development/Tools/Debuggers
Summary:        Nemiver graphical debugger
Source0:        %{name}-%{version}.tar.bz2
Patch:          %{name}-desktop.diff
Requires:       %{name}-lang = %{version}-%{release}
%gconf_schemas_prereq

%description
Nemiver is a standalone graphical debugger that integrates well in the
GNOME desktop environment. It currently features a backend which uses
the well known GNU Debugger gdb to debug C / C++ programs.



Authors:
--------
    Dodji Seketeli <dodji@gnome.org>
    Jonathon Jongsma <jjongsma@gnome.org>

%package devel
License:        GPL v2 or later
Summary:        Nemiver graphical debugger - Development files
Requires:       %{name} = %{version}-%{release}
Requires:       libxml2-devel >= 2.6.22
Requires:       glib2-devel
Requires:       glibmm2-devel
Requires:       gnome-vfs2-devel
Requires:       libgtop-devel
Group:          Development/Tools/Debuggers

%description devel
Nemiver is a standalone graphical debugger that integrates well in the
GNOME desktop environment. It currently features a backend which uses
the well known GNU Debugger gdb to debug C / C++ programs.

This package contains the development files to build debugger backend.



Authors:
--------
    Dodji Seketeli <dodji@gnome.org>
    Jonathon Jongsma <jjongsma@gnome.org>

%lang_package
%prep
%setup -q 
%patch -p0

%build
%{suse_update_config -f}  
%configure \
	--disable-scrollkeeper \
	--enable-sourceviewmm2
%__make %{?jobs:-j%jobs}  

%install
make DESTDIR=$RPM_BUILD_ROOT install  
%find_gconf_schemas
%suse_update_desktop_file -i nemiver Development
%find_lang %{name}
%if 0%{?suse_version} > 1020
# create symlinks for man pages
%fdupes -s $RPM_BUILD_ROOT/%_mandir
# create hardlinks for the rest
%fdupes $RPM_BUILD_ROOT
%endif

%pre -f %{name}.schemas_pre

%preun -f %{name}.schemas_preun

%clean
rm -rf "$RPM_BUILD_ROOT"

%files -f %{name}.schemas_list
%defattr(-,root,root)
%doc AUTHORS README NEWS TODO
%{_prefix}/bin/*
%dir %{_datadir}/nemiver/
%{_datadir}/nemiver/*
#%{_datadir}/gnome/help/*
%{_datadir}/applications/*
%{_datadir}/icons/*
%{_datadir}/omf/*
%{_mandir}/man1/nemiver.1.gz
%dir %{_libdir}/nemiver
%dir %{_libdir}/nemiver/config
%{_libdir}/nemiver/config/*
%{_libdir}/nemiver/*.so
%dir %{_libdir}/nemiver/modules
%{_libdir}/nemiver/modules/*.so
%dir %{_libdir}/nemiver/plugins
%dir %{_libdir}/nemiver/plugins/dbgperspective
%{_libdir}/nemiver/plugins/dbgperspective/*.conf
%{_libdir}/nemiver/plugins/dbgperspective/*.so
%{_libdir}/nemiver/plugins/dbgperspective/*.xml
%dir %{_libdir}/nemiver/plugins/dbgperspective/glade
%{_libdir}/nemiver/plugins/dbgperspective/glade/*
%dir %{_libdir}/nemiver/plugins/dbgperspective/icons
%{_libdir}/nemiver/plugins/dbgperspective/icons/*
%dir %{_libdir}/nemiver/plugins/dbgperspective/menus
%{_libdir}/nemiver/plugins/dbgperspective/menus/*
%dir %{_libdir}/nemiver/plugins/dbgperspective/sqlscripts
%{_libdir}/nemiver/plugins/dbgperspective/sqlscripts/*

%files devel
%defattr(-,root,root)
%doc AUTHORS README NEWS TODO
%dir %{_includedir}/nemiver
%{_includedir}/nemiver/*
#%{_libdir}/pkgconfig/libnemivercommon.pc
%{_libdir}/nemiver/*.*a
%{_libdir}/nemiver/modules/*.*a
%{_libdir}/nemiver/plugins/dbgperspective/*.*a

%files lang -f %{name}.lang

%changelog
* Fri Oct 03 2008 hfiguiere@suse.de
- Fix dependency on libgtksourceviewmm due to update the 2.0 series.
* Thu Sep 04 2008 mboman@novell.com
- Update to 0.6.2
  + conditional breakpoints
  + bgo#548121 - String search not available when program is not running
  + bgo#548118 - Select new node on dereferencing
  + bgo#523377 - first-run prints sql-related errors to console
  + bgo#545842 - Missing shortcut to set a breakpoint in current file
  + bgo#547169 - Set breakpoint to selected function name by default
  + fix boost unit test static library detection
  + fix a configure help string
  + Update website references to point to the new location
  + Translation updates
* Wed Jul 30 2008 hfiguiere@suse.de
- Update to 0.6.1
  * conditional breakpoints
  * arbitrary function calls
  * various code cleanups
  * add --version command line switch
  * support running autogen.sh from other directories dans srcdir
  * bgo#515525 - Arrow keys don't work to navigate through source file
  * bgo#396277 - implement lazy evaluation of status widgets
  * bgo#543798 - don't pop up 'reload file' dialog all the time
  * bgo#543797 - display a meaningful error when inferior is not found
  * bgo#545211 - Bad index management when closing a tab
  * bgo#540934 - documentation docbook XML compliance
  * on going HIG compliance assurance
  * add preferences for controlling behaviour or reloading source files
* Sat Jun 21 2008 hfiguiere@novell.com
- Update to 0.5.4
  * many compilation fixes
  * bgo#537281 unable to open some files because their encoding is not known
  * bgo#539109 can't stop running inferior
  * bgo#499873 Variable 'this' not found
  * bgo#539311 - rhythmbox can loads its plugins under nemiver
  * bgo#534990 - don't install libnemivercommon.pc
  * bgo#535359 "Clicking on current stack frame should show the correct
  source line in the editor"
  * Updated po and oc translations
* Sat Jun 07 2008 hfiguiere@novell.com
- Fix build for 10.3 in OBS
* Fri Jun 06 2008 hfiguiere@novell.com
- Update to 0.5.3
  * bgo#526696 "Detach from the running program" not properly unsensitived"
  * bgo#526866 breakpoint parsing failures
  * bgo#526826 missing dependency in .pc file
  * bgo#527696 nemiver --help only shows libgnome related help messages
  * bgo#526863 Parsing error leaves nemiver in unusable state
  * bgo#527796 remove libgnome dependency
  * bgo#482806 Debugger state and Menu item sensitivity problems
  * bgo#534619 Once detached of a program, you're not sure you're really disconnected
  * add -Wl,--as-needed link flag for DSOs
  * properly set memory editor sensitivity when debugger is running
  * remove obsolete fields from nemiver.desktop file
* Sat Apr 12 2008 hfiguiere@suse.de
- Build with ghex to support the memory view.
- Add libgtop-devel as a requires for the devel package.
* Mon Apr 07 2008 hfiguiere@suse.de
- Update to 0.5.2
  * fix an infinite loop when parsing an output record having a
  line starting with '='
  * support setting breakpoints on functions that are in
  not-yet-loaded shared libraries.
  * Nemiver doesn't propose to stop the debugging application (bgo#526291)
- Add glib2-devel to the Requires for the -devel package
* Thu Apr 03 2008 hfiguiere@suse.de
- Initial checkin