File libaal-1_0-5.spec of Package libaal-1_0-5

#
# spec file for package libaal-1_0-5 (Version 1.0.5)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           libaal-1_0-5
Version:        1.0.5
Release:        34
AutoReqProv:    on
Group:          System/Filesystems
Url:            http://www.namesys.com
License:        GPL v2 only
Summary:        A Library Providing Application Abstraction Mechanisms Used by Reiser4progs
Requires:       libaal-minimal0 = %{version}
Source0:        libaal-%{version}.tar.bz2
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.



Authors:
--------
    Hans Reiser <hans@reiser.to>
    Yury Umanets <umka@namesys.com>
    Vitaly Fertman <vitaly@namesys.com>

%package -n libaal-minimal0
Summary:        A Library Providing Application Abstraction Mechanisms Used by Reiser4progs
Group:          System/Filesystems
AutoReqProv:    on

%description -n libaal-minimal0
libaal includes device abstraction, libc independence code, and more.



Authors:
--------
    Hans Reiser <hans@reiser.to>
    Yury Umanets <umka@namesys.com>
    Vitaly Fertman <vitaly@namesys.com>

%package -n libaal-devel
Summary:        A Library Providing Application Abstraction Mechanisms Used by Reiser4progs
Group:          Development/Libraries/Other
Provides:       libaal:/usr/include/aal/libaal.h
Requires:       libaal-1_0-5 = %{version}
AutoReqProv:    on

%description -n libaal-devel
libaal includes device abstraction, libc independence code, and more.



Authors:
--------
    Hans Reiser <hans@reiser.to>
    Yury Umanets <umka@namesys.com>
    Vitaly Fertman <vitaly@namesys.com>

%prep
%setup -q -n libaal-%{version}
%patch1

%build
autoreconf --force --install
export CFLAGS="$RPM_OPT_FLAGS"
%configure --with-pic
make %{?jobs:-j%jobs} 

%install
make %{?jobs:-j%jobs} 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

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc AUTHORS BUGS COPYING CREDITS ChangeLog NEWS 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
* Mon Feb 25 2008 crrodriguez@suse.de
- fPIC --> --with-pic
- remove libtool archives with empty dependency_libs
* Fri Jul 27 2007 lmichnovic@suse.cz
- compiling with RPM_OPT_FLAGS (rpmoptflags.patch)
* Fri Jul 27 2007 lmichnovic@suse.cz
- fixed deprecated %%run_ldconfig
- renamed to libaal-1_0-5 according Shared Library Packaging Policy
- split off libaal-minimal0 shared library
* Sun May 27 2007 ro@suse.de
- split off devel package
* Mon Feb 19 2007 lmichnovic@suse.cz
- compiling with fPIC, fixes build on S390
- not removing RPMBUILDDIR in install section
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Thu Jan 12 2006 mjancar@suse.cz
- update to 1.0.5
* Mon Aug 01 2005 mjancar@suse.cz
- update to 1.0.4
* Wed Apr 20 2005 pth@suse.de
- Fix quoting in libaal.m4 (Bug #75889)
* Thu Feb 24 2005 mjancar@suse.cz
- update to 1.0.3
* Thu Nov 11 2004 ro@suse.de
- fixed file list
* Wed Aug 25 2004 mjancar@suse.cz
- update to 1.0.1
* Fri Aug 13 2004 mjancar@suse.cz
- update to 0.5.3
* Thu Feb 26 2004 mjancar@suse.cz
- update to 0.5.0
* Tue Feb 03 2004 mjancar@suse.cz
- update to 0.4.15
* Tue Oct 14 2003 mjancar@suse.cz
- use %%{run_ldconfig}
* Tue Oct 14 2003 mjancar@suse.cz
- run libtoolize -f
- run automake
* Fri Oct 10 2003 mjancar@suse.cz
- initial version 0.4.11
openSUSE Build Service is sponsored by