1 Summary: A front-end for configuring the Apache Web server.
6 Group: Applications/System
7 Source0: http://comanche.com.dtu.dk/comanche/download/com%{version}.tar.gz
8 Source1: comanche.wmconfig
10 Source3: comanche-mini.xpm
13 BuildRoot: /var/tmp/comanche-root
14 BuildArchitectures: noarch
16 Requires: itcl, tk, rcs
19 Comanche (COnfiguration MANager for apaCHE) is a front-end for the
20 Apache Web server, the most popular Web server used on the Internet.
21 Comanche aims to to make it easier to manage and configure Apache.
23 Install the commanche package if you need a configuration manager for
24 the Apache Web server. You'll also need to install the apache package.
27 %setup -q -n com%{version}
35 exec /usr/bin/itkwish3.0 main.tcl /etc/httpd/conf
39 rm -rf $RPM_BUILD_ROOT
40 mkdir -p $RPM_BUILD_ROOT/usr/{bin,lib/comanche}
41 mkdir -p $RPM_BUILD_ROOT/etc/X11/wmconfig
42 install -m 755 comanche $RPM_BUILD_ROOT/usr/bin
43 rm apachectl INSTALL changes.txt comanche
44 cp -a * $RPM_BUILD_ROOT/usr/lib/comanche
45 install -m 644 $RPM_SOURCE_DIR/comanche.wmconfig $RPM_BUILD_ROOT/etc/X11/wmconfig/comanche
46 chmod 600 $RPM_BUILD_ROOT/etc/X11/wmconfig/comanche
47 mkdir -p $RPM_BUILD_ROOT/usr/share/icons/mini
48 install -m 644 $RPM_SOURCE_DIR/comanche.xpm $RPM_BUILD_ROOT/usr/share/icons
49 install -m 644 $RPM_SOURCE_DIR/comanche-mini.xpm \
50 $RPM_BUILD_ROOT/usr/share/icons/mini/mini-comanche.xpm
53 rm -rf $RPM_BUILD_ROOT
59 %config(missingok) /etc/X11/wmconfig/comanche
60 /usr/share/icons/comanche.xpm
61 /usr/share/icons/mini/mini-comanche.xpm