Sisyphus repository
Last update: 16 september 2019 | SRPMs: 17434 | Visits: 15102439
en ru br
ALT Linux repos
S:2.2.53-alt1
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
Upstream:2.2.47-1

Group :: System/Kernel and hardware
RPM: acl

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%def_with static

Name: acl
Version: 2.2.47
Release: alt2

Summary: Command for manipulating access control lists
License: LGPL
Group: System/Kernel and hardware
Url: http://oss.sgi.com/projects/xfs/

Source: %name-%version-%release.tar

Requires: lib%name = %version-%release
BuildRequires: libattr-devel rpm-build >= 4.0.4-alt10
BuildConflicts: libacl-devel

%description
A command (chacl) to manipulate POSIX access control lists
under Linux.

%package -n lib%name
Summary: Main library for %name
Group: System/Libraries

%package -n lib%name-devel
Summary: Access control list headers
Group: Development/C
Requires: lib%name = %version-%release

%package -n lib%name-devel-static
Summary: Access control list static libraries
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 the header files needed to
develop programs which make use of POSIX access control lists.

You should install this package if you want to develop programs
which make use of ACLs.  If you install this package, you'll
also want to install lib%name.

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

You should install this package if you want to develop programs
which make use of ACLs.  If you install this package, you'll
also want to install lib%name-devel.

%prep
%setup

%build
export DEBUG="-DNDEBUG"
%configure
%make_build

%install
make install install-lib install-dev \
   DIST_ROOT=$RPM_BUILD_ROOT PKG_LIB_DIR=/%_lib PKG_DEVLIB_DIR=%_libdir

# Workaround bug in makefiles

rm -rf %buildroot%_datadir/doc/%name
rm -f %buildroot/%_lib/*.{a,la,so}

ln -sf ../../%_lib/lib%name.so.1 %buildroot%_libdir/lib%name.so

# Relocate chacl.

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

%find_lang  %name

%files -f %name.lang
/bin/*
%_bindir/*
%_man1dir/*
%doc doc/CHANGES.gz README

%files -n lib%name
/%_lib/*.so.*

%files -n lib%name-devel
%_libdir/*.so
%_mandir/man[235]/*
%_includedir/%name
%_includedir/*/*
%doc doc/PORTING

%if_with static
%files -n lib%name-devel-static
%_libdir/*.a
%endif

%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