File libltdl3.spec of Package libltdl3

# spec file for package libltdl3
# Copyright (c) 2014 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

Name:           libltdl3
Summary:        Libtool Runtime Library
License:        GPL-2.0+
Group:          Development/Libraries/C and C++
Version:        1.5.26
Release:        25.1
Provides:       libltdl-3 = 1.5.26
Obsoletes:      libltdl-3 < 1.5.26
Source2:        baselibs.conf
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Provides:       libltdl
Obsoletes:      libltdl <= 1.5.22
%ifarch ppc64
Obsoletes:      libtool-64bit <= 1.5.22

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

    Gordon Matzigkeit  <>
    Alexandre Oliva  <>
    Thomas Tanner  <>
    Gary V. Vaughan  <>
    Ossama Othman  <>
    Robert Boehne  <>
    Bob Friesenhahn  <>

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

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

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

%defattr(-, root, root)

openSUSE Build Service is sponsored by