nemiver/nemiver.spec

168 lines
4.8 KiB
RPMSpec

#
# spec file for package nemiver (Version 0.5.2)
#
# Copyright (c) 2008 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/
#
Url: http://home.gna.org/nemiver/
Name: nemiver
Version: 0.5.2
Release: 2
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-1_0-devel >= 0.3.0
BuildRequires: sqlite-devel >= 3.0
BuildRequires: libgtop-devel >= 2.14
BuildRequires: gconf2-devel >= 2.14
BuildRequires: vte-devel >= 0.12.0
BuildRequires: ghex-devel >= 2.21.4
%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
%__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
* 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