2014-07-22 08:54:52 +00:00
|
|
|
#
|
|
|
|
# spec file for package libsidplayfp
|
|
|
|
#
|
2021-04-29 12:30:11 +00:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2014-07-22 08:54:52 +00:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2021-04-29 12:30:11 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2014-07-22 08:54:52 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2021-04-29 12:30:11 +00:00
|
|
|
%define soname 6
|
2014-07-22 08:54:52 +00:00
|
|
|
%define stilview_soname 0
|
|
|
|
Name: libsidplayfp
|
2021-04-29 12:30:11 +00:00
|
|
|
Version: 2.1.2
|
2014-07-22 08:54:52 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: A library to play Commodore 64 music
|
2021-04-29 12:30:11 +00:00
|
|
|
License: GPL-2.0-or-later
|
2014-07-22 08:54:52 +00:00
|
|
|
Group: System/Libraries
|
2021-04-29 12:30:11 +00:00
|
|
|
URL: https://sourceforge.net/projects/sidplay-residfp/
|
|
|
|
Source0: https://sourceforge.net/projects/sidplay-residfp/files/libsidplayfp/2.1/libsidplayfp-%{version}.tar.gz
|
2014-07-22 08:54:52 +00:00
|
|
|
BuildRequires: gcc-c++
|
2021-04-29 12:30:11 +00:00
|
|
|
BuildRequires: libgcrypt-devel
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: pkgconfig(libftdi1)
|
2014-07-22 08:54:52 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
A library to play Commodore 64 music based on libsidplay2.
|
|
|
|
|
|
|
|
%package -n libsidplayfp%{soname}
|
|
|
|
Summary: A library to play Commodore 64 music
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n libsidplayfp%{soname}
|
|
|
|
A library to play Commodore 64 music based on libsidplay2.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for libsidplayfp
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: libsidplayfp%{soname} = %{version}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains headers and libraries required to build applications that
|
|
|
|
use libsidplayfp.
|
|
|
|
|
|
|
|
%package -n libstilview%{stilview_soname}
|
|
|
|
Summary: A library to play Commodore 64 music
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n libstilview%{stilview_soname}
|
|
|
|
A library to play Commodore 64 music based on libsidplay2.
|
|
|
|
|
|
|
|
%package -n libstilview-devel
|
|
|
|
Summary: Development files for libstilview
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: libstilview%{stilview_soname} = %{version}
|
|
|
|
|
|
|
|
%description -n libstilview-devel
|
|
|
|
This package contains headers and libraries required to build applications that
|
|
|
|
use libstilview.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure --disable-static
|
2021-04-29 12:30:11 +00:00
|
|
|
%make_build
|
2014-07-22 08:54:52 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
2021-04-29 12:30:11 +00:00
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
2014-07-22 08:54:52 +00:00
|
|
|
|
|
|
|
%post -n libsidplayfp%{soname} -p /sbin/ldconfig
|
|
|
|
%postun -n libsidplayfp%{soname} -p /sbin/ldconfig
|
|
|
|
%post -n libstilview%{stilview_soname} -p /sbin/ldconfig
|
|
|
|
%postun -n libstilview%{stilview_soname} -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files -n libsidplayfp%{soname}
|
2021-04-29 12:30:11 +00:00
|
|
|
%license COPYING
|
2014-07-22 08:54:52 +00:00
|
|
|
%{_libdir}/libsidplayfp.so.%{soname}*
|
|
|
|
|
|
|
|
%files -n libstilview%{stilview_soname}
|
2021-04-29 12:30:11 +00:00
|
|
|
%license COPYING
|
2014-07-22 08:54:52 +00:00
|
|
|
%{_libdir}/libstilview.so.%{stilview_soname}*
|
|
|
|
|
|
|
|
%files devel
|
2021-04-29 12:30:11 +00:00
|
|
|
%doc AUTHORS NEWS README TODO
|
2014-07-22 08:54:52 +00:00
|
|
|
%{_libdir}/libsidplayfp.so
|
|
|
|
%{_includedir}/sidplayfp/
|
|
|
|
%{_libdir}/pkgconfig/libsidplayfp.pc
|
|
|
|
|
|
|
|
%files -n libstilview-devel
|
2021-04-29 12:30:11 +00:00
|
|
|
%doc AUTHORS NEWS README TODO
|
2014-07-22 08:54:52 +00:00
|
|
|
%{_libdir}/libstilview.so
|
|
|
|
%{_includedir}/stilview/
|
|
|
|
%{_libdir}/pkgconfig/libstilview.pc
|
|
|
|
|
|
|
|
%changelog
|