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
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
%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
%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*
%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*