File lsp-common-lib.spec of Package lsp-common-lib

# spec file for package lsp-common-lib
#
# Copyright (c) 2021 Fabio Pesari
#
# 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:          liblsp-common
Version:       1.0.13
Release:       0
Summary:       Common libraries for the LSP project
License:       LGPL-3.0-or-later
Group:         System/Libraries
URL:           https://github.com/sadko4u/lsp-common-lib
Source0:       lsp-common-lib-%{version}.tar.gz
BuildRoot:     %{_tmppath}/%{name}-%{version}-build
BuildRequires: gcc gcc-c++

%description
DSP library for digital signal processing (and more)

This library provides set of functions that perform SIMD-optimized 
computing on several hardware architectures.

%package devel
Summary:       Common libraries for the LSP project (development files)
Requires:      %{name} = %{version}
Group:         Development/Libraries/C and C++
BuildRequires: pkg-config

%description devel
DSP library for digital signal processing (and more)

This library provides set of functions that perform SIMD-optimized 
computing on several hardware architectures.

These are the development files for lsp-development-lib.

%prep
%setup -q -n lsp-common-lib-%{version}

%build
make config PREFIX=%{_prefix} LIBDIR=%{_libdir}
%make_build

%install
%make_install

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%doc README.md
%license COPYING
%{_libdir}/*.so

%files devel
%{_libdir}/*.a
%{_includedir}/lsp-plug.in/
%exclude %dir %{_libdir}/pkgconfig
%{_libdir}/pkgconfig/lsp-common-lib.pc

%changelog
openSUSE Build Service is sponsored by