File libltdl3.spec of Package libltdl3

#
# spec file for package libltdl3
#
# 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:           libltdl3
Summary:        Libtool Runtime Library
License:        GPL-2.0+
Group:          Development/Libraries/C and C++
Version:        1.5.26
Release:        0
Provides:       libltdl-3 = 1.5.26
Obsoletes:      libltdl-3 < 1.5.26
Url:            http://www.gnu.org/software/libtool/
Source:         ftp://ftp.gnu.org/pub/gnu/libtool/libtool-%{version}.tar.gz
Source2:        baselibs.conf
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Provides:       libltdl
Obsoletes:      libltdl <= 1.5.22
%ifarch ppc64
Obsoletes:      libtool-64bit <= 1.5.22
%endif

%description -n libltdl3
Library needed by programs that use the ltdl interface of GNU libtool.



Authors:
--------
    Gordon Matzigkeit  <gord@gnu.org>
    Alexandre Oliva  <oliva@dcc.unicamp.br>
    Thomas Tanner  <tanner@ffii.org>
    Gary V. Vaughan  <gvv@techie.com>
    Ossama Othman  <ossama@debian.org>
    Robert Boehne  <rboehne@ricardo-us.com>
    Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

%prep
%setup -q -n libtool-%{version}

%build
./configure CFLAGS="$RPM_OPT_FLAGS" \
   --prefix=/usr --infodir=%{_infodir} --libdir=%{_libdir}
make %{?_smp_mflags}

%install
make -C libltdl install DESTDIR=$RPM_BUILD_ROOT
rm -f $RPM_BUILD_ROOT%{_libdir}/*.{*a,so}
rm -rf $RPM_BUILD_ROOT%{_prefix}/include

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-, root, root)
%{_libdir}/libltdl.so.*

%changelog
openSUSE Build Service is sponsored by