From e9ab742293b2a1a16d0d306311b0982b46e21d1447c5199e076f950d1b81a29a Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Fri, 22 Jan 2016 19:22:16 +0000 Subject: [PATCH] update for new languages OBS-URL: https://build.opensuse.org/package/show/network:telephony/asterisk-sounds-devel?expand=0&rev=5 --- asterisk-sounds-devel.spec | 22 ++++++++++++---------- macros.asterisk-sounds | 7 +++++-- 2 files changed, 17 insertions(+), 12 deletions(-) diff --git a/asterisk-sounds-devel.spec b/asterisk-sounds-devel.spec index fd202a3..684e02c 100644 --- a/asterisk-sounds-devel.spec +++ b/asterisk-sounds-devel.spec @@ -1,7 +1,7 @@ # # spec file for package asterisk-sounds-devel # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2016 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 @@ -14,16 +14,18 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -Name: asterisk-sounds-devel -Version: 0 -Release: 0 -Summary: Build helpers for Asterisk sound packages -Group: Development/Tools/Building -License: SUSE-Public-Domain -Source1: macros.asterisk-sounds -BuildRoot: %_tmppath/%name-%version-build -BuildArch: noarch + +Name: asterisk-sounds-devel +Version: 0 +Release: 0 +Summary: Build helpers for Asterisk sound packages +License: SUSE-Public-Domain +Group: Development/Tools/Building + +Source1: macros.asterisk-sounds +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch %description This package contains additional RPM macros to help build Asterisk diff --git a/macros.asterisk-sounds b/macros.asterisk-sounds index ef4b8d2..162807c 100644 --- a/macros.asterisk-sounds +++ b/macros.asterisk-sounds @@ -1,7 +1,7 @@ # -*- spec -*- # Helper macros for creating manifold Asterisk sound packages -# written by Jan Engelhardt -# released into the Public Domain +# written by Jan Engelhardt +# released under CC0 1.0 Universal %asterisk_sounds_dir %_datadir/asterisk/sounds @@ -38,9 +38,12 @@ This package contains the core part of that collection in \ %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_AU -L English (British)} %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 fr -L Italian} %asterisk_lng_ru(f:) %{expand:%%asterisk_snd_%{-f*} -l ru -L Russian} +%asterisk_lng_sv(f:) %{expand:%%asterisk_snd_%{-f*} -l ru -L Swedish} %asterisk_sound_package(Z) %{expand:%( for i in %*; do