File libaal-1_0-5.spec of Package libaal-1_0-5
#
# spec file for package libaal-1_0-5
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: libaal-1_0-5
Version: 1.0.5
Release: 0
Url: http://www.namesys.com
Summary: A Library Providing Application Abstraction Mechanisms Used by Reiser4progs
License: GPL-2.0
Group: System/Filesystems
Requires: libaal-minimal0 = %{version}
BuildRequires: libtool
Source0: libaal-%{version}.tar.bz2
Source99: %{name}-rpmlintrc
Patch1: libaal-%{version}-rpmoptflags.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Provides: libaal = %{version}
Obsoletes: libaal <= 1.0.5
%description
libaal includes device abstraction, libc independence code, and more.
%package -n libaal-minimal0
Summary: A Library Providing Application Abstraction Mechanisms Used by Reiser4progs
License: GPL-2.0
Group: System/Filesystems
%description -n libaal-minimal0
libaal includes device abstraction, libc independence code, and more.
%package -n libaal-devel
Summary: A Library Providing Application Abstraction Mechanisms Used by Reiser4progs
License: GPL-2.0+
Group: Development/Libraries/Other
Provides: libaal-devel-static
Provides: libaal:/usr/include/aal/libaal.h
Requires: libaal-1_0-5 = %{version}
%description -n libaal-devel
libaal includes device abstraction, libc independence code, and more.
%prep
%setup -q -n libaal-%{version}
%patch1
%build
autoreconf --force --install
%configure --enable-static --with-pic
make %{?_smp_mflags}
%install
make %{?_smp_mflags} install DESTDIR=%{buildroot}
rm -f %{buildroot}%{_libdir}/{libaal-minimal.la,libaal.la}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%post -n libaal-minimal0 -p /sbin/ldconfig
%postun -n libaal-minimal0 -p /sbin/ldconfig
%files
%defattr(-,root,root)
%doc AUTHORS BUGS COPYING CREDITS ChangeLog README THANKS TODO
%{_libdir}/lib*so.5*
%files -n libaal-minimal0
%defattr(-,root,root)
%{_libdir}/libaal-minimal.so.0*
%files -n libaal-devel
%defattr(-,root,root)
%{_libdir}/lib*.so
%{_libdir}/lib*.a
%{_includedir}/aal/
%{_datadir}/aclocal/*
%changelog