Kaynağa Gözat

new upstream release

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@6384 ec354946-7b23-47d6-9f5a-488ba84defc7
Takemikaduchi 12 yıl önce
ebeveyn
işleme
6415cc5798
1 değiştirilmiş dosya ile 33 ekleme ve 58 silme
  1. 33 58
      n/nemiver/nemiver-vl.spec

+ 33 - 58
n/nemiver/nemiver-vl.spec

@@ -1,38 +1,32 @@
-%define build_vine5 0
-
-%if "%{?_dist_release}" == "vl5"
-%define build_vine5 1
-%endif
-
 Summary:	Standalone graphical debugger for GNOME
 Summary(ja): 	GNOME 向けの GUI デバッガ
 Name:		nemiver
-Version:	0.8.0
+Version:	0.9.2
 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
 Group:		Applications/Development
 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:	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:	vte-devel >= 0.12.0
-BuildRequires:	GConf2-devel >= 2.14.0
+BuildRequires:	vte3-devel >= 0.12.0
 BuildRequires:	sqlite3-devel >= 3.0
 BuildRequires:	libboost-devel >= 1.33.1
+BuildRequires:	ghex-devel > 2.90
+BuildRequires:	dconf-devel
+BuildRequires:	gsettings-desktop-schemas-devel
 
 BuildRoot:	%{_tmppath}/%{name}-%{version}-root
 
+Patch0:		nemiver-0.9.2-iostream.patch
+
 Packager:	kazutaka
 
 %description
@@ -67,14 +61,11 @@ develop applications using %{name}.
 
 %prep
 %setup -q
-%if %{build_vine5}
-%patch0 -p1 -b .below-gtkmm218
-%endif
+%patch0 -p1 -b .iostream
+
 
 %build
-%configure --disable-static \
-           --disable-scrollkeeper \
-           --disable-schemas-install
+%configure --disable-static
 
 %{__make} %{?_smp_mflags}
 
@@ -92,49 +83,26 @@ find $RPM_BUILD_ROOT/%{_libdir} -name "*.la" -exec %{__rm} -f "{}" \;
 %{__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
 update-desktop-database %{_datadir}/applications >& /dev/null ||:
-scrollkeeper-update > /dev/null 2>&1 || :
 touch --no-create %{_datadir}/icons/hicolor
 if [ -x /usr/bin/gtk-update-icon-cache ]; then
   /usr/bin/gtk-update-icon-cache -q %{_datadir}/icons/hicolor ||:
 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
 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
 if [ -x /usr/bin/gtk-update-icon-cache ]; then
   /usr/bin/gtk-update-icon-cache -q %{_datadir}/icons/hicolor ||:
 fi
 
+%posttrans
+glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
+
 
 %files -f %{name}.lang
 %defattr(-,root,root)
@@ -150,17 +118,24 @@ fi
 %{_datadir}/icons/hicolor/32x32/apps/%{name}.png
 %{_datadir}/icons/hicolor/48x48/apps/%{name}.png
 %{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
+%{_datadir}/glib-2.0/schemas/org.%{name}.gschema.xml
 %{_datadir}/gnome/help/%{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
 %{_includedir}/%{name}
 
 
 %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
 - initial build for Vine Linux
-- add patch0 to fix compile error with gtkmm-2.14 (for Vine Linux 5)