Accepting request 1008365 from home:LKucharczyk

A new package for compressing/decompressing APE (Monkey's Audio) lossless audio files.

OBS-URL: https://build.opensuse.org/request/show/1008365
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mac?expand=0&rev=1
This commit is contained in:
Takashi Iwai 2022-10-09 09:25:43 +00:00 committed by Git OBS Bridge
commit 34bcbf81ef
7 changed files with 216 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

3
MAC_890_SDK.zip Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b78d57c25ad9c5ac507beaefb0f9d6e2fced123f76d3747402dcfe9cc8b26186
size 1601544

3
_service Normal file
View File

@ -0,0 +1,3 @@
<services>
<service name="download_files" mode="localonly"/>
</services>

99
license.html Normal file
View File

@ -0,0 +1,99 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<!-- head -->
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Monkey's Audio - a fast and powerful lossless audio compressor</title>
<link href="style.css" rel="stylesheet" type="text/css" media="screen" />
</head>
<!-- body -->
<body>
<div id="wrapper">
<!-- header -->
<!-- logo -->
<div id="logo">
<h1>
<a href="index.html"><img src="images/banner.png" alt="Monkey's Audio - a fast and powerful lossless audio compressor" width="980" height="80" /></a>
</h1>
</div>
<!-- menu -->
<div id="menu">
<ul>
<li class="(none)"><a href="index.html">Home</a></li>
<li class="(none)"><a href="theory.html">Theory</a></li>
<li class="(none)"><a href="developers.html">Developers</a></li>
<li class="(none)"><a href="versionhistory.html">Version History</a></li>
<li class="(none)"><a href="help.html">Help</a></li>
<li class="(none)"><a href="links.html">Links</a></li>
<li class="(none)"><a href="download.html">Download</a></li>
</ul>
</div>
<!-- page -->
<div id="page">
<div id="page-bgtop">
<div id="page-bgbtm">
<!-- left column -->
<div id="sidebar">
<h2>License</h2>
<p>
This is the license agreement for Monkey's Audio. The goal is to make it free and easy for anyone or any company to use Monkey's Audio.
</p>
</div>
<!-- content -->
<div id="content">
<h2>Monkey's Audio Program License Agreement</h2>
<ol>
<li>Monkey's Audio is completely free for personal, educational, or commercial use.</li>
<li>Although the software has been tested thoroughly, the author is in no way responsible for damages due to bugs or misuse. </li>
<li>The redistribution of Monkey's Audio is only allowed in cases where the original installer and components therein have not been modified.</li>
<li>The use of Monkey's Audio or any component thereof from another program requires compliance with the 'Monkey's Audio SDK and Source Code License Agreement'.</li>
<li>Installing and using Monkey's Audio signifies the acceptance of these terms. If you do not agree with any of the above terms, you must cease using Monkey's Audio and remove it from your storage device.</li>
</ol>
<h2>Monkey's Audio SDK and Source Code License Agreement</h2>
<ol>
<li>The Monkey's Audio SDK and source code can be freely used to add APE format playback, encoding, or tagging support to any product, free or commercial.</li>
<li>Monkey's Audio source can be included in GPL and open-source software, although Monkey's Audio itself will not be subjected to external licensing requirements or other viral source restrictions.</li>
<li>Any source code, ideas, or libraries used must be plainly acknowledged in the software using the code.</li>
<li>Although the software has been tested thoroughly, the author is in no way responsible for damages due to bugs or misuse.</li>
<li>If you do not completely agree with all of the previous stipulations, you must cease using this source code and remove it from your storage device.</li>
</ol>
<h2>Contact</h2>
<p>
Please use the details <a href="contact.html">here</a> for licensing questions or requests.
</p>
</div>
<div style="clear: both;"></div>
</div>
</div>
</div>
<!-- footer -->
<!-- footer -->
<div id="footer">
<div class="left">
<p><b>Thank You</b></p>
<p>Thank you for your support through 22 great years of Monkey's Audio.</p>
</div>
<div class="right">
<ul class="grid">
<li>All materials and programs copyrighted ©2000-2022 by Matt Ashland</li>
<li>Site by Matt Ashland, portions contributed by KiM</li>
<li>All rights reserved</li>
</ul>
</div>
</div>
</div>
</body>
</html>

17
mac.changes Normal file
View File

@ -0,0 +1,17 @@
-------------------------------------------------------------------
Thu Oct 6 09:39:12 UTC 2022 - Lukas Kucharczyk <lukas.kucharczyk@suse.com>
- Set license to SUSE-Permissive
- Add "%debug_package" macro to get rid of rpmlint warnings
-------------------------------------------------------------------
Wed Oct 5 14:41:45 UTC 2022 - Lukas Kucharczyk <lukas.kucharczyk@suse.com>
- Version 8.90 (September 29, 2022)
- Changed: Updated to a new certificate for signing that's good for three more years.
- Changed: Use nullptr and override under MSVC.
- Changed: Switched the CRC code to use a table defined in the code instead of running code to build the table (makes startup a little cleaner and faster).
- Changed: Worked through some more Clang-Tidy warnings.
- Changed: When verifying an APL file, it will slow verify in all cases since it's just a small chunk of a big file (instead of checking the big file quick).
- Changed: Updated to Visual Studio 17.3.5.

70
mac.spec Normal file
View File

@ -0,0 +1,70 @@
#
# spec file for package mac
#
# Copyright (c) 2022 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/
#
%define _version 890
Name: mac
Version: 8.90
Release: 0
Summary: APE codec and decompressor
License: SUSE-Permissive
URL: https://www.monkeysaudio.com/index.html
Source0: https://monkeysaudio.com/files/MAC_%{_version}_SDK.zip
Source1: https://www.monkeysaudio.com/license.html
BuildRequires: gcc-c++
BuildRequires: unzip
%debug_package
%description
Monkeys Audio is a fast and easy way to compress digital music.
%postun
ldconfig
%post
ldconfig
%package devel
Summary: Development files for APE
Requires: mac = %{version}
BuildArch: noarch
%description devel
Development files for Monkey's Audio codec and decompressor.
%prep
%setup -qc
tr -d '\r' <Readme.txt >README
tr -d '\r' <%{_sourcedir}/license.html >LICENSE
%build
%make_build -C Source/Projects/NonWindows
%install
make DESTDIR=%{buildroot} prefix=%{_prefix} install -C Source/Projects/NonWindows
%files
%doc README
%license LICENSE
%{_bindir}/mac
%{_prefix}/lib/libMAC.so.8
%files devel
%{_includedir}/*
%{_prefix}/lib/libMAC.so
%changelog