forked from pool/asterisk-sounds-devel
- Fix %asterisk_snd_* definition to work with the newer rpm
macro expander. OBS-URL: https://build.opensuse.org/package/show/network:telephony/asterisk-sounds-devel?expand=0&rev=13
This commit is contained in:
parent
2e6f5142c8
commit
62fdc92e21
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Aug 25 07:46:10 UTC 2018 - jengelh@inai.de
|
||||||
|
|
||||||
|
- Fix %asterisk_snd_* definition to work with the newer rpm
|
||||||
|
macro expander.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jan 22 19:34:34 UTC 2016 - jengelh@inai.de
|
Fri Jan 22 19:34:34 UTC 2016 - jengelh@inai.de
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package asterisk-sounds-devel
|
# spec file for package asterisk-sounds-devel
|
||||||
#
|
#
|
||||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -36,13 +36,12 @@ sound packages.
|
|||||||
%build
|
%build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
c="%buildroot/%_sysconfdir/rpm"
|
c="%buildroot/usr/lib/rpm/macros.d/"
|
||||||
mkdir -p "$c"
|
mkdir -p "$c"
|
||||||
install -pm0644 "%{S:1}" "$c/"
|
install -pm0644 "%{S:1}" "$c/"
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%dir %_sysconfdir/rpm
|
/usr/lib/rpm/macros.d/
|
||||||
%config %_sysconfdir/rpm/macros.*
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@ -26,15 +26,15 @@ This package contains the core part of that collection in \
|
|||||||
%%defattr(-,root,root) \
|
%%defattr(-,root,root) \
|
||||||
}
|
}
|
||||||
|
|
||||||
%asterisk_snd_alaw(l:L:) %{expand:%%asterisk_snd_generic %{-l*} %{-L*} -f alaw -F 8 kHz A-law}
|
%asterisk_snd_alaw(l:L:) %{expand:%%asterisk_snd_generic %{-l:-l%{-l*}} %{-L:-L%{-L*}} -f alaw -F 8 kHz A-law}
|
||||||
%asterisk_snd_g722(l:L:) %{expand:%%asterisk_snd_generic %{-l*} %{-L*} -f g722 -F G.722}
|
%asterisk_snd_g722(l:L:) %{expand:%%asterisk_snd_generic %{-l:-l%{-l*}} %{-L:-L%{-L*}} -f g722 -F G.722}
|
||||||
%asterisk_snd_g729(l:L:) %{expand:%%asterisk_snd_generic %{-l*} %{-L*} -f g729 -F G.729}
|
%asterisk_snd_g729(l:L:) %{expand:%%asterisk_snd_generic %{-l:-l%{-l*}} %{-L:-L%{-L*}} -f g729 -F G.729}
|
||||||
%asterisk_snd_gsm(l:L:) %{expand:%%asterisk_snd_generic %{-l*} %{-L*} -f gsm -F GSM}
|
%asterisk_snd_gsm(l:L:) %{expand:%%asterisk_snd_generic %{-l:-l%{-l*}} %{-L:-L%{-L*}} -f gsm -F GSM}
|
||||||
%asterisk_snd_siren7(l:L:) %{expand:%%asterisk_snd_generic %{-l*} %{-L*} -f siren7 -F Siren7}
|
%asterisk_snd_siren7(l:L:) %{expand:%%asterisk_snd_generic %{-l:-l%{-l*}} %{-L:-L%{-L*}} -f siren7 -F Siren7}
|
||||||
%asterisk_snd_siren14(l:L:) %{expand:%%asterisk_snd_generic %{-l*} %{-L*} -f siren14 -F Siren14}
|
%asterisk_snd_siren14(l:L:) %{expand:%%asterisk_snd_generic %{-l:-l%{-l*}} %{-L:-L%{-L*}} -f siren14 -F Siren14}
|
||||||
%asterisk_snd_sln16(l:L:) %{expand:%%asterisk_snd_generic %{-l*} %{-L*} -f sln16 -F 16 kHz LPCM}
|
%asterisk_snd_sln16(l:L:) %{expand:%%asterisk_snd_generic %{-l:-l%{-l*}} %{-L:-L%{-L*}} -f sln16 -F 16 kHz LPCM}
|
||||||
%asterisk_snd_ulaw(l:L:) %{expand:%%asterisk_snd_generic %{-l*} %{-L*} -f ulaw -F 8 kHz µ-law}
|
%asterisk_snd_ulaw(l:L:) %{expand:%%asterisk_snd_generic %{-l:-l%{-l*}} %{-L:-L%{-L*}} -f ulaw -F 8 kHz µ-law}
|
||||||
%asterisk_snd_wav(l:L:) %{expand:%%asterisk_snd_generic %{-l*} %{-L*} -f wav -F 8 kHz LPCM}
|
%asterisk_snd_wav(l:L:) %{expand:%%asterisk_snd_generic %{-l:-l%{-l*}} %{-L:-L%{-L*}} -f wav -F 8 kHz LPCM}
|
||||||
|
|
||||||
%asterisk_lng_en(f:) %{expand:%%asterisk_snd_%{-f*} -l en -L English (US)}
|
%asterisk_lng_en(f:) %{expand:%%asterisk_snd_%{-f*} -l en -L English (US)}
|
||||||
%asterisk_lng_en_AU(f:) %{expand:%%asterisk_snd_%{-f*} -l en_AU -L English (Australian)}
|
%asterisk_lng_en_AU(f:) %{expand:%%asterisk_snd_%{-f*} -l en_AU -L English (Australian)}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user