File libdjinterop.spec of Package libdjinterop
#
# spec file for package libdjinterop
#
# Copyright (c) 2024 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: libdjinterop0
Version: 0.22.1
Release: 0
Summary: Allows access to DJ record libraries
License: LGPL-3.0-only
URL: https://github.com/xsco/libdjinterop
Source: libdjinterop-%{version}.tar.gz
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: pkgconfig
BuildRequires: pkgconfig(sqlite3)
BuildRequires: pkgconfig(zlib)
%description
libdjinterop is a C++ library that allows access to database formats used to
store information about DJ record libraries.
This library currently supports:
* Engine Library, as used on "Prime"-series DJ equipment.
%package devel
Summary: Allows access to DJ record libraries
Requires: libdjinterop0
%description devel
libdjinterop is a C++ library that allows access to database formats used to
store information about DJ record libraries.
This library currently supports:
* Engine Library, as used on "Prime"-series DJ equipment.
%prep
%autosetup -p1 -n libdjinterop-%{version}
%build
%cmake
%cmake_build
%install
%cmake_install
%ldconfig_scriptlets
%files
%doc
%{_libdir}/libdjinterop.so.*
%files devel
%doc README.md
%{_libdir}/libdjinterop.so
%dir %{_includedir}/djinterop
%dir %{_includedir}/djinterop/engine
%dir %{_includedir}/djinterop/engine/v2
%dir %{_prefix}/lib/cmake
%dir %{_prefix}/lib/cmake/DjInterop
%{_includedir}/djinterop/*.hpp
%{_includedir}/djinterop/engine/*.hpp
%{_includedir}/djinterop/engine/v2/*.hpp
%{_libdir}/pkgconfig/djinterop.pc
%{_prefix}/lib/cmake/DjInterop/DjInteropTargets.cmake
%{_prefix}/lib/cmake/DjInterop/DjInteropTargets-relwithdebinfo.cmake
%{_prefix}/lib/cmake/DjInterop/DjInteropConfig.cmake
%{_prefix}/lib/cmake/DjInterop/DjInteropConfigVersion.cmake
%{_prefix}/lib/cmake/DjInterop/FindPackageHandleStandardArgs.cmake
%{_prefix}/lib/cmake/DjInterop/FindPackageMessage.cmake
%{_prefix}/lib/cmake/DjInterop/FindSQLite3.cmake
%changelog