File libshout-idjc.spec of Package libshout-idjc

#
# spec file for package libshout-idjc
#
# 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:           libshout-idjc3
Version:        2.4.6
Release:        0
Summary:        Modified version of libshout
License:        LGPL-2.0-only
URL:            https://idjc.sourceforge.net
Source0:        libshout-idjc-%{version}-r1.tar.gz
Patch0:         libshout-idjc-compile.patch
BuildRequires:  glib2-devel
BuildRequires:  libopus-devel
BuildRequires:  libvorbis-devel
BuildRequires:  mpg123-devel
BuildRequires:  speex-devel
BuildRequires:  libtheora-devel

%description
Modified version of libshout for IDJC

%package -n libshout-idjc-devel
Summary:        Industrial I/O library -- development files
Requires:       libshout-idjc3 = %{version}-%{release}

%description -n libshout-idjc-devel
Modified version of libshout

This sub-package contains the development files.

%prep
%autosetup -p1 -n libshout-idjc-%{version}

%build
%configure --disable-static
%make_build

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

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

%files
%license COPYING
%{_bindir}/shoutidjc
%dir %{_libdir}/ckport
%dir %{_libdir}/ckport/db
%{_libdir}/ckport/db/libshout-idjc.ckport
%{_libdir}/libshout-idjc.so.*

%files -n libshout-idjc-devel
%{_libdir}/libshout-idjc.so
%{_libdir}/pkgconfig/shout-idjc.pc
%dir %{_includedir}/shoutidjc
%{_includedir}/shoutidjc/shout.h
%{_mandir}/man1/shoutidjc.1%{?ext_man}
%dir %{_datadir}/doc/libshout-idjc
%{_datadir}/doc/libshout-idjc/*

%changelog
openSUSE Build Service is sponsored by