File eiciel.spec of Package eiciel.14907

# spec file for package eiciel
# 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

%define _libnautilus_extensiondir %(pkg-config --variable extensiondir libnautilus-extension)

Name:           eiciel
Release:        0
Summary:        GNOME ACL viewer and editor
License:        GPL-2.0+
Group:          System/GUI/GNOME
BuildRequires:  fdupes
BuildRequires:  gcc-c++
BuildRequires:  libacl-devel
BuildRequires:  libattr-devel
BuildRequires:  translation-update-upstream
BuildRequires:  update-desktop-files
BuildRequires:  pkgconfig(gtkmm-3.0) >= 3.0.0
BuildRequires:  pkgconfig(libnautilus-extension) >= 3.0.0
Recommends:     %{name}-lang
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

Eiciel allows you to visually edit file ACL entries. You can add and
remove users and groups who will be granted permissions through the
graphical interface

%package -n nautilus-eiciel
Summary:        Nautilus ACL viewer and editor extension
Group:          System/GUI/GNOME
Requires:       %{name} = %{version}
Supplements:    packageand(eiciel:nautilus)

%description -n nautilus-eiciel
A Nautilus extension that allows viewing and editing ACL permissions.


%setup -q

%configure \
make %{?_smp_mflags}

%find_lang %{name} %{?no_lang_C}
find %{buildroot} -type f -name "*.la" -delete -print
%suse_update_desktop_file -r org.roger-ferrer.Eiciel System Filesystem
%fdupes %{buildroot}%{_datadir}

%defattr (-, root, root)
%dir %{_datadir}/gnome/
%dir %{_datadir}/gnome/help/
%dir %{_datadir}/gnome/help/%{name}/
%doc %{_datadir}/gnome/help/%{name}/C/
%doc %{_mandir}/man1/eiciel.1%{?ext_man}
%dir %{_datadir}/metainfo

%files -n nautilus-eiciel
%defattr (-, root, root)

%files lang -f %{name}.lang

openSUSE Build Service is sponsored by