Commit 7cd1719 1 parent efbef40 commit 7cd1719 Copy full SHA for 7cd1719
File tree 3 files changed +68
-0
lines changed
3 files changed +68
-0
lines changed Original file line number Diff line number Diff line change
1
+ project pkg {
2
+ rpm {
3
+ spec = " libaudec.spec"
4
+ }
5
+ }
Original file line number Diff line number Diff line change
1
+ diff -uraN libaudec-v0.2.2/meson.build omv-libaudec-v0.2.2/meson.build
2
+ --- libaudec-v0.2.2/meson.build 2020-05-16 13:50:13.000000000 +0200
3
+ +++ omv-libaudec-v0.2.2/meson.build 2020-07-20 12:41:48.461809598 +0200
4
+ @@ -212,8 +212,6 @@
5
+ install: not meson.is_subproject(),
6
+ )
7
+
8
+ - subdir('tests')
9
+ -
10
+ summary = [
11
+ '',
12
+ '------',
Original file line number Diff line number Diff line change
1
+ %global _desc %{expand:
2
+ libaudec (lib audio decoder) is a wrapper library over ffmpeg, sndfile and
3
+ libsamplerate for reading and resampling audio files.
4
+ }
5
+
6
+ Name: libaudec
7
+ Version: 0.3.4
8
+ Release: 1%?dist
9
+ Summary: libaudec (lib audio decoder) is a wrapper library over ffmpeg, sndfile and libsamplerate for reading and resampling audio files
10
+ License: AGPL-3.0 -or-later
11
+ URL: https://git.sr.ht/~alextee/libaudec
12
+ Source0: %url /archive/v%version .tar.gz
13
+ Patch0: libaudec.patch
14
+ BuildRequires: cmake meson ninja-build gcc
15
+ BuildRequires: pkgconfig(samplerate)
16
+ BuildRequires: pkgconfig(sndfile)
17
+ BuildRequires: ffmpeg-free-devel
18
+
19
+ %description %_desc
20
+
21
+ %package devel
22
+ Summary: Development files for %{name }
23
+ Requires: %{name }%{?_isa } = %{version }-%{release }
24
+
25
+ %description devel %_desc
26
+ This package contains the development files for the %name package.
27
+
28
+ %prep
29
+ %setup -q -n libaudec-v%{version }
30
+ %ifarch %{ix86 } %{arm }
31
+ %autopatch -p1
32
+ rm -r tests
33
+ %endif
34
+
35
+ %build
36
+ %meson
37
+ %meson_build
38
+
39
+ %install
40
+ %meson_install
41
+
42
+ %files
43
+ %doc README.md
44
+ %license COPYING COPYING.GPL3
45
+ %_bindir /audec
46
+
47
+ %files devel
48
+ %_includedir /audec/audec.h
49
+ %_libdir /libaudec.a
50
+ %_libdir /pkgconfig/audec.pc
51
+ %_libdir /libaudec.so
You can’t perform that action at this time.
0 commit comments