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