commit 34bcbf81ef026867f47c81bf5ab1ade6ad68c1ea754a56ab7634b1180b3f8e7d Author: Takashi Iwai Date: Sun Oct 9 09:25:43 2022 +0000 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 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/MAC_890_SDK.zip b/MAC_890_SDK.zip new file mode 100644 index 0000000..7185697 --- /dev/null +++ b/MAC_890_SDK.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b78d57c25ad9c5ac507beaefb0f9d6e2fced123f76d3747402dcfe9cc8b26186 +size 1601544 diff --git a/_service b/_service new file mode 100644 index 0000000..3df86c6 --- /dev/null +++ b/_service @@ -0,0 +1,3 @@ + + + diff --git a/license.html b/license.html new file mode 100644 index 0000000..9dc13fc --- /dev/null +++ b/license.html @@ -0,0 +1,99 @@ + + + + + + +Monkey's Audio - a fast and powerful lossless audio compressor + + + + + +
+ + + + + + + + + +
+
+
+ + + + + +
+

Monkey's Audio Program License Agreement

+
    +
  1. Monkey's Audio is completely free for personal, educational, or commercial use.
  2. +
  3. Although the software has been tested thoroughly, the author is in no way responsible for damages due to bugs or misuse.
  4. +
  5. The redistribution of Monkey's Audio is only allowed in cases where the original installer and components therein have not been modified.
  6. +
  7. 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'.
  8. +
  9. 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.
  10. +
+ +

Monkey's Audio SDK and Source Code License Agreement

+
    +
  1. 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.
  2. +
  3. 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.
  4. +
  5. Any source code, ideas, or libraries used must be plainly acknowledged in the software using the code.
  6. +
  7. Although the software has been tested thoroughly, the author is in no way responsible for damages due to bugs or misuse.
  8. +
  9. 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.
  10. +
+ +

Contact

+

+ Please use the details here for licensing questions or requests. +

+
+ +
+
+
+
+ + + + + +
+ + + diff --git a/mac.changes b/mac.changes new file mode 100644 index 0000000..5f60b65 --- /dev/null +++ b/mac.changes @@ -0,0 +1,17 @@ +------------------------------------------------------------------- +Thu Oct 6 09:39:12 UTC 2022 - Lukas Kucharczyk + +- 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 + +- 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. + diff --git a/mac.spec b/mac.spec new file mode 100644 index 0000000..cc94d74 --- /dev/null +++ b/mac.spec @@ -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 +Monkey’s 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 +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