]> git.pld-linux.org Git - packages/mate-utils.git/commitdiff
- release 2.1 (by relup.sh)
authorElan Ruusamäe <glen@delfi.ee>
Thu, 3 Apr 2014 12:20:32 +0000 (15:20 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Thu, 3 Apr 2014 12:20:32 +0000 (15:20 +0300)
mate-utils.spec

index 767db03cc3f55cb52cce92364edc762e8d5d9d3d..bc68f22da67dc065f9c0026daf124b58d978d622 100644 (file)
@@ -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*
This page took 0.074247 seconds and 4 git commands to generate.