2013-03-20 08:52:05 +00:00
|
|
|
#
|
2013-10-24 11:11:59 +00:00
|
|
|
# spec file for package python-pylibacl
|
2013-03-20 08:52:05 +00:00
|
|
|
#
|
2025-02-21 21:30:56 +00:00
|
|
|
# Copyright (c) 2025 SUSE LLC
|
2020-02-24 15:45:40 +00:00
|
|
|
# Copyright (c) 2013-2020 LISA GmbH, Bingen, Germany
|
2013-03-20 08:52:05 +00:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2019-10-14 14:15:50 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2013-03-20 08:52:05 +00:00
|
|
|
#
|
|
|
|
|
2013-10-24 11:11:59 +00:00
|
|
|
|
2023-09-02 14:14:13 +00:00
|
|
|
%{?sle15_python_module_pythons}
|
2013-03-20 09:00:10 +00:00
|
|
|
Name: python-pylibacl
|
2025-08-06 11:04:14 +00:00
|
|
|
Version: 0.7.3
|
2013-10-24 11:11:59 +00:00
|
|
|
Release: 0
|
2020-01-09 14:15:10 +00:00
|
|
|
Summary: POSIX1e ACLs for python
|
2019-10-14 14:15:50 +00:00
|
|
|
License: LGPL-2.1-or-later
|
|
|
|
URL: https://pylibacl.k1024.org/
|
2020-01-09 14:15:10 +00:00
|
|
|
Source: https://files.pythonhosted.org/packages/source/p/pylibacl/pylibacl-%{version}.tar.gz
|
|
|
|
BuildRequires: %{python_module devel}
|
2024-01-07 21:38:40 +00:00
|
|
|
BuildRequires: %{python_module pip}
|
2020-01-09 14:15:10 +00:00
|
|
|
BuildRequires: %{python_module pytest}
|
|
|
|
BuildRequires: %{python_module setuptools}
|
2024-01-07 21:38:40 +00:00
|
|
|
BuildRequires: %{python_module wheel}
|
2013-03-20 08:52:05 +00:00
|
|
|
BuildRequires: fdupes
|
2020-01-09 14:15:10 +00:00
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: python-rpm-macros
|
|
|
|
BuildRequires: pkgconfig(libacl)
|
|
|
|
%python_subpackages
|
2013-03-20 08:52:05 +00:00
|
|
|
|
|
|
|
%description
|
2020-01-09 14:15:10 +00:00
|
|
|
This is a C extension module for Python which
|
|
|
|
implements POSIX ACLs manipulation. It is a wrapper on top
|
|
|
|
of the systems's acl C library - see acl(5).
|
2013-03-20 08:52:05 +00:00
|
|
|
|
|
|
|
%prep
|
2013-03-20 09:00:10 +00:00
|
|
|
%setup -q -n pylibacl-%{version}
|
2013-03-20 08:52:05 +00:00
|
|
|
|
|
|
|
%build
|
2024-01-07 21:38:40 +00:00
|
|
|
%pyproject_wheel
|
2013-03-20 08:52:05 +00:00
|
|
|
|
|
|
|
%install
|
2024-01-07 21:38:40 +00:00
|
|
|
%pyproject_install
|
2020-01-09 14:15:10 +00:00
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
2013-03-20 08:52:05 +00:00
|
|
|
|
|
|
|
%check
|
2020-01-09 14:15:10 +00:00
|
|
|
%pytest_arch
|
2013-03-20 08:52:05 +00:00
|
|
|
|
2020-01-09 14:15:10 +00:00
|
|
|
%files %{python_files}
|
2019-10-14 14:15:50 +00:00
|
|
|
%license COPYING
|
2024-01-07 21:38:40 +00:00
|
|
|
%doc NEWS.md README.md
|
|
|
|
%{python_sitearch}/posix1e.*
|
|
|
|
%{python_sitearch}/pylibacl-%{version}.dist-info
|
2013-03-20 08:52:05 +00:00
|
|
|
|
|
|
|
%changelog
|