]> git.pld-linux.org Git - packages/actos.git/blob - actos.spec
BR: rpmbuild(macros) >= 1.710
[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:  rpmbuild(macros) >= 1.710
12 BuildRequires:  python >= 1:2.3
13 BuildRequires:  python-pygtk-glade >= 2.0
14 BuildRequires:  python-pygtk-gtk >= 2.0
15 BuildRequires:  rpm-pythonprov
16 %pyrequires_eq  python
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
26 %description -l pl.UTF-8
27 ACTOS to graficzne narzędzie z intuicyjnym interfejsem do
28 konfigurowania Asteriska - linuksowej centralki telefonicznej (PBX) o
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
32 Asteriska.
33
34 %prep
35 %setup -q -n %{name}
36
37 %build
38 %py_build
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42
43 %py_install \
44         --root $RPM_BUILD_ROOT
45
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
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %files
55 %defattr(644,root,root,755)
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
67 %{py_sitescriptdir}/actos_modules
This page took 0.092327 seconds and 4 git commands to generate.