|
@@ -1,38 +1,32 @@
|
|
-%define build_vine5 0
|
|
|
|
-
|
|
|
|
-%if "%{?_dist_release}" == "vl5"
|
|
|
|
-%define build_vine5 1
|
|
|
|
-%endif
|
|
|
|
-
|
|
|
|
Summary: Standalone graphical debugger for GNOME
|
|
Summary: Standalone graphical debugger for GNOME
|
|
Summary(ja): GNOME 向けの GUI デバッガ
|
|
Summary(ja): GNOME 向けの GUI デバッガ
|
|
Name: nemiver
|
|
Name: nemiver
|
|
-Version: 0.8.0
|
|
|
|
|
|
+Version: 0.9.2
|
|
Release: 1%{?_dist_release}
|
|
Release: 1%{?_dist_release}
|
|
-Source0: %{name}-%{version}.tar.bz2
|
|
|
|
-Patch0: nemiver-0.8.0-below-gtkmm2.18.0.patch
|
|
|
|
|
|
+Source0: %{name}-%{version}.tar.xz
|
|
License: GPLv2
|
|
License: GPLv2
|
|
Group: Applications/Development
|
|
Group: Applications/Development
|
|
URL: http://projects.gnome.org/nemiver/
|
|
URL: http://projects.gnome.org/nemiver/
|
|
|
|
|
|
-Requires: gdb
|
|
|
|
-Requires: ghex > 2.21.4
|
|
|
|
-Requires(pre): GConf2
|
|
|
|
-Requires(post): GConf2, desktop-file-utils, scrollkeeper
|
|
|
|
-Requires(postun):GConf2, desktop-file-utils, scrollkeeper
|
|
|
|
-BuildRequires: ghex > 2.21.4
|
|
|
|
|
|
+Requires: ghex > 2.90
|
|
|
|
+Requires(post): desktop-file-utils
|
|
|
|
+Requires(postun):desktop-file-utils
|
|
BuildRequires: gdb
|
|
BuildRequires: gdb
|
|
BuildRequires: gnome-doc-utils >= 0.3.2
|
|
BuildRequires: gnome-doc-utils >= 0.3.2
|
|
-BuildRequires: gtkmm2-devel >= 2.14.0
|
|
|
|
-BuildRequires: gtksourceviewmm-devel >= 1.9.4
|
|
|
|
|
|
+BuildRequires: gtkmm3-devel >= 3.2.0
|
|
|
|
+BuildRequires: gtksourceviewmm3-devel >= 3.2.0
|
|
BuildRequires: libgtop2-devel >= 2.14
|
|
BuildRequires: libgtop2-devel >= 2.14
|
|
-BuildRequires: vte-devel >= 0.12.0
|
|
|
|
-BuildRequires: GConf2-devel >= 2.14.0
|
|
|
|
|
|
+BuildRequires: vte3-devel >= 0.12.0
|
|
BuildRequires: sqlite3-devel >= 3.0
|
|
BuildRequires: sqlite3-devel >= 3.0
|
|
BuildRequires: libboost-devel >= 1.33.1
|
|
BuildRequires: libboost-devel >= 1.33.1
|
|
|
|
+BuildRequires: ghex-devel > 2.90
|
|
|
|
+BuildRequires: dconf-devel
|
|
|
|
+BuildRequires: gsettings-desktop-schemas-devel
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
+Patch0: nemiver-0.9.2-iostream.patch
|
|
|
|
+
|
|
Packager: kazutaka
|
|
Packager: kazutaka
|
|
|
|
|
|
%description
|
|
%description
|
|
@@ -67,14 +61,11 @@ develop applications using %{name}.
|
|
|
|
|
|
%prep
|
|
%prep
|
|
%setup -q
|
|
%setup -q
|
|
-%if %{build_vine5}
|
|
|
|
-%patch0 -p1 -b .below-gtkmm218
|
|
|
|
-%endif
|
|
|
|
|
|
+%patch0 -p1 -b .iostream
|
|
|
|
+
|
|
|
|
|
|
%build
|
|
%build
|
|
-%configure --disable-static \
|
|
|
|
- --disable-scrollkeeper \
|
|
|
|
- --disable-schemas-install
|
|
|
|
|
|
+%configure --disable-static
|
|
|
|
|
|
%{__make} %{?_smp_mflags}
|
|
%{__make} %{?_smp_mflags}
|
|
|
|
|
|
@@ -92,49 +83,26 @@ find $RPM_BUILD_ROOT/%{_libdir} -name "*.la" -exec %{__rm} -f "{}" \;
|
|
%{__rm} -rf $RPM_BUILD_ROOT
|
|
%{__rm} -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
-%pre
|
|
|
|
-# uninstall old schemas before update
|
|
|
|
-if [ "$1" -gt 1 ]; then
|
|
|
|
- export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
|
|
|
|
- SCHEMAS="nemiver-dbgperspective.schemas nemiver-workbench.schemas"
|
|
|
|
- for S in $SCHEMAS; do
|
|
|
|
- echo %{_sysconfdir}/gconf/schemas/$S ; done \
|
|
|
|
- | xargs gconftool-2 --makefile-uninstall-rule >& /dev/null ||:
|
|
|
|
-fi
|
|
|
|
-
|
|
|
|
%post
|
|
%post
|
|
update-desktop-database %{_datadir}/applications >& /dev/null ||:
|
|
update-desktop-database %{_datadir}/applications >& /dev/null ||:
|
|
-scrollkeeper-update > /dev/null 2>&1 || :
|
|
|
|
touch --no-create %{_datadir}/icons/hicolor
|
|
touch --no-create %{_datadir}/icons/hicolor
|
|
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
|
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
|
/usr/bin/gtk-update-icon-cache -q %{_datadir}/icons/hicolor ||:
|
|
/usr/bin/gtk-update-icon-cache -q %{_datadir}/icons/hicolor ||:
|
|
fi
|
|
fi
|
|
|
|
|
|
-# install schemas after install/update
|
|
|
|
-export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
|
|
|
|
-SCHEMAS="nemiver-dbgperspective.schemas nemiver-workbench.schemas"
|
|
|
|
-for S in $SCHEMAS; do
|
|
|
|
- echo %{_sysconfdir}/gconf/schemas/$S ; done \
|
|
|
|
- | xargs gconftool-2 --makefile-install-rule >& /dev/null ||:
|
|
|
|
-
|
|
|
|
-%preun
|
|
|
|
-# uninstall schemas before clean remove
|
|
|
|
-if [ "$1" -eq 0 ]; then
|
|
|
|
- export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
|
|
|
|
- SCHEMAS="nemiver-dbgperspective.schemas nemiver-workbench.schemas"
|
|
|
|
- for S in $SCHEMAS; do
|
|
|
|
- echo %{_sysconfdir}/gconf/schemas/$S ; done \
|
|
|
|
- | xargs gconftool-2 --makefile-uninstall-rule >& /dev/null ||:
|
|
|
|
-fi
|
|
|
|
-
|
|
|
|
%postun
|
|
%postun
|
|
update-desktop-database %{_datadir}/applications >& /dev/null ||:
|
|
update-desktop-database %{_datadir}/applications >& /dev/null ||:
|
|
-scrollkeeper-update > /dev/null 2>&1 || :
|
|
|
|
|
|
+if [ $1 -eq 0 ]; then
|
|
|
|
+ glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
|
|
|
|
+fi
|
|
touch --no-create %{_datadir}/icons/hicolor
|
|
touch --no-create %{_datadir}/icons/hicolor
|
|
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
|
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
|
/usr/bin/gtk-update-icon-cache -q %{_datadir}/icons/hicolor ||:
|
|
/usr/bin/gtk-update-icon-cache -q %{_datadir}/icons/hicolor ||:
|
|
fi
|
|
fi
|
|
|
|
|
|
|
|
+%posttrans
|
|
|
|
+glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
|
|
|
|
+
|
|
|
|
|
|
%files -f %{name}.lang
|
|
%files -f %{name}.lang
|
|
%defattr(-,root,root)
|
|
%defattr(-,root,root)
|
|
@@ -150,17 +118,24 @@ fi
|
|
%{_datadir}/icons/hicolor/32x32/apps/%{name}.png
|
|
%{_datadir}/icons/hicolor/32x32/apps/%{name}.png
|
|
%{_datadir}/icons/hicolor/48x48/apps/%{name}.png
|
|
%{_datadir}/icons/hicolor/48x48/apps/%{name}.png
|
|
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
|
|
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
|
|
|
|
+%{_datadir}/glib-2.0/schemas/org.%{name}.gschema.xml
|
|
%{_datadir}/gnome/help/%{name}
|
|
%{_datadir}/gnome/help/%{name}
|
|
%{_datadir}/omf/%{name}
|
|
%{_datadir}/omf/%{name}
|
|
-%{_mandir}/man1/nemiver.1*
|
|
|
|
-%{_sysconfdir}/gconf/schemas/nemiver-dbgperspective.schemas
|
|
|
|
-%{_sysconfdir}/gconf/schemas/nemiver-workbench.schemas
|
|
|
|
|
|
+%{_mandir}/man1/%{name}.1*
|
|
|
|
|
|
%files devel
|
|
%files devel
|
|
%{_includedir}/%{name}
|
|
%{_includedir}/%{name}
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Tue Jun 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.2-1
|
|
|
|
+- new upstream release
|
|
|
|
+- add Patch0 (nemiver-0.9.2-iostream.patch)
|
|
|
|
+- change BuildRequires: gtksourceviewmm3-devel instead of gtksourceviewmm-devel
|
|
|
|
+- change BuildRequires: gtkmm3-devel instead of gtkmm2-devel
|
|
|
|
+- change BuildRequires: vte3-devel instead of vte-devel
|
|
|
|
+- remove BuildRequires: GConf2-devel
|
|
|
|
+- add BuildRequires: dconf-devel, gsettings-desktop-schemas-devel
|
|
|
|
+
|
|
* Sun Oct 24 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 0.8.0-1
|
|
* Sun Oct 24 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 0.8.0-1
|
|
- initial build for Vine Linux
|
|
- initial build for Vine Linux
|
|
-- add patch0 to fix compile error with gtkmm-2.14 (for Vine Linux 5)
|
|
|