]> git.pld-linux.org Git - packages/comanche.git/commitdiff
- spec adapterized.
authorkloczek <kloczek@pld-linux.org>
Thu, 18 May 2000 17:11:04 +0000 (17:11 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    comanche.spec -> 1.7

comanche.spec

index dcb1a72274d2bf13ca59da5ea526c37da834e69c..7fd912790bd29f5d3576f3f21ef1ded5ce70d54e 100644 (file)
@@ -2,16 +2,17 @@ Summary:      A front-end for configuring the Apache Web server.
 Name:          comanche
 Version:       990405
 Release:       3
-Group:         Applications/System
+Group:         Utilities/System
+Group(pl):     Narzêdzia/System
 Source0:       http://comanche.com.dtu.dk/comanche/download/com%{version}.tar.gz
 Source1:       comanche.wmconfig
 Source2:       comanche.xpm
 Source3:       comanche-mini.xpm
-Copyright:     GPL
+License:       GPL
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 Obsoletes:     apachecfg
 Requires:      itcl, tk, rcs
-BuildArchitectures: noarch
+BuildArchitectures:    noarch
 
 %description
 Comanche (COnfiguration MANager for apaCHE) is a front-end for the
@@ -22,9 +23,10 @@ Install the commanche package if you need a configuration manager for
 the Apache Web server. You'll also need to install the apache package.
 
 %description -l pl
-Commanche (COnfiguration MANager for apaCHE) jest interfejsem (frontendem)
-dla Apache, najpopularniejszego serwera WWW u¿ywanego w sieci Internet.
-Dziêki Commanche ³atwiej jest zarz±dzaæ i konfigurowaæ Apache.
+Commanche (COnfiguration MANager for apaCHE) jest interfejsem
+(frontendem) dla Apache, najpopularniejszego serwera WWW u¿ywanego w
+sieci Internet. Dziêki Commanche ³atwiej jest zarz±dzaæ i konfigurowaæ
+Apache.
 
 %prep
 %setup -q -n com%{version}
@@ -34,19 +36,19 @@ cat > comanche <<EOF
 #!/bin/bash
 #
 
-cd /usr/lib/comanche
-exec /usr/bin/itkwish3.0 main.tcl /etc/httpd/conf
+cd %{_libdir}/comanche
+exec %{_bindir}/itkwish3.0 main.tcl %{_sysconfdir}/httpd/conf
 EOF
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/comanche,%{_datadir}/icons/mini}
-install -d $RPM_BUILD_ROOT/etc/X11/wmconfig
+install -d $RPM_BUILD_ROOT%{_sysconfdir}/X11/wmconfig
 
 install comanche $RPM_BUILD_ROOT%{_bindir}
 rm apachectl INSTALL changes.txt comanche 
-cp -a * $RPM_BUILD_ROOT/usr/lib/comanche
-install $RPM_SOURCE_DIR/comanche.wmconfig $RPM_BUILD_ROOT/etc/X11/wmconfig/comanche
+cp -a * $RPM_BUILD_ROOT%{_libdir}/comanche
+install $RPM_SOURCE_DIR/comanche.wmconfig $RPM_BUILD_ROOT%{_sysconfdir}/X11/wmconfig/comanche
 install $RPM_SOURCE_DIR/comanche.xpm $RPM_BUILD_ROOT%{_datadir}/icons
 install $RPM_SOURCE_DIR/comanche-mini.xpm \
        $RPM_BUILD_ROOT%{_datadir}/icons/mini/mini-comanche.xpm
@@ -58,6 +60,6 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/*
 %{_libdir}/comanche
-%attr(600,root,root) %config(missingok) /etc/X11/wmconfig/comanche
+%attr(600,root,root) %config(missingok) %{_sysconfdir}/X11/wmconfig/comanche
 %{_datadir}/icons/comanche.xpm
 %{_datadir}/icons/mini/mini-comanche.xpm
This page took 0.10237 seconds and 4 git commands to generate.