]> git.pld-linux.org Git - packages/asterisk.git/blob - asterisk.spec
- initial release - VoIP system
[packages/asterisk.git] / asterisk.spec
1 # TODO:
2 # - cgi-bin package - separate, because of suid-root
3
4 Summary:        Asterisk PBX
5 Name:           asterisk
6 Version:        0.4.0
7 Release:        0.1
8 License:        GPL v2
9 Group:          Applications/System
10 Source0:        ftp://ftp.asterisk.org/pub/telephony/asterisk/%{name}-%{version}.tar.gz
11 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13 %description
14 Asterisk is an Open Source PBX and telephony development platform that
15 can both replace a conventional PBX and act as a platform for
16 developing custom telephony applications for delivering dynamic
17 content over a telephone similarly to how one can deliver dynamic
18 content through a web browser using CGI and a web server.
19
20 Asterisk talks to a variety of telephony hardware including BRI, PRI,
21 POTS, and IP telephony clients using the Inter-Asterisk eXchange
22 protocol (e.g. gnophone or miniphone). For more information and a
23 current list of supported hardware, see www.asteriskpbx.com.
24
25 %package devel
26 Summary:        Header files for Asterisk
27 Summary(pl):    Pliki nag³ówkowe do Asterisk
28 Group:          Development
29 Requires:       %{name} = %{version}
30
31 %description devel
32 Header files for Asterisk.
33
34 %description devel -l pl
35 Pakiet ten zawiera pliki nag³ówkowe do Asterisk.
36
37 %prep
38 %setup -q
39
40 %build
41 %{__make}
42
43 # it requires doxygen - I don't know if we should do this...
44 #%{__make} progdocs
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48 %{__make} install \
49         INSTALL_PREFIX=$RPM_BUILD_ROOT
50 %{__make} samples \
51         INSTALL_PREFIX=$RPM_BUILD_ROOT
52
53 %files
54 %defattr(644,root,root,755)
55 %doc BUGS ChangeLog CREDITS HARDWARE README* SECURITY configs doc/{*.txt,linkedlists.README}
56 %attr(0755,root,root) %{_sbindir}/*
57 %dir %{_sysconfdir}/asterisk
58 %attr(0640,root,root) %config(noreplace) %{_sysconfdir}/asterisk/*.conf
59 %attr(0640,root,root) %config(noreplace) %{_sysconfdir}/asterisk/*.adsi
60 %dir %{_libdir}/asterisk
61 %dir %{_libdir}/asterisk/modules
62 %attr(0755,root,root) %{_libdir}/asterisk/modules/*.so
63 %dir /var/lib/asterisk
64 %dir /var/lib/asterisk/agi-bin
65 %dir /var/lib/asterisk/sounds/digits
66 %attr(0644,root,root) /var/lib/asterisk/sounds/digits/*.gsm
67 %dir /var/lib/asterisk/images
68 %attr(0644,root,root) /var/lib/asterisk/images/*.jpg
69 %dir /var/lib/asterisk/keys
70 %attr(0644,root,root) /var/lib/asterisk/keys/*.pub
71 %dir /var/lib/asterisk/sounds
72 %attr(0644,root,root) /var/lib/asterisk/sounds/*.gsm
73
74 %dir /var/spool/asterisk
75 %dir /var/spool/asterisk/vm
76
77 # RedHat specific init script file
78 #%attr(0755,root,root)       /etc/rc.d/init.d/asterisk
79 #%attr(0755,root,root) %dir /var/lib/asterisk/agi-bin/*
80
81 %files devel
82 %defattr(644,root,root,755)
83 %dir %{_includedir}/asterisk
84 %attr(0644,root,root) %{_includedir}/asterisk/*.h
85
86 %clean
87 rm -rf $RPM_BUILD_ROOT
This page took 0.042394 seconds and 4 git commands to generate.