]> git.pld-linux.org Git - packages/comanche.git/blob - comanche.spec
- dropped pre-cvs changelog
[packages/comanche.git] / comanche.spec
1 Summary:        A front-end for configuring the Apache Web server
2 Summary(pl.UTF-8):      Frontend do konfiguracji serwera WWW Apache
3 Name:           comanche
4 Version:        990405
5 Release:        5
6 License:        GPL
7 Group:          Applications/System
8 #Source0:       http://comanche.com.dtu.dk/comanche/download/com%{version}.tar.gz
9 Source0:        com%{version}.tar.gz
10 # Source0-md5:  96ad93f17de7b11c52cd9a4ff028570b
11 Source1:        %{name}.desktop
12 Source2:        %{name}.xpm
13 Source3:        %{name}-mini.xpm
14 Requires:       itcl
15 Requires:       rcs
16 Requires:       tk
17 Obsoletes:      apachecfg
18 BuildArch:      noarch
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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
29 %description -l pl.UTF-8
30 Commanche (COnfiguration MANager for apaCHE) jest interfejsem
31 (frontendem) dla Apache, najpopularniejszego serwera WWW używanego w
32 sieci Internet. Dzięki Commanche łatwiej jest zarządzać i konfigurować
33 Apache.
34
35 %prep
36 %setup -q -n com%{version}
37
38 %build
39 cat > comanche <<EOF
40 #!/bin/sh
41 #
42
43 cd %{_prefix}/lib/comanche
44 exec %{_bindir}/itkwish3.0 main.tcl %{_sysconfdir}/httpd/conf
45 EOF
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49 install -d $RPM_BUILD_ROOT{%{_bindir},%{_prefix}/lib/comanche,%{_pixmapsdir}/mini,%{_desktopdir}}
50
51 install comanche $RPM_BUILD_ROOT%{_bindir}
52 rm -f apachectl INSTALL changes.txt comanche
53 cp -a * $RPM_BUILD_ROOT%{_prefix}/lib/comanche
54 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
55 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
56 install %{SOURCE3} $RPM_BUILD_ROOT%{_pixmapsdir}/mini/mini-comanche.xpm
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61 %files
62 %defattr(644,root,root,755)
63 %attr(755,root,root) %{_bindir}/*
64 %{_prefix}/lib/comanche
65 %{_desktopdir}/comanche.desktop
66 %{_pixmapsdir}/comanche.xpm
67 %{_pixmapsdir}/mini/mini-comanche.xpm
This page took 0.09794 seconds and 3 git commands to generate.