Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37570726
en ru br
Репозитории ALT
S:2.3.1.0.20.d265-alt1
5.1: 2.2.47-alt2
4.1: 2.2.47-alt1
4.0: 2.2.39-alt1.0
3.0: 2.2.23-alt2
www.altlinux.org/Changes

Другие репозитории
Upstream:2.2.47-1

Группа :: Система/Ядро и оборудование
Пакет: acl

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   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

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin