]> git.pld-linux.org Git - packages/comanche.git/blob - comanche.spec
e03159ad18697ed94529cacb2f8009fa8b6f9897
[packages/comanche.git] / comanche.spec
1 Summary:        A front-end for configuring the Apache Web server.
2 Name:           comanche
3 Version:        990405
4 Release:        3
5 Group:          Applications/System
6 Source0:        http://comanche.com.dtu.dk/comanche/download/com%{version}.tar.gz
7 Source1:        comanche.wmconfig
8 Source2:        comanche.xpm
9 Source3:        comanche-mini.xpm
10 Copyright:      GPL
11 BuildRoot:      /tmp/%{name}-%{version}-root
12 Obsoletes:      apachecfg
13 Requires:       itcl, tk, rcs
14 BuildArchitectures: noarch
15
16 %description
17 Comanche (COnfiguration MANager for apaCHE) is a front-end for the
18 Apache Web server, the most popular Web server used on the Internet.
19 Comanche aims to to make it easier to manage and configure Apache.
20
21 Install the commanche package if you need a configuration manager for
22 the Apache Web server. You'll also need to install the apache package.
23
24 %prep
25 %setup -q -n com%{version}
26
27 %build
28 cat > comanche <<EOF
29 #!/bin/bash
30 #
31
32 cd /usr/lib/comanche
33 exec /usr/bin/itkwish3.0 main.tcl /etc/httpd/conf
34 EOF
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38 install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/comanche,%{_datadir}/icons/mini}
39 install -d $RPM_BUILD_ROOT/etc/X11/wmconfig
40
41 install comanche $RPM_BUILD_ROOT%{_bindir}
42 rm apachectl INSTALL changes.txt comanche 
43 cp -a * $RPM_BUILD_ROOT/usr/lib/comanche
44 install $RPM_SOURCE_DIR/comanche.wmconfig $RPM_BUILD_ROOT/etc/X11/wmconfig/comanche
45 install $RPM_SOURCE_DIR/comanche.xpm $RPM_BUILD_ROOT%{_datadir}/icons
46 install $RPM_SOURCE_DIR/comanche-mini.xpm \
47         $RPM_BUILD_ROOT%{_datadir}/icons/mini/mini-comanche.xpm
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %files
53 %defattr(644,root,root,755)
54 %attr(755,root,root) %{_bindir}/*
55 %{_libdir}/comanche
56 %attr(600,root,root) %config(missingok) /etc/X11/wmconfig/comanche
57 %{_datadir}/icons/comanche.xpm
58 %{_datadir}/icons/mini/mini-comanche.xpm
This page took 0.084185 seconds and 2 git commands to generate.