Репозитории ALT
Последнее обновление в Пт, 24 июля 2020, 16:33:50 +0000 | Пакетов: 18242
en ru
Исходные пакеты в ветвях
свернуть окно
  • alt1.1-alt1.1
Группа :: Система/Серверы
Исходный пакет: asterisk-core-sounds-en-g729
Необработанный spec-файл

%define sound_dir %_datadir/asterisk/sounds/
%define sound_lang en

Name: asterisk-core-sounds-en-g729
Summary: sounds for Asterisk
Version: 1.5
Release: alt1
License: GPL
Group: System/Servers
BuildArch: noarch
Obsoletes: asterisk-sounds-en-g729 < %version-%release
Conflicts: asterisk-sounds-en-g729
Requires(pre):
asterisk-sounds-en-base

Url: http://downloads.asterisk.org/pub/telephony/sounds/releases/%name-%version.tar.gz

Source: %name-%version.tar

%description
%summary

%prep
%setup

%install
mkdir -p %buildroot%sound_dir/%sound_lang
cp -a ./ %buildroot%sound_dir/%sound_lang/
find -type f \
| grep -v sounds.list \
| grep -vP '^.\/(CREDITS|LICENSE|CHANGES)' \
| grep -vP '\.txt$' \
| sed 's!\.\/\(.*\)!%sound_dir%sound_lang/\1!' \
> sounds.list

find -mindepth 1 -type d \
| sed 's!\.\/\(.*\)!%%dir %sound_dir%sound_lang/\1!' \
>> sounds.list

find -type f \
| grep -P '^.\/(CREDITS|LICENSE|CHANGES)' \
| sed 's!\.\/\(.*\)!%%doc \1\n%%exclude %sound_dir%sound_lang/\1!' \
>> sounds.list

find -type f \
| grep -P '\.txt$' \
| sed 's!\.\/\(.*\)!%%doc \1\n%%exclude %sound_dir%sound_lang/\1!' \
>> sounds.list

%files -f sounds.list

%changelog
* Sat Jan 23 2016 Cronbuild Service <cronbuild at altlinux.org> 1.5-alt1
- new version 1.5

* Sat May 09 2015 Cronbuild Service <cronbuild at altlinux.org> 1.4.27-alt1
- new version 1.4.27

* Thu Sep 11 2014 Cronbuild Service <cronbuild at altlinux.org> 1.4.26-alt1
- new version 1.4.26

* Thu Oct 31 2013 Cronbuild Service <cronbuild at altlinux.org> 1.4.25-alt1
- new version 1.4.25

* Sat Aug 17 2013 Cronbuild Service <cronbuild at altlinux.org> 1.4.24-alt1
- new version 1.4.24

* Thu Jan 10 2013 Cronbuild Service <cronbuild at altlinux.org> 1.4.23-alt1
- new version 1.4.23

* Tue Jan 01 2013 Denis Smirnov <mithraen at altlinux.ru> 1.4.22-alt5
- fix cronbuild support

* Fri Dec 28 2012 Denis Smirnov <mithraen at altlinux.ru> 1.4.22-alt4
- add watch-file and cronbuild support

* Sat Sep 24 2011 Denis Smirnov <mithraen at altlinux.ru> 1.4.22-alt3
- add Obsoletes to old sounds packages

* Sun Jul 24 2011 Denis Smirnov <mithraen at altlinux.ru> 1.4.22-alt2
- add requires to asterisk-sounds-en-base

* Tue Jul 19 2011 Denis Smirnov <mithraen at altlinux.ru> 1.4.22-alt1
- first build


 
Проект Geyser основан на коде из проекта Prometheus 2.0, который был доступен по лицензии MIT