]> git.pld-linux.org Git - packages/comanche.git/blob - comanche.spec
- adapterized, pl summary, changed .wmconfig to .desktop
[packages/comanche.git] / comanche.spec
1 Summary:        A front-end for configuring the Apache Web server
2 Summary(pl):    Frontend do konfiguracji serwera WWW Apache
3 Name:           comanche
4 Version:        990405
5 Release:        3
6 License:        GPL
7 Group:          Applications/System
8 Group(de):      Applikationen/System
9 Group(pl):      Aplikacje/System
10 Source0:        http://comanche.com.dtu.dk/comanche/download/com%{version}.tar.gz
11 Source1:        %{name}.desktop
12 Source2:        %{name}.xpm
13 Source3:        %{name}-mini.xpm
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15 Obsoletes:      apachecfg
16 Requires:       itcl, tk, rcs
17 BuildArch:      noarch
18
19 %description
20 Comanche (COnfiguration MANager for apaCHE) is a front-end for the
21 Apache Web server, the most popular Web server used on the Internet.
22 Comanche aims to to make it easier to manage and configure Apache.
23
24 Install the commanche package if you need a configuration manager for
25 the Apache Web server. You'll also need to install the apache package.
26
27 %description -l pl
28 Commanche (COnfiguration MANager for apaCHE) jest interfejsem
29 (frontendem) dla Apache, najpopularniejszego serwera WWW u¿ywanego w
30 sieci Internet. Dziêki Commanche ³atwiej jest zarz±dzaæ i konfigurowaæ
31 Apache.
32
33 %prep
34 %setup -q -n com%{version}
35
36 %build
37 cat > comanche <<EOF
38 #!/bin/sh
39 #
40
41 cd %{_libdir}/comanche
42 exec %{_bindir}/itkwish3.0 main.tcl %{_sysconfdir}/httpd/conf
43 EOF
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47 install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/comanche,%{_pixmapsdir}/mini,%{_applnkdir}/System}
48
49 install comanche $RPM_BUILD_ROOT%{_bindir}
50 rm -f apachectl INSTALL changes.txt comanche 
51 cp -a * $RPM_BUILD_ROOT%{_libdir}/comanche
52 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/System
53 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
54 install %{SOURCE3} $RPM_BUILD_ROOT%{_pixmapsdir}/mini/mini-comanche.xpm
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %files
60 %defattr(644,root,root,755)
61 %attr(755,root,root) %{_bindir}/*
62 %{_libdir}/comanche
63 %{_applnkdir}/System/comanche.desktop
64 %{_pixmapsdir}/comanche.xpm
65 %{_pixmapsdir}/mini/mini-comanche.xpm
This page took 0.099694 seconds and 4 git commands to generate.