[packages/mate-utils] - release 2.1 (by relup.sh)

glen glen at pld-linux.org
Thu Apr 3 14:20:33 CEST 2014


commit 9ba7e9260835e0277e6dc39f3cc1496977d300c0
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu Apr 3 15:20:32 2014 +0300

    - release 2.1 (by relup.sh)

 mate-utils.spec | 41 +++++++++++++++++++++++++++++++++--------
 1 file changed, 33 insertions(+), 8 deletions(-)
---
diff --git a/mate-utils.spec b/mate-utils.spec
index 767db03..bc68f22 100644
--- a/mate-utils.spec
+++ b/mate-utils.spec
@@ -2,7 +2,7 @@ Summary:	MATE utility programs
 Summary(pl.UTF-8):	Programy użytkowe dla środowiska MATE
 Name:		mate-utils
 Version:	1.8.0
-Release:	2
+Release:	2.1
 License:	LGPL v2+ (libmatedict), GPL v2+ (programs), FDL (documentation)
 Group:		X11/Applications/Multimedia
 Source0:	http://pub.mate-desktop.org/releases/1.8/%{name}-%{version}.tar.xz
@@ -34,7 +34,7 @@ Requires:	gtk+2 >= 2:2.20.0
 Requires:	hicolor-icon-theme
 Requires:	libcanberra-gtk >= 0.4
 Requires:	libmatedict = %{version}-%{release}
-Requires:	mate-panel >= 1.5.0
+Requires:	mate-panel >= 1.8.0
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define		_libexecdir	%{_libdir}/mate-panel
@@ -88,6 +88,20 @@ API documentation for libmatedict library.
 %description -n libmatedict-apidocs -l pl.UTF-8
 Dokumentacja API biblioteki libmatedict.
 
+%package -n mate-screenshot
+Summary:	Screenshot utility
+Summary(pl.UTF-8):	Narzędzie do robienia zrzutów ekranu
+Group:		X11/Applications
+Requires(post,postun):	glib2 >= 1:2.26.0
+Requires:	glib2 >= 1:2.36.0
+Conflicts:	mate-utils < 1.8.0-2.1
+
+%description -n mate-screenshot
+Allows to make a desktop screenshot.
+
+%description -n mate-screenshot -l pl.UTF-8
+Pozwala na zrobienie zrzutu ekranu biurka.
+
 %prep
 %setup -q
 
@@ -139,38 +153,40 @@ rm -rf $RPM_BUILD_ROOT
 %post	-n libmatedict -p /sbin/ldconfig
 %postun	-n libmatedict -p /sbin/ldconfig
 
+%post	-n mate-screenshot
+%update_desktop_database
+%glib_compile_schemas
+
+%postun	-n mate-screenshot
+%update_desktop_database
+%glib_compile_schemas
+
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README
 %attr(755,root,root) %{_bindir}/mate-dictionary
 %attr(755,root,root) %{_bindir}/mate-disk-usage-analyzer
-%attr(755,root,root) %{_bindir}/mate-screenshot
 %attr(755,root,root) %{_bindir}/mate-search-tool
 %attr(755,root,root) %{_bindir}/mate-system-log
-%attr(755,root,root) %{_bindir}/mate-panel-screenshot
 %attr(755,root,root) %{_libexecdir}/mate-dictionary-applet
 %{_datadir}/dbus-1/services/org.mate.panel.applet.DictionaryAppletFactory.service
 %{_datadir}/glib-2.0/schemas/org.mate.dictionary.gschema.xml
 %{_datadir}/glib-2.0/schemas/org.mate.disk-usage-analyzer.gschema.xml
-%{_datadir}/glib-2.0/schemas/org.mate.screenshot.gschema.xml
 %{_datadir}/glib-2.0/schemas/org.mate.search-tool.gschema.xml
 %{_datadir}/glib-2.0/schemas/org.mate.system-log.gschema.xml
 %{_datadir}/mate-dict
 %{_datadir}/mate-dictionary
 %{_datadir}/mate-disk-usage-analyzer
 %{_datadir}/mate-panel/applets/org.mate.DictionaryApplet.mate-panel-applet
-%{_datadir}/mate-screenshot
 %{_datadir}/mate-utils
 %{_desktopdir}/mate-dictionary.desktop
 %{_desktopdir}/mate-disk-usage-analyzer.desktop
-%{_desktopdir}/mate-screenshot.desktop
 %{_desktopdir}/mate-search-tool.desktop
 %{_desktopdir}/mate-system-log.desktop
 %{_iconsdir}/hicolor/*/apps/mate-disk-usage-analyzer.*
 %{_pixmapsdir}/mate-search-tool
 %{_mandir}/man1/mate-dictionary.1*
 %{_mandir}/man1/mate-disk-usage-analyzer.1*
-%{_mandir}/man1/mate-screenshot.1*
 %{_mandir}/man1/mate-search-tool.1*
 %{_mandir}/man1/mate-system-log.1*
 
@@ -188,3 +204,12 @@ rm -rf $RPM_BUILD_ROOT
 %files -n libmatedict-apidocs
 %defattr(644,root,root,755)
 %{_gtkdocdir}/mate-dict
+
+%files -n mate-screenshot
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/mate-panel-screenshot
+%attr(755,root,root) %{_bindir}/mate-screenshot
+%{_datadir}/glib-2.0/schemas/org.mate.screenshot.gschema.xml
+%{_datadir}/mate-screenshot
+%{_desktopdir}/mate-screenshot.desktop
+%{_mandir}/man1/mate-screenshot.1*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mate-utils.git/commitdiff/9ba7e9260835e0277e6dc39f3cc1496977d300c0



More information about the pld-cvs-commit mailing list