############################################################################### # IPFire.org - An Open Source Firewall Solution # # Copyright (C) - IPFire Development Team # ############################################################################### name = acl version = 2.2.47 release = 3 groups = System/Filesystems url = http://oss.sgi.com/projects/xfs/ license = GPLv2+ summary = Access control list utilities. description This package contains the getfacl and setfacl utilities needed for manipulating access control lists. end source_dl = ftp://oss.sgi.com/projects/xfs/previous/cmd_tars/ build requires gettext libattr-devel libnfsidmap-devel libtool end configure_options += \ --bindir=/bin \ --disable-static make_build_targets += LIBTOOL="libtool --tag=CC" install_cmds mkdir -pv %{BUILDROOT}/%{lib} %{BUILDROOT}%{libdir} install -v -m0755 libacl/.libs/libacl.so.1.2.0 %{BUILDROOT}/%{lib} ln -vsf libacl.so.1.2.0 %{BUILDROOT}/%{lib}/libacl.so.1 ln -vsf ../../%{lib}/libacl.so.1 %{BUILDROOT}%{libdir}/libacl.so # Install headers. mkdir -pv %{BUILDROOT}%{includedir}/{acl,sys} cp -vf include/libacl.h %{BUILDROOT}%{includedir}/acl/ cp -vf include/acl.h %{BUILDROOT}%{includedir}/sys/ end end packages package %{name} package libacl template LIBS end package libacl-devel template DEVEL # Overwrite default dependency because the # libs are in a subpackage. requires = libacl=%{thisver} end package %{name}-debuginfo template DEBUGINFO provides += libacl-debuginfo end end