[mate-file-manager-open-terminal] update to latest upstream release

Dan Mashal vicodan at fedoraproject.org
Mon Nov 19 14:50:00 UTC 2012


commit 6b73cd9401f24c4451e237459e57ec0499afc16d
Author: Dan Mashal <dan.mashal at gmail.com>
Date:   Mon Nov 19 06:49:46 2012 -0800

    update to latest upstream release

 .gitignore                           |    1 +
 mate-file-manager-open-terminal.spec |   71 ++++++++++++++++-----------------
 sources                              |    2 +-
 3 files changed, 36 insertions(+), 38 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e6568dc..1074fe7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /mate-file-manager-open-terminal-1.4.0.tar.xz
+/mate-file-manager-open-terminal-1.5.0.tar.xz
diff --git a/mate-file-manager-open-terminal.spec b/mate-file-manager-open-terminal.spec
index 413d53e..29c78f7 100644
--- a/mate-file-manager-open-terminal.spec
+++ b/mate-file-manager-open-terminal.spec
@@ -1,66 +1,63 @@
-Name:           mate-file-manager-open-terminal
-Version:        1.4.0
-Release:        1%{?dist}
-Summary:        Mate-file-manager extension for an open terminal shortcut
-
-License:        GPLv2+
-URL:            http://mate-desktop.org
-Source0:        http://pub.mate-desktop.org/releases/1.4/%{name}-%{version}.tar.xz
-
-BuildRequires:  mate-common
-BuildRequires:  pkgconfig(libcaja-extension)
-BuildRequires:  pkgconfig(mate-desktop-2.0)
-BuildRequires:  pkgconfig(mate-doc-utils)
-BuildRequires:  pkgconfig(mateconf-2.0)
-
-Requires(post): mate-conf 
-Requires(pre): mate-conf 
-Requires(preun): mate-conf
+Name:		mate-file-manager-open-terminal
+Version:	1.5.0
+Release:	1%{?dist}
+Summary:	Mate-file-manager extension for an open terminal shortcut
+
+License:	GPLv2+
+URL:		http://mate-desktop.org
+Source0:	http://pub.mate-desktop.org/releases/1.5/%{name}-%{version}.tar.xz
+
+BuildRequires:	mate-common
+BuildRequires:	pkgconfig(libcaja-extension)
+BuildRequires:	pkgconfig(mate-desktop-2.0)
+BuildRequires:	pkgconfig(mate-doc-utils)
+BuildRequires:	gsettings-desktop-schemas-devel
+Requires:	gsettings-desktop-schemas
 
 %description
 The mate-file-manager-open-terminal extension provides a right-click "Open
 Terminal" option for mate-file-manager users who prefer that option.
 
-
 %prep
 %setup -q
 NOCONFIGURE=1 ./autogen.sh
 
-
 %build
-%configure --disable-static \
-           --disable-schemas-install
+%configure				\
+	--disable-static		\
+	--disable-schemas-compile	\
+	--with-gnu-ld			
 
-make %{?_smp_mflags}
+make %{?_smp_mflags} V=1
 
 
 %install
-export MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
-make install DESTDIR=$RPM_BUILD_ROOT
-unset MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
+make DESTDIR=%{buildroot} install
 
-rm -f $RPM_BUILD_ROOT%{_libdir}/caja/extensions-2.0/*.la
+rm -f %{buildroot}%{_libdir}/caja/extensions-2.0/*.la
 
 %find_lang caja-open-terminal
 
-%post
-%mateconf_schema_upgrade caja-open-terminal
+%post -p /sbin/ldconfig
 
-%pre
-%mateconf_schema_prepare caja-open-terminal 
+%postun -p /sbin/ldconfig
+if [ $1 -eq 0 ]; then
+  /usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
+fi
 
-%preun
-%mateconf_schema_remove caja-open-terminal
+%posttrans
+/usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
 
 
 %files -f caja-open-terminal.lang
 %doc AUTHORS ChangeLog README COPYING
-%{_sysconfdir}/mateconf/schemas/caja-open-terminal.schemas
+%{_datadir}/glib-2.0/schemas/org.mate.apps.caja-open-terminal.gschema.xml
 %{_libdir}/caja/extensions-2.0/libcaja-open-terminal.so
 
-
-
 %changelog
+* Mon Nov 19 2012 Dan Mashal <dan.mashal at fedoraproject.org> - 1.5.0-1
+- Update to latest upstream release
+- Clean up specfile
+
 * Thu Oct 25 2012 Leigh Scott <leigh123linux at googlemail.com> - 1.4.0-1
 - Initial build
-
diff --git a/sources b/sources
index 3445096..385a6e4 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-1019df5f91c984d73dda14195c2ba7b1  mate-file-manager-open-terminal-1.4.0.tar.xz
+7cb3f6667f38a6057fc0f1aa0a23ff20  mate-file-manager-open-terminal-1.5.0.tar.xz


More information about the scm-commits mailing list