File proteowizard.spec of Package proteowizard

#
# spec file for package proteowizard
#
# Copyright (c) 2020 SUSE LLC
#
# 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:           proteowizard
Version:        3.0.21339
%define hash    3_0_21339_f15d0fc
Release:        0
Summary:        A cross-platform toolkit for mass spectrometry and proteomics
License:        Apache-2.0
Group:          Productivity/Scientific/Other
URL:            https://proteowizard.sourceforge.io/
Source:         pwiz-src-without-v-%{hash}.tar.bz2
BuildRequires:  gcc-c++
BuildRequires:  glibc-devel

%description
The ProteoWizard Library and Tools are a set of modular
and extensible open-source, cross-platform tools and
software libraries that facilitate proteomics data analysis.

The libraries enable rapid tool creation by providing a
robust, pluggable development framework that simplifies
and unifies data file access, and performs standard
chemistry and LCMS dataset computations.

%prep
%autosetup -c %{name}-%{version}

%build
./quickbuild.sh --abbreviate-paths %{?jobs:-j%jobs} runtime-link=shared toolset=gcc pwiz executables

%install
mkdir -p %{buildroot}%{_bindir}
install build-linux-*/pwiz_tools/commandline/gcc-*/rls/lnk-sttc/thrd-mlt/* %{buildroot}%{_bindir}
rm -rf %{buildroot}%{_bindir}/*.o

%files
%{_bindir}/chainsaw
%{_bindir}/idconvert
%{_bindir}/msconvert
%{_bindir}/msdir
%{_bindir}/mspicture
%{_bindir}/pepcat
%{_bindir}/qtofpeakpicker
%{_bindir}/idcat
%{_bindir}/msaccess
%{_bindir}/msdiff
%{_bindir}/msistats
%{_bindir}/peakaboo
%{_bindir}/pepsum

%changelog
openSUSE Build Service is sponsored by