Sisyphus repository
Last update: 2 april 2023 | SRPMs: 18291 | Visits: 27253336
en ru br
ALT Linux repos
5.0: 2.2.47-alt2
4.1: 2.2.47-alt1
4.0: 2.2.39-alt1.0
3.0: 2.2.23-alt2

Other repositories

Group :: File tools
RPM: acl

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: acl
Version: 2.3.1
Release: alt1

Summary: ACL manipulation utilities
License: GPLv2+
Group: File tools
# git://
Source: %name-%version-%release.tar

Requires: lib%name = %version-%release
BuildRequires: libattr-devel
BuildConflicts: libacl-devel

%define _libexecdir %_libdir
%def_disable static

This package contains chacl, getfacl, and setfacl utilities for
manipulating POSIX access control lists.

%package -n lib%name
Summary: Dynamic library for ACL support
License: LGPLv2+
Group: System/Libraries

%package -n lib%name-devel
Summary: ACL header files
License: LGPLv2+
Group: Development/C
Requires: lib%name = %version-%release

%package -n lib%name-devel-static
Summary: ACL static library
License: LGPLv2+
Group: Development/C
Requires: lib%name-devel = %version-%release

%description -n lib%name
This package contains the library needed to run programs dynamically
linked with lib%name.

%description -n lib%name-devel
This package contains header files needed to develop programs which
make use of POSIX access control lists.

%description -n lib%name-devel-static
This package contains the static library needed to develop statically
linked programs which make use of POSIX access control lists.


%configure %{subst_enable static}
%make_build V=1

%makeinstall_std \
dist_doc_DATA='README doc/CHANGES doc/extensions.txt doc/libacl.txt'

# Relocate shared libraries from %_libdir/ to /%_lib/.

mkdir -p %buildroot/%_lib
for f in %buildroot%_libdir/*.so; do
t=$(readlink -v "$f")
ln -snf ../../%_lib/"$t" "$f"
mv %buildroot%_libdir/*.so.* %buildroot/%_lib/

# Relocate chacl.

mkdir %buildroot/bin
mv %buildroot%_bindir/chacl %buildroot/bin/

%find_lang %name
%set_verify_elf_method strict

%make_build -k check

%files -f %name.lang

%files -n lib%name

%files -n lib%name-devel

%if_enabled static
%files -n lib%name-devel-static


Full changelog you can see here

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