File pmix.spec of Package pmix

#
# spec file for package pmix
#
# Copyright (c) 2019 SUSE LINUX 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 https://bugs.opensuse.org/
#


Name:           pmix
Version:        3.2.2
Release:        0
Summary:        PMIx
License:        New BSD license
Group:          System/Libraries
URL:            https://github.com/pmix/pmix/
Source0:        %{name}-%{version}.tar.bz2
BuildRequires:  libevent-devel hwloc-devel zlib-devel
#Requires:       

%description


%package        devel
Summary:        Development files for %{name}
Group:          Development/Libraries/
Requires:       %{name} = %{version}

%description    devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.

%prep
%setup -q

%build
%configure --disable-static
make %{?_smp_mflags}

%install
%make_install
find %{buildroot} -type f -name "*.la" -delete -print

%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig

%files
%{_libdir}/*.so.*
/usr/bin/*
/etc/pmix-mca-params.conf

%files devel
%doc /usr/share/pmix/
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pmix/*.so
%{_libdir}/pkgconfig/pmix.pc

%changelog
openSUSE Build Service is sponsored by