b280dab
Name:		nemiver
159ae27
Version:	0.9.0
Dodji Seketeli 06db614
Release:	1%{?dist}
3db4daf
Summary:	A GNOME C/C++ Debugger
b280dab
b280dab
Group:		Development/Debuggers
80a4c19
License:	GPLv2+
f901db3
URL:		http://projects.gnome.org/nemiver
b280dab
13bf069
## The source of this package is maintained in the upstream git
13bf069
## repository in the gtk2-branch branch.  It is actually a backport
13bf069
## from the master into a GNOME2 based environment.  Here are the
13bf069
## instructions to get the code:
13bf069
##     git clone git://git.gnome.org/git/nemiver
13bf069
##     cd nemiver
13bf069
##     git checkout -b 0.9.0gtk2 nemiver-0.9.0gtk2
13bf069
##     ./autogen.sh && make dist
13bf069
## This should have generated the tarball in the current directory.
159ae27
Source0:	%{name}-%{version}gtk2.tar.gz
79d2203
b280dab
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
b280dab
c93c367
## The glibmm bits would normally be part of the dependency tree for
c93c367
## gtksourceviewmm; but we're using GIO here (F9+) so we need to ensure that the
c93c367
## the Glib/glibmm we're depending on also includes it (e.g., 2.16+)
3db4daf
##
3db4daf
## We specify the minimum version of gtkmm24 because we are now using
3db4daf
## the tooltip and treeview APIs of gtkmm 2.12.7.
b280dab
BuildRequires:	boost-devel
dec1995
BuildRequires:	boost-static
b280dab
BuildRequires:	desktop-file-utils
1cb12e9
BuildRequires:	gdb
b280dab
BuildRequires:	gettext
Dodji Seketeli 06db614
#This is useful to get m4 macros from gsettings.m4, like GLIB_GSETTING
Dodji Seketeli 06db614
# Requiring glib2-devel >= 2.28 is equivalent to requiring the
Dodji Seketeli 06db614
# glib2-devel of Fedora 15.
Dodji Seketeli 06db614
BuildRequires:  glib2-devel >= 2.28
e4c33a5
BuildRequires:	ghex-devel >= 2.24
Dodji Seketeli 06db614
BuildRequires:	glibmm24-devel >= 2.25
Dodji Seketeli 06db614
BuildRequires:	gtkmm24-devel >= 2.20
5550fa1
BuildRequires:	gnome-doc-utils >= 0.3.2
c795904
BuildRequires:	gtksourceviewmm-devel >= 2.0.0
1cb12e9
BuildRequires:	libgtop2-devel >= 2.14
1cb12e9
BuildRequires:	libtool
1cb12e9
BuildRequires:	perl(XML::Parser)
1cb12e9
BuildRequires:	sqlite-devel >= 3.0
1cb12e9
BuildRequires:	vte-devel >= 0.12.0
1985e00
BuildRequires:	intltool
dec1995
BuildRequires:	libxml2-devel >= 2.6.22
Dodji Seketeli 06db614
BuildRequires:  gsettings-desktop-schemas-devel
Dodji Seketeli 06db614
BuildRequires:  dconf
b280dab
Dodji Seketeli 06db614
Requires: gsettings-desktop-schemas
5550fa1
b280dab
## Needs hicolor-icon-theme so that the parent %%_datadir/icons/hicolor
b280dab
## and its subtree directories are properly owned.
b280dab
Requires:	hicolor-icon-theme
b280dab
Requires:	gdb
dec1995
Provides: %{name}-devel = %{version}-%{release}
dec1995
Provides: %{name}-headers = %{version}-%{release}
dec1995
dec1995
Obsoletes:	%{name}-devel < 0.5.4-1
dec1995
Obsoletes:	%{name}-headers < 0.6.5-2
b280dab
b280dab
## Mostly taken from its site index... :]
b280dab
%description
b280dab
Nemiver is an ongoing effort to write a standalone graphical debugger that
b280dab
integrates well in the GNOME desktop environment. It currently features a
b280dab
backend which uses the well known GNU Debugger (gdb) to debug C/C++ programs.
1cb12e9
5550fa1
The yelp package must be installed to make use of Nemiver's documentation.
b280dab
b280dab
%prep
159ae27
%setup -n %{name}-%{version}gtk2
b280dab
b280dab
%build
5550fa1
%configure --disable-static --disable-schemas-install		\
Dodji Seketeli 06db614
	--disable-scrollkeeper --enable-gsettings
1cb12e9
# Use system libtool to prevent build scripts from using RPATH hacks.
1cb12e9
make %{?_smp_mflags} LIBTOOL=%{_bindir}/libtool
b280dab
b280dab
b280dab
%install
b280dab
rm -rf %{buildroot}
Dodji Seketeli 06db614
make install DESTDIR=$RPM_BUILD_ROOT
b280dab
%find_lang %{name}
5550fa1
desktop-file-install --vendor fedora			\
b280dab
	--dir %{buildroot}%{_datadir}/applications	\
5550fa1
	--remove-category=Application			\
5550fa1
	--delete-original				\
b280dab
	%{buildroot}/%{_datadir}/applications/%{name}.desktop
b280dab
b280dab
b280dab
%clean
b280dab
rm -rf %{buildroot}
b280dab
b280dab
%post
b280dab
/sbin/ldconfig
Dodji Seketeli 06db614
update-desktop-database -q
b280dab
touch --no-create %{_datadir}/icons/hicolor ||:
b280dab
b280dab
%postun
b280dab
/sbin/ldconfig
Dodji Seketeli 06db614
update-desktop-database -q
Dodji Seketeli 06db614
if [ $1 -eq 0 ]; then
Dodji Seketeli 06db614
  touch --no-create %{_datadir}/icons/hicolor >&/dev/null || :
Dodji Seketeli 06db614
  gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
Dodji Seketeli 06db614
  glib-compile-schemas %{_datadir}/glib-2.0/schemas
Dodji Seketeli 06db614
fi
b280dab
Dodji Seketeli 06db614
%posttrans
Dodji Seketeli 06db614
gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
Dodji Seketeli 06db614
glib-compile-schemas %{_datadir}/glib-2.0/schemas
b280dab
b280dab
%files -f %{name}.lang
b280dab
%defattr(-,root,root,-)
b280dab
%doc AUTHORS ChangeLog COPYING COPYRIGHT NEWS README TODO 
dec1995
%exclude %{_includedir}/%{name}
c93c367
%exclude %{_libdir}/%{name}/*.a
c93c367
%exclude %{_libdir}/%{name}/*.la
1cb12e9
%exclude %{_libdir}/%{name}/modules/*.a
c93c367
%exclude %{_libdir}/%{name}/modules/*.la
dec1995
%exclude %{_libdir}/%{name}/plugins/*/*.la
dec1995
%exclude %{_libdir}/%{name}/plugins/*/*.a
b280dab
%{_bindir}/%{name}
b280dab
%{_libdir}/%{name}/
Dodji Seketeli 06db614
%{_datadir}/glib-2.0/schemas/org.nemiver.gschema.xml
b280dab
%{_datadir}/applications/fedora-%{name}.desktop
b280dab
%{_datadir}/icons/hicolor/*/apps/%{name}.*
b280dab
%{_datadir}/%{name}/
5550fa1
%{_datadir}/omf/%{name}/
5550fa1
%{_datadir}/gnome/help/%{name}/
ace5dfc
%{_mandir}/man?/%{name}.*
b280dab
b280dab
%changelog
159ae27
* Sun Sep 18 2011  <dodji@seketeli.org> - 0.9.0-1
159ae27
- Drop the gtk2 release suffix to fix upgrading to F16
159ae27
- Ajusted Source0 and %%setup script accordingly
159ae27
13bf069
* Sun Sep 11 2011  <dodji@redhat.com> - 0.9.0gtk2-1
13bf069
- Update to 0.9.0gtk2 upstream version
13bf069
Dodji Seketeli 06db614
* Sat May  7 2011  <dodji@seketeli.org> - 0.8.2-1
Dodji Seketeli 06db614
- Update to upstream release 0.8.2
Dodji Seketeli 06db614
- Enable GSettings.  Remove usage of GConf.  Bump glibmm24 requirement
Dodji Seketeli 06db614
  to 2.25 (to support gsettings) Add build requirements for
Dodji Seketeli 06db614
  gsettings-desktop-schemas-devel, dconf and glib2-devel >= 2.28.
Dodji Seketeli 06db614
  Remove GConf schema from package.  Add gsettings schema.
Dodji Seketeli 06db614
- Remove use of scrollkeeper at long last.
Dodji Seketeli 06db614
- Cleanup and update scriplet snippets.
Dodji Seketeli 06db614
- Bump gtkmm24 build requirement to 2.20 as per what upstream
Dodji Seketeli 06db614
  requires.
Dodji Seketeli 06db614
a37d8a6
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1-2
a37d8a6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
a37d8a6
Dodji Seketeli 530edfc
* Sun Jan  9 2011  <dodji@seketeli.org> - 0.8.1-1
Dodji Seketeli 530edfc
- Update to upstream release 0.8.1
Dodji Seketeli 530edfc
- Change Source0 to point to the .gz tarball instead of the .bz
Dodji Seketeli 530edfc
1fefe74
* Tue Oct 19 2010  <dodji@seketeli.org> - 0.8.0-1
1fefe74
- Update upstream release 0.8.0
1fefe74
- Drop patches 0001-Fix-build-with-gcc-4.5.patch and
1fefe74
  0001-More-GCC-4.5-fixes-611588.patch as they are now released upstream
1fefe74
- Remove libglademm and libgnome dependencies are they got removed upstream
1fefe74
- Add GConf2 dependency
1fefe74
Jesse Keating 2315015
* Wed Sep 29 2010 jkeating - 0.7.3-3
Jesse Keating 2315015
- Rebuilt for gcc bug 634757
Jesse Keating 2315015
dodjirpm 98f6c3b
* Thu Sep 23 2010  <dodji@seketeli.org> - 0.7.3-2
dodjirpm 98f6c3b
- Fix source0 URL.
dodjirpm 98f6c3b
- 0001-Fix-build-with-gcc-4.5.patch and 0001-More-GCC-4.5-fixes-611588.patch:
dodjirpm 98f6c3b
  fix build breakage with GCC 4.5
dodjirpm 98f6c3b
e9e98dd
* Sun Dec 06 2009 Dodji Seketeli <dodji@redhat.com> - 0.7.3-1
e9e98dd
- Update to new upstream release (0.7.3)
e9e98dd
b64dc80
* Sat Sep 12 2009 Dodji Seketeli <dodji@redhat.com> - 0.7.2-1
b64dc80
- Update to new upstream release (0.7.2)
b64dc80
be04ec0
* Sat Aug 01 2009 Dodji Seketeli <dodji@redhat.com> - 0.7.1-1
be04ec0
- Update to new upstream release (0.7.1)
be04ec0
d70a161
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.0-3
d70a161
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
d70a161
a4ad063
* Thu Jul 02 2009 Dodji Seketeli <dodji@redhat.com> - 0.7.0-2
a4ad063
- Fix typo (redhat.org -> redhat.com)
a4ad063
7b3f39e
* Thu Jul 02 2009 Dodji Seketeli <dodji@redhat.com> - 0.7.0-1
7b3f39e
- Update to new upstream release (0.7.0)
7b3f39e
628a8ce
* Sat May 02 2009 Dodji Seketeli <dodji@redhat.com> - 0.6.7-1
628a8ce
- Update to new upstream release (0.6.7)
628a8ce
a4ad063
* Fri Apr 03 2009 Dodji Seketeli <dodji@redhat.com> - 0.6.6-1
c37d7bb
- Update to new upstream release (0.6.6)
c37d7bb
- Drop patch http://bugzilla.gnome.org/show_bug.cgi?id=574915
c37d7bb
  as included in upstream release.
c37d7bb
a4ad063
* Fri Mar 13 2009 Dodji Seketeli <dodji@redhat.com> - 0.6.5-2
dec1995
- Add upstream patch http://bugzilla.gnome.org/show_bug.cgi?id=574915
dec1995
  Fixes a "spinner not found" bug.
dec1995
- Add boost-static in BuildRequires (required for nemiver tests)
dec1995
- Remove more *.a files
dec1995
- Do not ship nemiver-headers package
dec1995
  Upstream can't garantee API/ABI stability yet and
dec1995
  nobody uses this package yet anyway
dec1995
a4ad063
* Sun Mar 01 2009 Dodji Seketeli <dodji@redhat.com> - 0.6.5-1
1985e00
- Update to new upstream release (0.6.5)
1985e00
- Drop include-stdint.patch as pushed upstream
1985e00
- BuildRequire intltool
1985e00
a4ad063
* Tue Feb 24 2009 Dodji Seketeli <dodji@redhat.com> - 0.6.4-2
e4c33a5
- Rebuild against ghex 2.2.4. This should fix #571099
e4c33a5
- Patch Nemiver to make it compile with gcc 4.3.3
e4c33a5
be04ec0
* Sat Jan 17 2009 Denis Leroy <denis@poolshark.com> - 0.6.4-1
c795904
- Update to upstream 0.6.4
c795904
- Now build against gtksourceviewmm 2.2.0
c795904
3db4daf
* Sun Sep 28 2008 Peter Gordon <peter@thecodergeek.com> - 0.6.3-1
3db4daf
- Update to new upstream release (0.6.3).
3db4daf
- Set the minimum required version of gtkmm-24 to 2.12.7; and update the
3db4daf
  Summary field to reflect the current state of upstream, as recommended by
3db4daf
  Dodji Seketeli.
3db4daf
- Resolves: #464413 (Nemiver 0.6.3 has been released upstream)
3db4daf
ab375ab
* Sat Sep 13 2008 Peter Gordon <peter@thecodergeek.com> - 0.6.2-1
ab375ab
- Update to new upstream release (0.6.2).
ab375ab
3e44239
* Wed Aug  6 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.6.1-3
3e44239
- bump to rebuild against old libgtksourceviewmm
3e44239
5b6b72a
* Tue Aug  5 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.6.1-2
5b6b72a
- rebuild for new libgtksourceviewmm
5b6b72a
1a30a78
* Thu Jul 31 2008 Peter Gordon <peter@thecodergeek.com> - 0.6.1-1
1a30a78
- Update to new upstream release (0.6.1).
1a30a78
9b7f239
* Sat Jul 19 2008 Peter Gordon <peter@thecodergeek.com> - 0.5.5-0.1.svn889
9b7f239
- Update to new upstream snapshot (SVN 889): increased performance when
9b7f239
  stepping in big applications like WebKit, ability to call arbitrary functions
9b7f239
  in the inferior process being debugged and support for conditional
9b7f239
  breakpoints, and loads of bug-fixes. Sweet!
9b7f239
- Fix typo in previous %%changelog entry.
9b7f239
c93c367
* Fri Jun 27 2008 Peter Gordon <peter@thecodergeek.com> - 0.5.4-1
c93c367
- Update to new upstream release (0.5.4)
c93c367
- Rename -devel subpackage to -headers and adjust the %%description
c93c367
  accordingly. (It no longer contains any shared library symlinks or pkgconfig
c93c367
  data; and thus would not be multilib-friendly. We can't put it in the main
c93c367
  package due to its additional *-devel dependencies. Finally, upstream has
c93c367
  said that nothing should really be using the libnemivercommon API yet
c93c367
  anyway.)
9b7f239
- Drop the libnemiver global library patch (fixed upstream)
c93c367
  - make-libnemivercommon-global-lib.patch
c93c367
0b98289
* Mon May 26 2008 Peter Gordon <peter@thecodergeek.com> - 0.5.3-1
0b98289
- Update to new upstream release (0.5.3)
0b98289
- Add upstream bug reference for make-libnemivercommon-global-lib patch. 
0b98289
1cb12e9
* Fri Apr 11 2008 Peter Gordon <peter@thecodergeek.com> - 0.5.2-1
1cb12e9
- Update to new upstream release (0.5.2)
1cb12e9
- Add patch to keep the nemivercommon shared library in the global  %%_libdir,
1cb12e9
  rather that in a private directory therein. This allows other sources to
1cb12e9
  properly build against it without using nasty RPATH hacks, and also makes RPM
1cb12e9
  correctly add same-arch dependencies from the devel subpackage to the main
1cb12e9
  package via that unversioned binary symlink:
1cb12e9
  + make-libnemivercommon-global-lib.patch    
1cb12e9
- Alphabetize dependency list (aesthetic-only change)
1cb12e9
ace5dfc
* Sat Mar 22 2008 Peter Gordon <peter@thecodergeek.com> - 0.5.1-1
ace5dfc
- Update to new upstream release (0.5.1)
ace5dfc
- Drop upstreamed GCC 4.3 and build-fix patches:
ace5dfc
  - gcc43.patch
ace5dfc
  - multiple-a_key-params.patch
ace5dfc
ace5dfc
* Sun Mar 09 2008 Peter Gordon <peter@thecodergeek.com> - 0.5.0-1
ace5dfc
- Update to new upstream release (0.5.0)
ace5dfc
- Rebuild for GCC 4.3
ace5dfc
- Drop upstreamed patches:
ace5dfc
  - setbreakpoint-glade-filename.patch
ace5dfc
  - pid_t-fix-build.patch
ace5dfc
- Add patch to fix build errors with GCC 4.3 reduced headers:
ace5dfc
  + gcc43.patch
ace5dfc
- Add patch to fix multiple a_key function parameters:
ace5dfc
  + multiple-a_key-params.patch
ace5dfc
dbb3659
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.4.0-5
dbb3659
- Autorebuild for GCC 4.3
dbb3659
3dde5dd
* Wed Jan 30 2008 Peter Gordon <peter@thecodergeek.com> - 0.4.0-4
3dde5dd
- Add patch to fix missing setbreakpoint.glade file error (should be
3dde5dd
  setbreakpointdialog.glade). Fixes bug 430971 (missing glade file).
3dde5dd
  + setbreakpoint-glade-filename.patch
3dde5dd
79d2203
* Thu Jan 10 2008 Peter Gordon <peter@thecodergeek.com> - 0.4.0-3
f1250a5
- Make GConf scriplets quieter (bug 426801: "unclean" rpm transaction).
79d2203
- Add upstream patch to fix compile errors with casting from unsigned int*
79d2203
  to pid_t* due to libgtop API change:
79d2203
  + pid_t-fix-build.patch
f1250a5
80a4c19
* Tue Aug 21 2007 Peter Gordon <peter@thecodergeek.com> - 0.4.0-2
80a4c19
- Rebuild with BuildID-enabled binutils.
80a4c19
- Update License tag (GPLv2+)
80a4c19
5550fa1
* Sun Jun 03 2007 Peter Gordon <peter@thecodergeek.com> - 0.4.0-1
5550fa1
- Update to new upstream release (0.4.0)
5550fa1
b280dab
* Sat Feb 17 2007 Peter Gordon <peter@thecodergeek.com> - 0.3.0-6
b280dab
- Remove chcon invocation entirely; as it is not needed.
b280dab
- Don't install libtool archives (.la files) of the plugins.
b280dab
b280dab
* Tue Feb 13 2007 Peter Gordon <peter@thecodergeek.com> - 0.3.0-5
b280dab
- chcon call should be in %%post, not %%install
b280dab
b280dab
* Mon Feb 12 2007 Peter Gordon <peter@thecodergeek.com> - 0.3.0-4
b280dab
- Mark the libdbgperspectiveplugin.so plugin with a textrel_shlib_t context to
b280dab
  workaround SELinux execmod denials.
b280dab
- Hardcoded RPATHs are bad (especially when they are simply repeats of the
b280dab
  standard LIBDIR stuff); so get rid of them in the supplied libtool with a
b280dab
  couple of sed incantantions from the packaging guidelines.
b280dab
b280dab
* Wed Jan 24 2007 Peter Gordon <peter@thecodergeek.com> - 0.3.0-3
b280dab
- Another fix from Michael Schwendt: Don't mark installed GConf schemas as
b280dab
  %%config. 
b280dab
b280dab
* Tue Jan 23 2007 Peter Gordon <peter@thecodergeek.com> - 0.3.0-2
b280dab
- Fix issues noted in review comments (Thanks to Michael Schwendt, #223943):
b280dab
  (1) Add %%defattr line to the -devel subpackage %%files list.
b280dab
  (2) Fix consistency of schemas listing by not using a glob in the
b280dab
      %%files list, since they are separate in the scriplets' gconftool-2
b280dab
      calls.
b280dab
  (3) Add gettext and perl(XML::Parser) BuildRequires to fix mock building.
b280dab
  (4) Add and explicitly version the Requires for the -devel subpackage due
b280dab
      to various dependencies in the installed .pc file: libxml2-devel,
b280dab
      glibmm24-devel, gnome-vfs2-devel. (glib2-devel is also needed, but that
b280dab
      is pulled in as as dependency of glibmm24-devel.) 
b280dab
b280dab
* Mon Jan 22 2007 Peter Gordon <peter@thecodergeek.com> - 0.3.0-1
b280dab
- Initial packaging for Fedora Extras.