2022-10-09 09:25:43 +00:00
|
|
|
|
#
|
|
|
|
|
# spec file for package mac
|
|
|
|
|
#
|
2023-11-11 16:47:55 +00:00
|
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2022-10-09 09:25:43 +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.
|
|
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
2023-11-11 16:47:55 +00:00
|
|
|
|
%define _version 1026
|
2022-10-09 09:25:43 +00:00
|
|
|
|
Name: mac
|
2023-11-11 16:47:55 +00:00
|
|
|
|
Version: 10.26
|
2022-10-09 09:25:43 +00:00
|
|
|
|
Release: 0
|
|
|
|
|
Summary: APE codec and decompressor
|
2023-11-11 16:47:55 +00:00
|
|
|
|
License: BSD-3-Clause
|
2022-10-09 09:25:43 +00:00
|
|
|
|
URL: https://www.monkeysaudio.com/index.html
|
2022-10-10 14:21:38 +00:00
|
|
|
|
Source0: https://monkeysaudio.com/files/MAC_%{_version}_SDK.zip
|
|
|
|
|
Source1: https://monkeysaudio.com/license.html
|
2022-10-12 08:17:53 +00:00
|
|
|
|
BuildRequires: %{python_module html2text}
|
2023-11-11 16:47:55 +00:00
|
|
|
|
BuildRequires: cmake
|
2022-10-09 09:25:43 +00:00
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
|
BuildRequires: unzip
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Monkey’s Audio is a fast and easy way to compress digital music.
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Development files for APE
|
|
|
|
|
Requires: mac = %{version}
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
Development files for Monkey's Audio codec and decompressor.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -qc
|
|
|
|
|
tr -d '\r' <Readme.txt >README
|
|
|
|
|
|
|
|
|
|
%build
|
2023-11-11 16:47:55 +00:00
|
|
|
|
%cmake
|
|
|
|
|
%cmake_build
|
2022-10-09 09:25:43 +00:00
|
|
|
|
|
|
|
|
|
%install
|
2023-11-11 16:47:55 +00:00
|
|
|
|
%cmake_install
|
|
|
|
|
|
|
|
|
|
%ldconfig_scriptlets
|
2022-10-09 09:25:43 +00:00
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc README
|
2023-11-11 16:47:55 +00:00
|
|
|
|
%license License.txt
|
2022-10-09 09:25:43 +00:00
|
|
|
|
%{_bindir}/mac
|
2023-11-11 16:47:55 +00:00
|
|
|
|
%{_libdir}/libMAC.so.10
|
2022-10-09 09:25:43 +00:00
|
|
|
|
|
|
|
|
|
%files devel
|
2023-11-11 16:47:55 +00:00
|
|
|
|
%{_includedir}/MAC
|
|
|
|
|
%{_libdir}/libMAC.so
|
2022-10-09 09:25:43 +00:00
|
|
|
|
|
|
|
|
|
%changelog
|