Репозиторий Sisyphus
Последнее обновление: 21 октября 2019 | Пакетов: 17508 | Посещений: 15329260
en ru br
Репозитории ALT
S:1.0.7-alt1
5.1: 1.0.5-alt2
4.1: 1.0.5-alt2
4.0: 1.0.5-alt2
3.0: 1.0.4-alt1
www.altlinux.org/Changes

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

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%def_enable minimal
%def_enable debug

Name: libaal
Version: 1.0.4
Release: alt1

Summary: Abstraction library for ReiserFS utilities
License: GPL
Group: System/Kernel and hardware

URL: ftp://ftp.namesys.com/pub/reiser4progs/
Source0: %name-%version.tar.gz
Packager: Sergey Ivanov <seriv at altlinux.ru>

# Automatically added by buildreq on Fri Nov 19 2004

BuildRequires: gcc-c++ libstdc++-devel

%description
This is a library that provides application abstraction mechanism.
It include device abstraction, libc independence code, etc.

%package -n libaal-devel
Summary: Headers and static libraries for developing with libaal.
Group: Development/C
Requires: libaal = %version-%release

%description -n libaal-devel
This package includes the headers and static libraries for developing
with the libaal library.

%if_enabled minimal
%package -n     libaal-minimal
Summary:        Minimal abstraction library for ReiserFS utilities
Group: System/Kernel and hardware

%description -n libaal-minimal
This is a minimal library that provides application abstraction mechanism.
It include device abstraction, libc independence code, etc.

%package -n libaal-minimal-devel
Summary: Headers and static libraries for developing with libaal.
Group: Development/C
Requires: libaal-minimal = %version-%release libaal-devel = %version-%release

%description -n libaal-minimal-devel
This package includes the headers and static libraries for developing
with the minimal libaal library.
%endif

%prep
%setup -q -n %name-%version

%build
export FFLAGS=-fPIC
%if_enabled minimal
BUILD_OPTS="$BUILD_OPTS --enable-libminimal"
%endif
%if_enabled debug
BUILD_OPTS="$BUILD_OPTS --enable-debug"
%endif

%configure \
%if_enabled debug
       --enable-debug \
%endif
%if_enabled minimal
--enable-libminimal
%else
--disable-libminimal --disable-memory-manager
%endif
%make_build

%install
%__mkdir_p $RPM_BUILD_ROOT/lib
%make DESTDIR=%buildroot install
# Relocate shared libraries from %_libdir/ to /lib/.
for f in $RPM_BUILD_ROOT%_libdir/*.so; do
       v="$RPM_BUILD_ROOT%_libdir/$(readlink -n "$f")"
       t=`objdump -p "$v" |awk '/SONAME/ {print $2}'`
       [ -n "$t" ]
       %__ln_s -nf ../../lib/"$t" "$f"
done
mv $RPM_BUILD_ROOT%_libdir/*.so.* $RPM_BUILD_ROOT/lib/


%files
/lib/libaal-1.0.so*

%files -n libaal-devel
%_libdir/libaal.so*
%_libdir/libaal.*a
%dir %_includedir/aal
%_includedir/aal/*
%_datadir/aclocal/libaal.m4

%if_enabled minimal

%files -n libaal-minimal
/lib/libaal-minimal.so.*

%files -n libaal-minimal-devel
%_libdir/libaal-minimal.so
%_libdir/libaal-minimal.*a

%endif

%changelog

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

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