Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.0
mate-utils
mate-utils.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mate-utils.spec of Package mate-utils
# # spec file for package mate-utils # # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define soname_dict libmatedict %define sover_dict 6 %define _version 1.20 Name: mate-utils Version: 1.20.0 Release: 0 Summary: MATE Desktop utilities License: GPL-2.0-or-later AND LGPL-2.0-or-later AND GFDL-1.1-only Group: System/GUI/Other Url: https://mate-desktop.org/ Source: http://pub.mate-desktop.org/releases/%{_version}/%{name}-%{version}.tar.xz # PATCH-FEATURE-OPENSUSE mate-utils-gtk-3.20.patch -- Restore GLib 2.48 and GTK+ 3.20 support. Patch0: mate-utils-gtk-3.20.patch BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: itstool BuildRequires: mate-common >= %{_version} BuildRequires: pkgconfig BuildRequires: popt-devel BuildRequires: update-desktop-files BuildRequires: yelp-tools BuildRequires: pkgconfig(atk) BuildRequires: pkgconfig(cairo) BuildRequires: pkgconfig(dbus-glib-1) BuildRequires: pkgconfig(gio-2.0) >= 2.48 BuildRequires: pkgconfig(glib-2.0) >= 2.48 BuildRequires: pkgconfig(gtk+-3.0) >= 3.20 BuildRequires: pkgconfig(ice) BuildRequires: pkgconfig(libcanberra-gtk3) BuildRequires: pkgconfig(libgtop-2.0) BuildRequires: pkgconfig(libmatepanelapplet-4.0) >= %{_version} BuildRequires: pkgconfig(pango) BuildRequires: pkgconfig(sm) BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xext) BuildRequires: pkgconfig(zlib) %glib2_gsettings_schema_requires %description This package provides all the tools bundled with MATE utilities: - mate-disk-usage-analyzer, a disc usage analyser. - mate-dictionary, a program which can look up definitions of words. - mate-search-tool, with which one can find files by name or content. - mate-system-log, a log viewing application. - mate-screenshot, a tool to take desktop screenshots and save them. %package common-lang Summary: Languages for MATE utilities License: GPL-2.0-or-later AND LGPL-2.0-or-later AND GFDL-1.1-only Group: System/Localization Provides: mate-dictionary-lang = %{version} Provides: mate-disk-usage-analyzer-lang = %{version} Provides: mate-screenshot-lang = %{version} Provides: mate-search-tool-lang = %{version} Provides: mate-system-log-lang = %{version} BuildArch: noarch %description common-lang Provides common translations shared by Caja extensions %package -n mate-search-tool Summary: MATE Search Tool License: GPL-2.0-or-later Group: System/GUI/Other Requires: mate-desktop-gschemas >= %{_version} Recommends: mate-search-tool-lang %description -n mate-search-tool This is the MATE Seach Tool as shipped with the MATE utilities. It uses command-line tools such as find and locate to get results. %package -n mate-disk-usage-analyzer Summary: MATE disk usage analyser License: GPL-2.0-or-later Group: System/GUI/Other Recommends: mate-disk-usage-analyzer-lang %description -n mate-disk-usage-analyzer This is the MATE Disk Usage Analyzer as shipped with the MATE utilities. mate-disk-usage-analyzer is able to scan either specific directories or the wholefilesystem, in order to give the user a graphical tree representation including each directory size or percentage in the branch. It also auto-detects in real-time any change made to your home folder as far as any mounted/unmounted device. %package -n mate-dictionary Summary: MATE dictionary License: GPL-2.0-or-later Group: System/GUI/Other Recommends: mate-dictionary-lang %description -n mate-dictionary This is the MATE dictionary as shipped with the MATE utilities. mate-dictionary is a program which can look up the definition of words %package -n mate-system-log Summary: MATE system log viewer License: GPL-3.0-or-later AND GPL-2.0-or-later Group: System/GUI/Other Requires: mate-desktop-gschemas >= %{_version} Recommends: mate-system-log-lang %description -n mate-system-log This is the MATE system log viewer as shipped with the MATE utilities. mate-system-log is a program which can view logs generated by the operating system. %package -n mate-screenshot Summary: MATE screenshot maker License: GPL-2.0-or-later Group: System/GUI/Other Recommends: mate-screenshot-lang %description -n mate-screenshot This is the MATE screenshot maker as shipped with the MATE utilities. mate-screenshot is a program which cantake desktop screenshots and save them. %package -n %{soname_dict}%{sover_dict} Summary: Library to look up words in dictionary sources License: GPL-2.0-or-later Group: System/Libraries %description -n %{soname_dict}%{sover_dict} The matedict library is an engine to look up words in dictionary sources. %package -n %{soname_dict}-devel Summary: Library to look up words in dictionary sources -- Development Files License: GPL-2.0-or-later Group: Development/Libraries/C and C++ Requires: %{soname_dict}%{sover_dict} = %{version} %description -n %{soname_dict}-devel The matedict library is an engine to look up words in dictionary sources. This package contains development files for libmatedict. %prep %setup -q %patch0 -p1 %build NOCONFIGURE=1 mate-autogen %configure \ --disable-static \ --libexecdir=%{_libexecdir}/%{name} \ --with-x \ --enable-ipv6=yes make %{?_smp_mflags} V=1 %install %make_install %find_lang %{name} find %{buildroot} -type f -name "*.la" -delete -print %fdupes %{buildroot}%{_datadir} %suse_update_desktop_file mate-disk-usage-analyzer %suse_update_desktop_file mate-dictionary %suse_update_desktop_file mate-search-tool %suse_update_desktop_file mate-system-log %suse_update_desktop_file mate-screenshot %post -n %{soname_dict}%{sover_dict} -p /sbin/ldconfig %postun -n %{soname_dict}%{sover_dict} -p /sbin/ldconfig %if 0%{?suse_version} < 1500 %post -n mate-disk-usage-analyzer %desktop_database_post %glib2_gsettings_schema_post %postun -n mate-disk-usage-analyzer %desktop_database_postun %glib2_gsettings_schema_postun %post -n mate-dictionary %desktop_database_post %glib2_gsettings_schema_post %postun -n mate-dictionary %desktop_database_postun %glib2_gsettings_schema_post %post -n mate-screenshot %desktop_database_post %glib2_gsettings_schema_post %postun -n mate-screenshot %desktop_database_postun %glib2_gsettings_schema_postun %post -n mate-search-tool %desktop_database_post %glib2_gsettings_schema_post %postun -n mate-search-tool %desktop_database_postun %glib2_gsettings_schema_postun %post -n mate-system-log %desktop_database_post %glib2_gsettings_schema_post %postun -n mate-system-log %desktop_database_postun %glib2_gsettings_schema_postun %endif %files -n mate-disk-usage-analyzer %if 0%{?suse_version} >= 1500 %license COPYING* %else %doc COPYING* %endif %doc AUTHORS NEWS README %{_datadir}/help/C/mate-disk-usage-analyzer/ %{_bindir}/mate-disk-usage-analyzer %{_datadir}/mate-disk-usage-analyzer/ %{_datadir}/glib-2.0/schemas/org.mate.disk-usage-analyzer.gschema.xml %{_datadir}/applications/mate-disk-usage-analyzer.desktop %{_datadir}/icons/hicolor/*/apps/mate-disk-usage-analyzer.* %dir %{_datadir}/appdata/ %{_datadir}/appdata/mate-disk-usage-analyzer.appdata.xml %{_mandir}/man?/mate-disk-usage-analyzer.?%{?ext_man} %files -n mate-dictionary %if 0%{?suse_version} >= 1500 %license COPYING* %else %doc COPYING* %endif %doc AUTHORS NEWS README %{_datadir}/help/C/mate-dictionary/ %{_bindir}/mate-dictionary %{_datadir}/dbus-1/services/org.mate.panel.applet.DictionaryAppletFactory.service %{_datadir}/glib-2.0/schemas/org.mate.dictionary.gschema.xml %{_datadir}/mate-dictionary/ %dir %{_datadir}/mate-panel/ %dir %{_datadir}/mate-panel/applets/ %{_datadir}/mate-panel/applets/org.mate.DictionaryApplet.mate-panel-applet %dir %{_libexecdir}/mate-utils/ %{_libexecdir}/mate-utils/mate-dictionary-applet %{_datadir}/applications/mate-dictionary.desktop %dir %{_datadir}/appdata/ %{_datadir}/appdata/mate-dictionary.appdata.xml %{_mandir}/man?/mate-dictionary.?%{?ext_man} %files -n mate-screenshot %if 0%{?suse_version} >= 1500 %license COPYING* %else %doc COPYING* %endif %doc AUTHORS NEWS README %{_bindir}/mate-panel-screenshot %{_bindir}/mate-screenshot %{_datadir}/glib-2.0/schemas/org.mate.screenshot.gschema.xml %{_datadir}/mate-screenshot/ %{_datadir}/applications/mate-screenshot.desktop %dir %{_datadir}/appdata/ %{_datadir}/appdata/mate-screenshot.appdata.xml %{_mandir}/man?/mate-panel-screenshot.?%{?ext_man} %{_mandir}/man?/mate-screenshot.?%{?ext_man} %files -n mate-search-tool %if 0%{?suse_version} >= 1500 %license COPYING* %else %doc COPYING* %endif %doc AUTHORS NEWS README %{_datadir}/help/C/mate-search-tool/ %{_bindir}/mate-search-tool %{_datadir}/glib-2.0/schemas/org.mate.search-tool.gschema.xml %{_datadir}/applications/mate-search-tool.desktop %{_datadir}/pixmaps/mate-search-tool/ %dir %{_datadir}/appdata/ %{_datadir}/appdata/mate-search-tool.appdata.xml %{_mandir}/man?/mate-search-tool.?%{?ext_man} %files -n mate-system-log %if 0%{?suse_version} >= 1500 %license COPYING* %else %doc COPYING* %endif %doc AUTHORS NEWS README %{_datadir}/help/C/mate-system-log/ %{_bindir}/mate-system-log %{_datadir}/applications/mate-system-log.desktop %{_datadir}/glib-2.0/schemas/org.mate.system-log.gschema.xml %{_datadir}/mate-utils/ %{_datadir}/icons/hicolor/*/apps/mate-system-log* %{_mandir}/man?/mate-system-log.?%{?ext_man} %files -n %{soname_dict}%{sover_dict} %if 0%{?suse_version} >= 1500 %license COPYING* %else %doc COPYING* %endif %doc AUTHORS NEWS README %{_datadir}/mate-dict/ %{_libdir}/%{soname_dict}.so.%{sover_dict}* %files -n %{soname_dict}-devel %doc %{_datadir}/gtk-doc/html/mate-dict/ %{_includedir}/mate-dict/ %{_libdir}/%{soname_dict}.so %{_libdir}/pkgconfig/mate-dict.pc %files common-lang -f %{name}.lang %{_datadir}/help/ %exclude %{_datadir}/help/C/ %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor