Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37777936
en ru br
ALT Linux repos
S:0.6.0-alt1

Group :: Development/Python3
RPM: python3-module-libacl

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define oname libacl

Name: python3-module-%oname
Version: 0.5.3
Release: alt2

Summary: POSIX.1e ACLs for python
License: LGPLv2.1+
Group: Development/Python3

URL: http://pylibacl.sourceforge.net/

#Source-url: https://pypi.io/packages/source/p/pylibacl/pylibacl-%version.tar.gz

# Source-git: https://github.com/iustin/pylibacl.git
Source: %name-%version.tar
Patch: libacl-0.5.2-alt-doc.patch

BuildRequires(pre): rpm-build-python3
BuildRequires(pre): rpm-macros-sphinx3
BuildRequires: libacl-devel time python3-module-sphinx

%description
python-libacl 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).

%prep
%setup
%patch -p1

# Fix shebang

sed -i "s/\(env python\)/\13/" setup.py

%prepare_sphinx3 .
ln -s ../objects.inv doc/

%build
%add_optflags -fno-strict-aliasing
%python3_build_debug

%install
%python3_install

export PYTHONPATH=%buildroot%python3_sitelibdir
%make SPHINXBUILD="sphinx-build-3" doc

%files
%python3_sitelibdir/*
%doc NEWS README doc/html

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin