1
0
Jan Engelhardt 2016-01-22 19:22:16 +00:00 committed by Git OBS Bridge
parent 00a0f4ce25
commit e9ab742293
2 changed files with 17 additions and 12 deletions

View File

@ -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

View File

@ -1,7 +1,7 @@
# -*- spec -*-
# Helper macros for creating manifold Asterisk sound packages
# written by Jan Engelhardt <jengelh@medozas.de>
# released into the Public Domain
# written by Jan Engelhardt <jengelh@inai.de>
# 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