Sophie

Sophie

distrib > Arklinux > devel > x86_64 > media > main-src > by-pkgid > a5bf86da55ec1e1f910ee8183aa2c6a8 > files > 2

acl-2.2.47-1ark.src.rpm

Summary: Access control list utilities.
Name: acl
Version: 2.2.47
Release: 1ark
BuildRoot: %{_tmppath}/%{name}-root
BuildRequires: libattr-devel
Source: ftp://oss.sgi.com/projects/xfs/cmd_tars/%{name}_%version-1.tar.gz
Patch: acl-2.2.23-libtool-1.5.x.patch
License: GPL
Group: System Environment/Base
URL: http://acl.bestbits.at/

%track
prog %name = {
	url = ftp://oss.sgi.com/projects/xfs/cmd_tars/
	regex = %{name}_(__VER__)-1.tar.gz
	version = %version
}

%description
This package contains the getfacl and setfacl utilities needed for
manipulating access control lists.

%package -n libacl
Summary: Dynamic library for access control list support.
License: LGPL
Group: System Environment/Libraries
Prereq: /sbin/ldconfig

%description -n libacl
This package contains the libacl.so dynamic library which contains
the POSIX 1003.1e draft standard 17 functions for manipulating access
control lists.

%package -n libacl-devel
Summary: Access control list headers.
License: LGPL
Group: Development/Libraries
Requires: libacl = %version-%release

%description -n libacl-devel
This package contains header files needed to develop programs which make use
of the access control list programming interface defined in POSIX 1003.1e
draft standard 17.

%package -n libacl-static
Summary: Access control list static libraries.
License: LGPL
Group: Development/Libraries
Requires: libacl-devel = %version-%release

%description -n libacl-static
This package contains static libraries files needed to develop
programs which make use of the access control list programming interface
defined in POSIX 1003.1e draft standard 17.

%prep
%setup
%patch -p1 -b .libtool~

libtoolize --force
aclocal
autoconf
%configure --libdir=/%_lib --libexecdir=%_libdir

%build
make %?_smp_mflags OPTIMIZER="$RPM_OPT_FLAGS" DEBUG=""

%install
rm -rf $RPM_BUILD_ROOT
export DIST_ROOT="$RPM_BUILD_ROOT"
make install install-dev install-lib
rm $RPM_BUILD_ROOT%_libdir/*.la $RPM_BUILD_ROOT/%_lib/*.la
%find_lang %name

%if "%_libdir" != "/%_lib"
mkdir -p $RPM_BUILD_ROOT%_libdir
mv $RPM_BUILD_ROOT/%_lib/*.a $RPM_BUILD_ROOT%_libdir/
%endif

%clean
[ "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT

%post -n libacl -p /sbin/ldconfig

%postun -n libacl -p /sbin/ldconfig

%files -f %name.lang
%_bindir/*
%_mandir/man1/*
%_mandir/man5/*

%files -n libacl
/%_lib/libacl.so*

%files -n libacl-devel
%_includedir/acl
%_includedir/sys/acl.h
%_libdir/libacl.so*
%_mandir/man3/*

%files -n libacl-static
%_libdir/libacl.a

%changelog
* Tue Aug  4 2009 Bernhard Rosenkraenzer <bero@arklinux.org> 2.2.47-1ark
- 2.2.47
- Add rpm5 tracking info

* Mon Nov 12 2007 Bernhard Rosenkraenzer <bero@arklinux.org> 2.2.39-2ark
- Remove libtool file
- Split out static library
- Don't put library files into _libexecdir

* Thu Jul 20 2006 Bernhard Rosenkraenzer <bero@arklinux.org> 2.2.39-1ark
- 2.2.39

* Wed Dec 28 2005 Bernhard Rosenkraenzer <bero@arklinux.org> 2.2.32-1ark
- 2.2.32
- Fix build on x86_64

* Mon Feb 28 2005 Bernhard Rosenkraenzer <bero@arklinux.org> 2.2.27-1ark
- 2.2.27
- Fix build with rpm 4.4

* Tue Apr 27 2004 Bernhard Rosenkraenzer <bero@arklinux.org> 2.2.23-1ark
- 2.2.23
- Fix build with libtool 1.5.x

* Wed Nov  5 2003 Bernhard Rosenkraenzer <bero@arklinux.org> 2.2.7-4ark
- Run libtoolize --force to fix linkage problem on x86_64

* Sun Oct 19 2003 Bernhard Rosenkraenzer <bero@arklinux.org> 2.2.7-3ark
- Use /lib64 on x86_64

* Mon Sep 08 2003 Hans Schippers <saintiss@arklinux.org> 2.2.7-2ark
- Make sure files are installed in /lib as opposed to /usr/lib.
  This is needed because these files are used at boot...

* Thu Jul 17 2003 Bernhard Rosenkraenzer <bero@arklinux.org> 2.2.7-1ark
- Update
- Handle RPM_OPT_FLAGS

* Wed Oct  9 2002 Ark Linux Team <arklinux@arklinux.org> 2.0.11-2ark
- automated rebuild

* Mon Jun 24 2002 Michael K. Johnson <johnsonm@redhat.com> 2.0.11-1
- Initial Red Hat package
  Made as few changes as possible relative to upstream packaging to
  make it easier to maintain long-term.  This means that some of
  the techniques used here are definitely not standard Red Hat
  techniques.  If you are looking for an example package to fit
  into Red Hat Linux transparently, this would not be the one to
  pick.
- acl-devel -> libacl-devel