]>
Commit | Line | Data |
---|---|---|
b7e040b9 | 1 | Summary: A front-end for configuring the Apache Web server |
cd5dfb15 | 2 | Summary(pl.UTF-8): Frontend do konfiguracji serwera WWW Apache |
7dd1e0d8 JR |
3 | Name: comanche |
4 | Version: 990405 | |
48e3d8b2 | 5 | Release: 5 |
e157840a | 6 | License: GPL |
b7e040b9 | 7 | Group: Applications/System |
bf4ec1c0 | 8 | #Source0: http://comanche.com.dtu.dk/comanche/download/com%{version}.tar.gz |
9 | Source0: com%{version}.tar.gz | |
10 | # Source0-md5: 96ad93f17de7b11c52cd9a4ff028570b | |
b7e040b9 JB |
11 | Source1: %{name}.desktop |
12 | Source2: %{name}.xpm | |
13 | Source3: %{name}-mini.xpm | |
06a0346f | 14 | Requires: itcl |
15 | Requires: rcs | |
16 | Requires: tk | |
03f341d8 | 17 | Obsoletes: apachecfg |
b7e040b9 | 18 | BuildArch: noarch |
06a0346f | 19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
a16b898f JR |
20 | |
21 | %description | |
22 | Comanche (COnfiguration MANager for apaCHE) is a front-end for the | |
23 | Apache Web server, the most popular Web server used on the Internet. | |
24 | Comanche aims to to make it easier to manage and configure Apache. | |
25 | ||
26 | Install the commanche package if you need a configuration manager for | |
27 | the Apache Web server. You'll also need to install the apache package. | |
28 | ||
f697766d | 29 | %description -l pl.UTF-8 |
e157840a | 30 | Commanche (COnfiguration MANager for apaCHE) jest interfejsem |
f697766d JR |
31 | (frontendem) dla Apache, najpopularniejszego serwera WWW używanego w |
32 | sieci Internet. Dzięki Commanche łatwiej jest zarządzać i konfigurować | |
e157840a | 33 | Apache. |
7d9d95e7 | 34 | |
a16b898f JR |
35 | %prep |
36 | %setup -q -n com%{version} | |
37 | ||
38 | %build | |
39 | cat > comanche <<EOF | |
b7e040b9 | 40 | #!/bin/sh |
a16b898f JR |
41 | # |
42 | ||
03f341d8 | 43 | cd %{_prefix}/lib/comanche |
e157840a | 44 | exec %{_bindir}/itkwish3.0 main.tcl %{_sysconfdir}/httpd/conf |
a16b898f JR |
45 | EOF |
46 | ||
47 | %install | |
48 | rm -rf $RPM_BUILD_ROOT | |
03f341d8 | 49 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_prefix}/lib/comanche,%{_pixmapsdir}/mini,%{_desktopdir}} |
7dd1e0d8 JR |
50 | |
51 | install comanche $RPM_BUILD_ROOT%{_bindir} | |
a305ca74 | 52 | rm -f apachectl INSTALL changes.txt comanche |
03f341d8 JB |
53 | cp -a * $RPM_BUILD_ROOT%{_prefix}/lib/comanche |
54 | install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} | |
b7e040b9 JB |
55 | install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir} |
56 | install %{SOURCE3} $RPM_BUILD_ROOT%{_pixmapsdir}/mini/mini-comanche.xpm | |
a16b898f JR |
57 | |
58 | %clean | |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | ||
61 | %files | |
7dd1e0d8 JR |
62 | %defattr(644,root,root,755) |
63 | %attr(755,root,root) %{_bindir}/* | |
03f341d8 JB |
64 | %{_prefix}/lib/comanche |
65 | %{_desktopdir}/comanche.desktop | |
b7e040b9 JB |
66 | %{_pixmapsdir}/comanche.xpm |
67 | %{_pixmapsdir}/mini/mini-comanche.xpm |