# # spec file for package nemiver # # Copyright (c) 2011 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/ # Name: nemiver Version: 0.9.0 Release: 1 # FIXME: uncomment pkgconfig(gdlmm-3.0) BuildRequires when we have gdlmm packages License: GPLv2+ Summary: Nemiver graphical debugger Group: Development/Tools/Debuggers Url: http://home.gna.org/nemiver/ Source0: http://download.gnome.org/sources/nemiver/0.9/%{name}-%{version}.tar.bz2 BuildRequires: boost-devel BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: gdb BuildRequires: gnome-doc-utils-devel BuildRequires: intltool BuildRequires: libgtop-devel BuildRequires: sqlite-devel BuildRequires: translation-update-upstream BuildRequires: update-desktop-files # No such package right now. #BuildRequires: pkgconfig(gdlmm-3.0) >= 3.0 BuildRequires: pkgconfig(giomm-2.4) >= 2.15.2 BuildRequires: pkgconfig(gsettings-desktop-schemas) BuildRequires: pkgconfig(gtkhex-3) >= 2.90 BuildRequires: pkgconfig(gtkmm-3.0) >= 3.0 BuildRequires: pkgconfig(gtksourceviewmm-3.0) >= 3.0 BuildRequires: pkgconfig(vte-2.90) >= 0.28 Requires: gdb Recommends: %{name}-lang BuildRoot: %{_tmppath}/%{name}-%{version}-build %glib2_gsettings_schema_requires %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. %package devel License: GPLv2+ Summary: Nemiver graphical debugger - Development files Requires: %{name} = %{version} 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. %lang_package %prep %setup -q translation-update-upstream %build %configure --disable-static --with-pic\ --disable-scrollkeeper \ --enable-gsettings %__make %{?jobs:-j%jobs} %install %makeinstall %suse_update_desktop_file nemiver %find_lang %{name} %{?no_lang_C} # remove la files find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print # create symlinks for man pages %fdupes -s $RPM_BUILD_ROOT/%_mandir # create hardlinks for the rest %fdupes $RPM_BUILD_ROOT %clean rm -rf "$RPM_BUILD_ROOT" %if 0%{?suse_version} > 1130 %post %desktop_database_post %icon_theme_cache_post %glib2_gsettings_schema_post %endif %if 0%{?suse_version} > 1130 %postun %desktop_database_postun %icon_theme_cache_postun %glib2_gsettings_schema_postun %endif %files %defattr(-,root,root) %doc AUTHORS README NEWS TODO %dir %{_datadir}/gnome/ %dir %{_datadir}/gnome/help/ %dir %{_datadir}/gnome/help/%{name}/ %doc %{_datadir}/gnome/help/%{name}/C/ %dir %{_datadir}/omf/ %dir %{_datadir}/omf/%{name}/ %doc %{_datadir}/omf/%{name}/%{name}-C.omf %{_bindir}/* %{_libdir}/nemiver/ %{_datadir}/nemiver/ %{_datadir}/applications/* %{_datadir}/glib-2.0/schemas/org.nemiver.gschema.xml %{_datadir}/icons/*/*/apps/nemiver.* %{_mandir}/man1/nemiver.1.gz %files devel %defattr(-,root,root) %doc AUTHORS README NEWS TODO %{_includedir}/nemiver/ #%{_libdir}/pkgconfig/libnemivercommon.pc %files lang -f %{name}.lang %changelog