File tree Expand file tree Collapse file tree 2 files changed +58
-0
lines changed Expand file tree Collapse file tree 2 files changed +58
-0
lines changed Original file line number Diff line number Diff line change
1
+ sources :
2
+ MAC_1109_SDK.zip : dd2fbb735936f5b9cf51a5e954516458301437c8
Original file line number Diff line number Diff line change
1
+ %define _version 1109
2
+
3
+ Name: mac
4
+ Version: 11.09
5
+ Release: 1
6
+ Summary: APE codec and decompressor
7
+ License: BSD-3-Clause
8
+ Group: Sound/Utilities
9
+ URL: https://www.monkeysaudio.com/index.html
10
+ Source0: https://monkeysaudio.com/files/MAC_%{_version }_SDK.zip
11
+ BuildSystem: cmake
12
+
13
+ BuildRequires: cmake
14
+ BuildRequires: ninja
15
+ BuildRequires: unzip
16
+
17
+ %description
18
+ Monkey’s Audio is a fast and easy way to compress digital music.
19
+ Unlike traditional methods such as mp3, ogg, or wma that permanently
20
+ discard quality to save space, Monkey’s Audio only makes perfect,
21
+ bit-for-bit copies of your music.
22
+
23
+ %package devel
24
+ Summary: Development files for APE
25
+ Requires: mac = %{version }-%{release }
26
+
27
+ %description devel
28
+ Development files for Monkey's Audio Codec and decompressor.
29
+
30
+ %prep
31
+ %setup -qc
32
+ tr -d ' \r' < Readme.txt > README
33
+
34
+ %build
35
+ cmake \
36
+ -DCMAKE_INSTALL_PREFIX=%{_prefix } \
37
+ -DCMAKE_C_FLAGS=" %{optflags}" \
38
+ -DCMAKE_CXX_FLAGS=" %{optflags}" \
39
+ -DBUILD_SHARED=ON \
40
+ -DBUILD_UTIL=ON \
41
+ -G Ninja
42
+ %ninja_build
43
+
44
+ %install
45
+ %ninja_install
46
+
47
+
48
+ %files
49
+ %{_bindir }/%{name }
50
+ %{_libdir }/libMAC.so.*
51
+ %doc README
52
+ %license License.txt
53
+
54
+ %files devel
55
+ %{_includedir }/MAC
56
+ %{_libdir }/libMAC.so
You can’t perform that action at this time.
0 commit comments