forked from pool/asterisk-sounds-devel
Accepting request 632880 from network:telephony
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/632880 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/asterisk-sounds-devel?expand=0&rev=2
This commit is contained in:
commit
4e36ed341b
@ -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
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# 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
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
Name: asterisk-sounds-devel
|
||||
Version: 2
|
||||
Version: 3
|
||||
Release: 0
|
||||
Summary: Build helpers for Asterisk sound packages
|
||||
License: SUSE-Public-Domain
|
||||
@ -36,13 +36,12 @@ sound packages.
|
||||
%build
|
||||
|
||||
%install
|
||||
c="%buildroot/%_sysconfdir/rpm"
|
||||
c="%buildroot/usr/lib/rpm/macros.d/"
|
||||
mkdir -p "$c"
|
||||
install -pm0644 "%{S:1}" "$c/"
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%dir %_sysconfdir/rpm
|
||||
%config %_sysconfdir/rpm/macros.*
|
||||
/usr/lib/rpm/macros.d/
|
||||
|
||||
%changelog
|
||||
|
@ -26,19 +26,20 @@ This package contains the core part of that collection in \
|
||||
%%defattr(-,root,root) \
|
||||
}
|
||||
|
||||
%asterisk_snd_alaw(l:L:) %{expand:%%asterisk_snd_generic %{-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_g729(l:L:) %{expand:%%asterisk_snd_generic %{-l*} %{-L*} -f g729 -F G.729}
|
||||
%asterisk_snd_gsm(l:L:) %{expand:%%asterisk_snd_generic %{-l*} %{-L*} -f gsm -F GSM}
|
||||
%asterisk_snd_siren7(l:L:) %{expand:%%asterisk_snd_generic %{-l*} %{-L*} -f siren7 -F Siren7}
|
||||
%asterisk_snd_siren14(l:L:) %{expand:%%asterisk_snd_generic %{-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_ulaw(l:L:) %{expand:%%asterisk_snd_generic %{-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_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 %{-l*}} %{-L:-L %{-L*}} -f g722 -F G.722}
|
||||
%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 %{-l*}} %{-L:-L %{-L*}} -f gsm -F GSM}
|
||||
%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 %{-l*}} %{-L:-L %{-L*}} -f siren14 -F Siren14}
|
||||
%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 %{-l*}} %{-L:-L %{-L*}} -f ulaw -F 8 kHz µ-law}
|
||||
%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_AU(f:) %{expand:%%asterisk_snd_%{-f*} -l en_AU -L English (Australian)}
|
||||
%asterisk_lng_en_GB(f:) %{expand:%%asterisk_snd_%{-f*} -l en_GB -L English (British)}
|
||||
%asterisk_lng_en_NZ(f:) %{expand:%%asterisk_snd_%{-f*} -l en_NZ -L English (New Zealand)}
|
||||
%asterisk_lng_es(f:) %{expand:%%asterisk_snd_%{-f*} -l es -L Spanish}
|
||||
%asterisk_lng_fr(f:) %{expand:%%asterisk_snd_%{-f*} -l fr -L French}
|
||||
%asterisk_lng_it(f:) %{expand:%%asterisk_snd_%{-f*} -l it -L Italian}
|
||||
|
Loading…
Reference in New Issue
Block a user