This repository has been archived by the owner on Jun 9, 2018. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdabplus-on-air-processing.spec
64 lines (49 loc) · 2.03 KB
/
dabplus-on-air-processing.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
%define _gh_mk_lp_name mk_liquidsoap_processing
%define _gh_mk_lp_ref 59d14f2e07aadcc35cece0729c6d8b9d1955145c
# liquidsoap version
%define _ls_version 1.3.0
%define _liqdir %{_exec_prefix}/lib/liquidsoap/%{_ls_version}
Name: dabplus-on-air-processing
BuildRequires: make
BuildRequires: systemd
Requires: liquidsoap = ${_ls_version}
Requires: odr-audioenc
Requires: odr-padenc
Requires: %{_gh_mk_lp_name}
%{?systemd_requires}
BuildArch: noarch
Version: 0.9.0
Release: 1
Summary: Liquidsoap based DAB+ on air processing solution
License: GPLv3+
URL: https://github.com/radiorabe/dabplus-on-air-processing
Source0: https://github.com/radiorabe/dabplus-on-air-processing/archive/v%{version}.tar.gz#/%{name}-v%{version}.tar.gz
Source1: https://github.com/mkpascal/%{_gh_mk_lp_name}/archive/%{_gh_mk_lp_ref}.tar.gz#/%{_gh_mk_lp_name}-%{_gh_mk_lp_ref}.tar.gz
%description
DAB+ on air processing is the precessing chain we use to prepare and encode the
broadcast signal for Radio Bern RaBe.
%package -n %{_gh_mk_lp_name}
Summary: Broadcast Audio Processing Settings in Liquidsoap
Requires: liquidsoap = %{_ls_version}
Requires: ladspa-tap-plugins
Requires: ladspa-swh-plugins
%description -n %{_gh_mk_lp_name}
Multiband compression chain for liquidsoap. Packaged as part of %{name}.
%prep
%setup0
%setup1 -T -D -a 1
%install
make install PREFIX=%{buildroot}%{_prefix} ETCDIR=%{buildroot}%{_sysconfdir} LS_VER=%{_ls_version}
# mk_liquidsoap_processing is in this package for convenience and not in the makefile since it will most likely be phased out
install -d %{buildroot}%{_liqdir}
install %{_gh_mk_lp_name}-%{_gh_mk_lp_ref}/process.liq %{buildroot}%{_liqdir}
%files
%doc README.md
%config /etc/liquidsoap/dabplus-on-air-processing.liq
%config(noreplace) /etc/liquidsoap/dabplus-on-air-processing.conf
%attr(644, -, -) %{_unitdir}/[email protected]/*.conf
%{_liqdir}/%{name}*
%files -n %{_gh_mk_lp_name}
%doc %{_gh_mk_lp_name}-%{_gh_mk_lp_ref}/README.md
%doc %{_gh_mk_lp_name}-%{_gh_mk_lp_ref}/LICENSE
%{_liqdir}/process.liq