-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpython-webmin.spec
More file actions
38 lines (30 loc) · 847 Bytes
/
python-webmin.spec
File metadata and controls
38 lines (30 loc) · 847 Bytes
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
Summary: A Python implementation of the Webmin API
Name: python-webmin
Version: 0.14
Release: 1
License: GPL
Group: System/Tools
Source: python-webmin-%{version}.tgz
URL: http://www.cendio.se/~astrand/python-webmin/
Packager: Peter Åstrand <astrand@lysator.liu.se>
BuildRoot: %{_tmppath}/%{name}-root
BuildArchitectures: noarch
%description
python-webmin is an implementation of the Webmin API. By using
python-webmin, you can write Webmin modules in Python instead of Perl.
%prep
%setup -n python-webmin
%build
#python -O -c 'from compileall import *; compile_dir(".")'
%install
rm -rf $RPM_BUILD_ROOT
make install ROOTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
/opt/python-webmin/setup.sh
/opt/python-webmin/webmin.py
/opt/python-webmin/mscstyle3/theme.py
%post
/opt/python-webmin/setup.sh >/dev/null