File libHBAAPI2.spec of Package libHBAAPI2

# spec file for package libHBAAPI2
# Copyright (c) 2015 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:           libHBAAPI2
Version:        2.2.10
Release:        0
Summary:        SNIA HBAAPI library
License:        SUSE-SNIA-1.1
Group:          System/Libraries
Source0:        libHBAAPI-v%{version}.tar.xz
Source1:        SNIAv1.1.txt
BuildRequires:  automake
BuildRequires:  libtool
BuildRequires:  pkg-config
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

The SNIA HBA API library

%package        devel
Summary:        SNIA HBAAPI library
Group:          System/Libraries
Requires:       %{name} = %{version}-%{release}
Requires:       pkgconfig

%description    devel
The SNIA HBA API library

%setup -n libHBAAPI-v%{version}
cp %{S:1} COPYING

autoreconf --install
%configure --disable-static
make %{?_smp_mflags}

make install DESTDIR="%buildroot"
rm -f "%buildroot/%_libdir"/*.la

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%config(noreplace) %{_sysconfdir}/hba.conf

%files devel

openSUSE Build Service is sponsored by