forked from sipXcom/sipxecs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsipxprompts.spec.in
41 lines (32 loc) · 960 Bytes
/
sipxprompts.spec.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
Name: @PACKAGE@
Version: @VERSION@
Release: @PACKAGE_REVISION@
Summary: sipXecs audio prompts
License: LGPL
Group: Telcommunications
Vendor: SIPfoundry
Packager: Douglas Hubler <[email protected]>
Url: http://www.sipfoundry.org
BuildRequires: automake
Requires: sipxsupervisor >= %version
Source: %name-%version.tar.gz
Prefix: %_prefix
BuildRoot: %{_tmppath}/%name-%version-root
%description
Media prompts for english which acts as defaults for all other prompt localization packages.
%prep
%setup -q
%build
%configure --enable-rpmbuild @SIPX_RPM_CONFIGURE_OPTIONS@
make
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%dir %attr(755,root,sipx) %{_datadir}/www/doc/stdprompts_en
%{_datadir}/www/doc/stdprompts_en/*
%config(noreplace) %attr(755,root,sipx) %{_datadir}/www/doc/stdprompts
%config(noreplace) %attr(755,sipx,sipx) %{_localstatedir}/sipxdata/mediaserver