[packages/mate-tweak: 1/2] new, version 16.10.0

glen glen at pld-linux.org
Tue Jun 28 20:16:56 CEST 2016


commit 8128bc9fb16209b4daf7da7084979b99ac30381d
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue Jun 28 21:14:38 2016 +0300

    new, version 16.10.0
    
    based from opensuse package
    
    https://build.opensuse.org/package/show/X11:MATE:Current/mate-tweak

 mate-tweak-use-matemenu.patch | 22 ++++++++++
 mate-tweak.spec               | 99 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 121 insertions(+)
---
diff --git a/mate-tweak.spec b/mate-tweak.spec
new file mode 100644
index 0000000..15dbbfa
--- /dev/null
+++ b/mate-tweak.spec
@@ -0,0 +1,99 @@
+%define _name   mate_tweak
+%define _rev    998ebdda6538
+Summary:	MATE desktop tweak tool
+Name:		mate-tweak
+Version:	16.10.0
+Release:	0.1
+License:	GPL v2.0+
+Group:		X11/Applications
+Source0:	https://bitbucket.org/ubuntu-mate/mate-tweak/get/%{version}.tar.gz?/%{name}-%{version}.tar.gz
+# Source0-md5:	176ad94494b065d03a085130b7be2b1d
+URL:		https://bitbucket.org/ubuntu-mate/mate-tweak
+Patch0:		%{name}-use-matemenu.patch
+BuildRequires:	gobject-introspection-devel
+BuildRequires:	intltool
+BuildRequires:	python-modules
+BuildRequires:	python-setuptools
+BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 1.714
+Requires:	Mesa-demo-x
+Requires:	dconf
+Requires:	mate-panel
+Requires:	python-configobj
+Requires:	python-pygobject
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		_libexecdir	%{_prefix}/lib
+
+%description
+Configures some aspects of the MATE desktop not exposed via the MATE
+Control Centre applets.
+
+Settings that can be handled via MATE Tweak:
+ - Show/hide standard desktop icons.
+ - Panel fine-tuning (icon visibility, in menus and on buttons, icon
+   size, button labelling, contex menus, etc.).
+ - Window manager fine-tuning.
+
+%prep
+%setup -qc
+mv ubuntu-mate-mate-tweak-*/* .
+%patch0 -p1
+
+%build
+%py_build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%py_install
+
+# Give gi-find-deps.sh a bait.
+#ln -s %{_bindir}/%{name} $RPM_BUILD_ROOT%{_libexecdir}/%{name}/%{name}.py
+
+%find_lang %{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+%update_desktop_database
+
+%postun
+%update_desktop_database
+
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%doc README.md
+%attr(755,root,root) %{_bindir}/marco-compton
+%attr(755,root,root) %{_bindir}/marco-no-composite
+%attr(755,root,root) %{_bindir}/marco-xcompmgr
+%attr(755,root,root) %{_bindir}/mate-tweak
+%attr(755,root,root) %{_bindir}/metacity-compton
+%attr(755,root,root) %{_bindir}/metacity-no-composite
+%attr(755,root,root) %{_bindir}/metacity-xcompmgr
+%{_mandir}/man1/marco-compton.1*
+%{_mandir}/man1/marco-no-composite.1*
+%{_mandir}/man1/mate-tweak.1*
+%{_mandir}/man1/metacity-compton.1*
+%{_mandir}/man1/metacity-no-composite.1*
+%{_desktopdir}/mate-tweak.desktop
+%{_datadir}/polkit-1/actions/org.mate.mate-tweak.policy
+
+%dir %{_libexecdir}/mate-tweak
+%{_libexecdir}/mate-tweak/disable-mate-volume-applet
+%{_libexecdir}/mate-tweak/install-mate-panel-layout
+%{_libexecdir}/mate-tweak/mate-panel-backup
+%{_libexecdir}/mate-tweak/mate-tweak.ui
+
+%dir %{_datadir}/mate-tweak
+%{_datadir}/mate-tweak/mate-volume-control-applet.desktop
+
+%{_datadir}/mate/applications/marco-compton.desktop
+%{_datadir}/mate/applications/marco-no-composite.desktop
+%{_datadir}/mate/applications/marco-xcompmgr.desktop
+%{_datadir}/mate/applications/metacity-compton.desktop
+%{_datadir}/mate/applications/metacity-no-composite.desktop
+%{_datadir}/mate/applications/metacity-xcompmgr.desktop
+
+%{py_sitescriptdir}/mate_tweak-%{version}-py*.egg-info
diff --git a/mate-tweak-use-matemenu.patch b/mate-tweak-use-matemenu.patch
new file mode 100644
index 0000000..4e4400b
--- /dev/null
+++ b/mate-tweak-use-matemenu.patch
@@ -0,0 +1,22 @@
+# PATCH-FIX-OPENSUSE mate-tweak-use-matemenu.patch sor.alexei at meowr.ru 
+# -- Layouts are patched to use mate-menu instead of mintMenu or gnome-main-menu.
+--- a/mate-tweak
++++ b/mate-tweak
+@@ -959,7 +959,7 @@ class MateTweak:
+         if self.panel_layout_exists('default'):
+             panels.append([_("GNOME2"), "default"])
+ 
+-        if self.panel_layout_exists('linuxmint') and self.mint_menu_available:
++        if self.panel_layout_exists('linuxmint') and self.mate_menu_available:
+             panels.append([_("Linux Mint"), "linuxmint"])
+ 
+         if self.panel_layout_exists('mageia') and self.mageia_cc_available:
+@@ -973,7 +973,7 @@ class MateTweak:
+         if self.panel_layout_exists('netbook') and self.maximus_available:
+             panels.append([_("Netbook"), "netbook"])
+ 
+-        if self.panel_layout_exists('opensuse') and self.gnome_menu_available:
++        if self.panel_layout_exists('opensuse') and self.mate_menu_available:
+             panels.append([_("openSUSE"), "opensuse"])
+ 
+         if self.panel_layout_exists('redmond'):
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mate-tweak.git/commitdiff/33f90f53d41282470945574dc5cb69b30fcde27e



More information about the pld-cvs-commit mailing list