]>
Commit | Line | Data |
---|---|---|
ea805d0d | 1 | Summary: ACTOS - Asterisk Configuration Tool Open Source |
227344b3 | 2 | Summary(pl.UTF-8): ACTOS - Narzędzie do konfiguracji Asteriska |
ea805d0d | 3 | Name: actos |
a1149ec8 | 4 | Version: 2.25 |
ea805d0d | 5 | Release: 0.1 |
f4ec69a0 | 6 | License: GPL v2 |
ea805d0d JB |
7 | Group: Applications/Communications |
8 | Source0: http://www.derrier.com/pierre/code/%{name}-%{version}.tar.gz | |
a1149ec8 | 9 | # Source0-md5: c449a769bc527210f7dae98cef5b1666 |
f4ec69a0 | 10 | URL: http://www.derrier.com/pierre/code/actos.html |
9a8a83e4 | 11 | BuildRequires: rpmbuild(macros) >= 1.710 |
f4ec69a0 JB |
12 | BuildRequires: python >= 1:2.3 |
13 | BuildRequires: python-pygtk-glade >= 2.0 | |
14 | BuildRequires: python-pygtk-gtk >= 2.0 | |
15 | BuildRequires: rpm-pythonprov | |
a1149ec8 | 16 | %pyrequires_eq python |
ea805d0d JB |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
18 | ||
19 | %description | |
20 | ACTOS is a GUI tool with an intuitive interface for configuring | |
21 | Asterisk, the Linux Open Source PBX. Asterisk is a very powerful tool, | |
22 | and that means a bit complex... ACTOS helps the user through the | |
23 | choice of the options and generate the text configuration files needed | |
24 | by Asterisk. | |
25 | ||
365429fd JR |
26 | %description -l pl.UTF-8 |
27 | ACTOS to graficzne narzędzie z intuicyjnym interfejsem do | |
f4ec69a0 | 28 | konfigurowania Asteriska - linuksowej centralki telefonicznej (PBX) o |
365429fd JR |
29 | otwartych źródłach. Asterisk jest bardzo potężnym narzędziem, a przy |
30 | tym dość złożonym... ACTOS pomaga użytkownikowi w wyborze opcji i | |
31 | wygenerowaniu tekstowych plików konfiguracyjnych wymaganych przez | |
f4ec69a0 JB |
32 | Asteriska. |
33 | ||
ea805d0d JB |
34 | %prep |
35 | %setup -q -n %{name} | |
ea805d0d JB |
36 | |
37 | %build | |
3c562218 | 38 | %py_build |
ea805d0d JB |
39 | |
40 | %install | |
41 | rm -rf $RPM_BUILD_ROOT | |
f4ec69a0 | 42 | |
3c562218 | 43 | %py_install \ |
ea805d0d JB |
44 | --root $RPM_BUILD_ROOT |
45 | ||
a1149ec8 JB |
46 | %py_postclean |
47 | ||
48 | mv -f $RPM_BUILD_ROOT%{_bindir}/{actos.py,actos} | |
49 | rm -f $RPM_BUILD_ROOT%{_datadir}/%{name}/{AUTHORS,CHANGELOG,COPYING,INSTALL,KNOWN_BUGS,README,TODO} | |
50 | ||
ea805d0d JB |
51 | %clean |
52 | rm -rf $RPM_BUILD_ROOT | |
53 | ||
54 | %files | |
55 | %defattr(644,root,root,755) | |
a1149ec8 JB |
56 | %doc AUTHORS CHANGELOG KNOWN_BUGS README TODO |
57 | %attr(755,root,root) %{_bindir}/actos | |
58 | %dir %{_datadir}/%{name} | |
59 | %{_datadir}/%{name}/*.def | |
60 | %{_datadir}/%{name}/actos.conf | |
61 | %{_datadir}/%{name}/scripts | |
62 | %{_datadir}/%{name}/en.help | |
63 | %lang(fr) %{_datadir}/%{name}/fr.help | |
64 | %dir %{_datadir}/%{name}/glade | |
65 | %{_datadir}/%{name}/glade/actos_en.glade | |
66 | %lang(fr) %{_datadir}/%{name}/glade/actos_fr.glade | |
f4ec69a0 | 67 | %{py_sitescriptdir}/actos_modules |