File mate-eiciel.spec of Package mate-eiciel

# spec file for package mate-eiciel
# Copyright (c) 2021 SUSE LLC
# 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

Name:           mate-eiciel
Version:        1.20.1
Release:        0
Summary:        ACL viewer and editor for MATE
License:        GPL-2.0-or-later
Group:          System/GUI/Other
# PATCH-FEATURE-OPENSUSE mate-eiciel-gtk-3.20.patch -- Restore GLib 2.48 and GTK+ 3.20 support.
Patch0:         mate-eiciel-gtk-3.20.patch
# PATCH-FIX-UPSTREAM support-C++17.patch - Use ISO C++17
Patch1:         support-C++17.patch
BuildRequires:  autoconf-archive
BuildRequires:  fdupes
BuildRequires:  gcc-c++
BuildRequires:  libacl-devel
BuildRequires:  libattr-devel
BuildRequires:  mate-common
BuildRequires:  pkgconfig
BuildRequires:  update-desktop-files
BuildRequires:  pkgconfig(gtkmm-3.0)
BuildRequires:  pkgconfig(libcaja-extension) >= 1.18.0
Recommends:     %{name}-lang

MATE eiciel is a Graphical editor for access control lists (ACLs)
and extended attributes (xattr), either as an extension within
Caja, or as a standalone utility.

%package -n caja-extension-eiciel
Summary:        Caja extension for the ACL viewer and editor
Group:          System/GUI/Other
Requires:       %{name} = %{version}
Supplements:    packageand(caja:%{name})

%description -n caja-extension-eiciel
A Caja extension that allows viewing and editing ACL permissions.


%autosetup -p1

NOCONFIGURE=1 mate-autogen
%configure \
make %{?_smp_mflags} V=1


find %{buildroot} -type f -name "*.la" -delete -print
%suse_update_desktop_file -r org.mate-desktop.mate-eiciel System Filesystem
%find_lang %{name} %{?no_lang_C}
%fdupes %{buildroot}%{_datadir}/

%if 0%{?suse_version} < 1500


%license COPYING
%dir %{_datadir}/metainfo/

%files -n caja-extension-eiciel

%files lang -f %{name}.lang

openSUSE Build Service is sponsored by