rpms/nemiver/FC-6 nemiver.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Peter Gordon (pgordon) fedora-extras-commits at redhat.com
Sat Apr 7 19:36:12 UTC 2007


Author: pgordon

Update of /cvs/extras/rpms/nemiver/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv26208/FC-6

Modified Files:
	.cvsignore sources 
Added Files:
	nemiver.spec 
Log Message:
Initial import of nemiver for FC-6 and devel (bug #223943).


--- NEW FILE nemiver.spec ---
Name:		nemiver
Version:	0.3.0
Release:	6%{?dist}
Summary:	A C/C++ Debugger for GNOME - point, click, debug!

Group:		Development/Debuggers
License:	GPL
URL:		http://home.gna.org/nemiver/

Source0:	http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.3/%{name}-%{version}.tar.bz2

BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:	libgtksourceviewmm-devel >= 0.3.0	
BuildRequires:	gdb
BuildRequires:	boost-devel
BuildRequires:	gnome-vfs2-devel >= 2.14
BuildRequires:	libgtop2-devel >= 2.14
BuildRequires:	sqlite-devel >= 3.0
BuildRequires:	vte-devel >= 0.12.0
BuildRequires:	libglademm24-devel >= 2.6.0
BuildRequires:	desktop-file-utils
BuildRequires:	gettext
BuildRequires:	perl(XML::Parser)

Requires(pre):	GConf2

Requires(post):	GConf2

Requires(preun):	GConf2

## Needs hicolor-icon-theme so that the parent %%_datadir/icons/hicolor
## and its subtree directories are properly owned.
Requires:	hicolor-icon-theme
Requires:	gdb

## Mostly taken from its site index... :]
%description
Nemiver is an ongoing effort to write 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.

%package	devel
Summary:	Development files for %{name}
Group:		Development/Libraries
Requires:	%{name} = %{version}-%{release}
Requires:	pkgconfig
## Needs these for the various #include directives in its headers, as well
## as pkgconfig dependencies...
Requires:	boost-devel
Requires:	glibmm24-devel >= 2.8.5
Requires:	libxml2-devel >= 2.6.22
Requires:	gnome-vfs2-devel >= 2.14

%description	devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.


%prep
%setup -q


%build
%configure --disable-static --disable-schemas-install 
## Fix RPATH hardcoding.
sed -ie 's|^hardcode_libdir_flag_spec=.*$|hardcode_libdir_flag_spec=""|g' libtool
sed -ie 's|^runpath_var=LD_RUN_PATH$|runpath_var=DIE_RPATH_DIE|g' libtool
make %{?_smp_mflags}


%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
%find_lang %{name}
desktop-file-install --vendor fedora	\
	--dir %{buildroot}%{_datadir}/applications	\
	--remove-category=Application	\
	--delete-original	\
	%{buildroot}/%{_datadir}/applications/%{name}.desktop


%clean
rm -rf %{buildroot}


%pre
if [ "$1" -gt 1 ]; then
	export GCONF_CONFIG_SOURCE=$(gconftool-2 --get-default-source)
	gconftool-2 --makefile-uninstall-rule \
		%{_sysconfdir}/gconf/schemas/%{name}-dbgperspective.schemas >/dev/null ||:
	gconftool-2 --makefile-uninstall-rule \
		%{_sysconfdir}/gconf/schemas/%{name}-workbench.schemas >/dev/null ||:
fi


%post
/sbin/ldconfig
export GCONF_CONFIG_SOURCE=$(gconftool-2 --get-default-source)
gconftool-2 --makefile-install-rule \
		%{_sysconfdir}/gconf/schemas/%{name}-dbgperspective.schemas >/dev/null ||:
gconftool-2 --makefile-install-rule \
		%{_sysconfdir}/gconf/schemas/%{name}-workbench.schemas >/dev/null ||:
touch --no-create %{_datadir}/icons/hicolor ||:
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:


%preun
if [ "$1" -eq 0 ]; then
	export GCONF_CONFIG_SOURCE=$(gconftool-2 --get-default-source)
	gconftool-2 --makefile-uninstall-rule \
		%{_sysconfdir}/gconf/schemas/%{name}-dbgperspective.schemas >/dev/null ||:
	gconftool-2 --makefile-uninstall-rule \
		%{_sysconfdir}/gconf/schemas/%{name}-workbench.schemas >/dev/null ||:
fi


%postun
/sbin/ldconfig
touch --no-create %{_datadir}/icons/hicolor ||:
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:


%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING COPYRIGHT NEWS README TODO 
%{_bindir}/%{name}
%exclude %{_libdir}/*.la
%{_libdir}/libnemivercommon.so.*
%{_libdir}/%{name}/
%{_sysconfdir}/gconf/schemas/%{name}-dbgperspective.schemas
%{_sysconfdir}/gconf/schemas/%{name}-workbench.schemas
%{_datadir}/applications/fedora-%{name}.desktop
%{_datadir}/icons/hicolor/*/apps/%{name}.*
%{_datadir}/%{name}/

%files devel
%defattr(-,root,root,-)
%doc COPYING
%{_libdir}/libnemivercommon.so
%{_libdir}/pkgconfig/libnemivercommon.pc
%{_includedir}/%{name}/


%changelog
* Sat Feb 17 2007 Peter Gordon <peter at thecodergeek.com> - 0.3.0-6
- Remove chcon invocation entirely; as it is not needed.
- Don't install libtool archives (.la files) of the plugins.

* Tue Feb 13 2007 Peter Gordon <peter at thecodergeek.com> - 0.3.0-5
- chcon call should be in %%post, not %%install

* Mon Feb 12 2007 Peter Gordon <peter at thecodergeek.com> - 0.3.0-4
- Mark the libdbgperspectiveplugin.so plugin with a textrel_shlib_t context to
  workaround SELinux execmod denials.
- Hardcoded RPATHs are bad (especially when they are simply repeats of the
  standard LIBDIR stuff); so get rid of them in the supplied libtool with a
  couple of sed incantantions from the packaging guidelines.

* Wed Jan 24 2007 Peter Gordon <peter at thecodergeek.com> - 0.3.0-3
- Another fix from Michael Schwendt: Don't mark installed GConf schemas as
  %%config. 

* Tue Jan 23 2007 Peter Gordon <peter at thecodergeek.com> - 0.3.0-2
- Fix issues noted in review comments (Thanks to Michael Schwendt, #223943):
  (1) Add %%defattr line to the -devel subpackage %%files list.
  (2) Fix consistency of schemas listing by not using a glob in the
      %%files list, since they are separate in the scriplets' gconftool-2
      calls.
  (3) Add gettext and perl(XML::Parser) BuildRequires to fix mock building.
  (4) Add and explicitly version the Requires for the -devel subpackage due
      to various dependencies in the installed .pc file: libxml2-devel,
      glibmm24-devel, gnome-vfs2-devel. (glib2-devel is also needed, but that
      is pulled in as as dependency of glibmm24-devel.) 

* Mon Jan 22 2007 Peter Gordon <peter at thecodergeek.com> - 0.3.0-1
- Initial packaging for Fedora Extras.


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/nemiver/FC-6/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	7 Apr 2007 15:25:25 -0000	1.1
+++ .cvsignore	7 Apr 2007 19:35:38 -0000	1.2
@@ -0,0 +1 @@
+nemiver-0.3.0.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/nemiver/FC-6/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	7 Apr 2007 15:25:25 -0000	1.1
+++ sources	7 Apr 2007 19:35:38 -0000	1.2
@@ -0,0 +1 @@
+289d46e97c125b95fdc5de9dd9736d7c  nemiver-0.3.0.tar.bz2




More information about the scm-commits mailing list