[mate-text-editor] update to latest upstream release
Dan Mashal
vicodan at fedoraproject.org
Mon Feb 11 01:42:26 UTC 2013
commit f473eeda74f6513c99fbcbcc8adf241a3c3b05cf
Author: Dan Mashal <dan.mashal at fedoraproject.org>
Date: Sun Feb 10 17:42:12 2013 -0800
update to latest upstream release
.gitignore | 1 +
mate-text-editor.spec | 110 +++++++++++++++++++++++++------------------------
sources | 2 +-
3 files changed, 58 insertions(+), 55 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 5869ab9..3d58dd4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/mate-text-editor-1.4.0.tar.xz
+/mate-text-editor-1.5.0.tar.xz
diff --git a/mate-text-editor.spec b/mate-text-editor.spec
index 351cf3b..1af0867 100644
--- a/mate-text-editor.spec
+++ b/mate-text-editor.spec
@@ -1,39 +1,33 @@
Summary: Text editor for the MATE desktop
Name: mate-text-editor
-Version: 1.4.0
-Release: 2%{?dist}
+Version: 1.5.0
+Release: 1%{?dist}
License: GPLv2+
Group: Applications/Editors
URL: http://mate-desktop.org
-Source0: http://pub.mate-desktop.org/releases/1.4/%{name}-%{version}.tar.xz
+Source0: http://pub.mate-desktop.org/releases/1.5/%{name}-%{version}.tar.xz
-# mateconftool-2
-Requires(pre): mate-conf
-Requires(post): mate-conf
-Requires(preun): mate-conf
-
-
-BuildRequires: mate-common
-BuildRequires: glib2-devel
-BuildRequires: pango-devel
-BuildRequires: gtk2-devel
-BuildRequires: mate-conf-devel
-BuildRequires: libSM-devel
BuildRequires: desktop-file-utils
BuildRequires: enchant-devel
-BuildRequires: iso-codes-devel
-BuildRequires: libattr-devel
BuildRequires: gail-devel
+BuildRequires: gettext-autopoint
+BuildRequires: glib2-devel
+BuildRequires: gtk2-devel
BuildRequires: gtksourceview2-devel
-BuildRequires: rarian-compat
-BuildRequires: pygtk2-devel
+BuildRequires: iso-codes-devel
+#BuildRequires: libattr-devel
+BuildRequires: libSM-devel
+BuildRequires: mate-common
+BuildRequires: mate-conf-devel
+BuildRequires: mate-doc-utils
+BuildRequires: pango-devel
BuildRequires: pygobject2-devel
+BuildRequires: pygtk2-devel
BuildRequires: pygtksourceview-devel
BuildRequires: python-devel
-BuildRequires: mate-doc-utils
+BuildRequires: rarian-compat
BuildRequires: which
-BuildRequires: gettext-autopoint
Requires: pygtk2
Requires: pygobject2
@@ -61,11 +55,7 @@ Requires: gtksourceview2-devel
Requires: pygtk2-devel
%description devel
-mate-text-editor is a small, but powerful text editor for the MATE desktop.
-This package allows you to develop plugins that add new functionality
-to mate-text-editor.
-
-Install mate-text-editor-devel if you want to write plugins for mate-text-editor.
+Development files for mate-text-editor
%prep
%setup -q
@@ -78,22 +68,24 @@ find ./*/*/* -type f -exec chmod 644 {} \;
%build
%configure \
- --disable-scrollkeeper \
- --disable-gtk-doc \
- --enable-python \
- --disable-schemas-install
-make %{?_smp_mflags}
+ --disable-scrollkeeper \
+ --enable-gtk-doc-html \
+ --enable-gvfs-metadata \
+ --enable-python \
+ --disable-schemas-compile \
+ --with-gnu-ld
+
+
+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
desktop-file-install --delete-original \
- --remove-category=MATE \
- --add-category=X-Mate \
- --dir $RPM_BUILD_ROOT%{_datadir}/applications \
- $RPM_BUILD_ROOT%{_datadir}/applications/*
+ --remove-category="MATE" \
+ --add-category="X-Mate" \
+ --dir %{buildroot}%{_datadir}/applications \
+%{buildroot}%{_datadir}/applications/*.desktop
## clean up all the static libs for plugins
/bin/rm -f `find $RPM_BUILD_ROOT%{_libdir}/pluma/plugins -name "*.a"`
@@ -102,41 +94,51 @@ desktop-file-install --delete-original \
%find_lang pluma --with-gnome
-
%post
/usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || :
-%mateconf_schema_upgrade pluma-file-browser pluma
-
-
-%pre
-%mateconf_schema_prepare pluma-file-browser pluma
-
-%preun
-%mateconf_schema_remove pluma-file-browser pluma
+/bin/touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
+update-desktop-database &> /dev/null || :
%postun
/usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || :
+if [ $1 -eq 0 ] ; then
+ /bin/touch --no-create %{_datadir}/icons/hicolor &> /dev/null
+ /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
+ /usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
+fi
+update-desktop-database &> /dev/null || :
+
+%posttrans
+/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
+/usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
+
%files -f pluma.lang
%doc README COPYING AUTHORS
-%{_datadir}/pluma/
-%{_datadir}/mate/help/pluma/
+%{_datadir}/pluma
+%{_datadir}/mate/help/pluma
%{_datadir}/applications/pluma.desktop
%{_mandir}/man1/*
-%{_libdir}/pluma/
-%{_libexecdir}/pluma/
-%{_bindir}/*
-%{_sysconfdir}/mateconf/schemas/*
+%{_libdir}/pluma
+%{_libexecdir}/pluma
+%{_bindir}/pluma
+%{_bindir}/mate-text-editor
+%{_datadir}/glib-2.0/schemas/org.mate.pluma.gschema.xml
+%{_datadir}/glib-2.0/schemas/org.mate.pluma.plugins.filebrowser.gschema.xml
+%{_datadir}/glib-2.0/schemas/org.mate.pluma.plugins.time.gschema.xml
%files devel
-%{_includedir}/pluma/
+%{_includedir}/pluma
%{_libdir}/pkgconfig/pluma.pc
%changelog
+* Sun Feb 10 2013 Dan Mashal <dan.mashal at fedoraproject.org> - 1.5.1-1
+- Update to latest upstream release
+
* Mon Oct 15 2012 Leigh Scott <leigh123linux at googlemail.com> - 1.4.0-2
- Fix build requires
diff --git a/sources b/sources
index f900147..0faf4b1 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-a085e5f3f15030e951fbd464f6927557 mate-text-editor-1.4.0.tar.xz
+6b6591377b5032ff74b7246bbcea4790 mate-text-editor-1.5.0.tar.xz
More information about the scm-commits
mailing list