forked from OpenACD/OpenACD
-
Notifications
You must be signed in to change notification settings - Fork 0
/
openacd.spec
60 lines (47 loc) · 1.23 KB
/
openacd.spec
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Name: openacd
Version: 0.9.5
Summary: OpenACD Call Center
Release: %{?buildno:%buildno}%{!?buildno:1}
Group: Applications/Communications
Vendor: OpenACD
Packager: Douglas Hubler
License: CPAL
AutoReqProv: no
URL: http://github.com/OpenACD/OpenACD/wiki
Source: OpenACD.tar.gz
BuildRequires: erlang
# unclear how to express >= R13B04 or >= R13B-04 ?
Requires: erlang
BuildRoot: %{_builddir}/%{name}-root
#make sure prefix ends with /
Prefix: /
%description
OpenACD is a skills-based, Call Center software based on FreeSWITCH and built in erlang.
%prep
%setup -n OpenACD
%build
make compile
%install
make install DESTDIR=$RPM_BUILD_ROOT PREFIX=%{prefix}
%clean
rm -rf $RPM_BUILD_ROOT
%pre
%post
%files
%defattr(-,root,root,-)
%dir %{prefix}/%{_lib}/openacd
%dir %{prefix}/var/lib/openacd
%dir %{prefix}/var/log/openacd
%dir %{prefix}/etc/openacd
%{prefix}/%_lib/openacd/*
%{prefix}/var/lib/openacd/*
%{prefix}/etc/openacd/*
%{prefix}/bin/openacd
%{prefix}/bin/nodetool
%changelog
* Thu Apr 25 2012 Cristi Starasciuc <[email protected]>
- New packaging
* Fri Jun 24 2011 Micah Warren <[email protected]>
- Updated provider, url, and removed no longer needed enviroment variables.
* Thu Jan 27 2011 Douglas Hubler <[email protected]>
- Initial release