]> git.pld-linux.org Git - packages/chkconfig.git/blobdiff - chkconfig.spec
- argh, fixed broken add patch
[packages/chkconfig.git] / chkconfig.spec
index a74ff5ee2da79e754627c32bb92fcc5afbeb016d..1cf6bdb4059d8a1ba5041b417c8821c7dcd954b0 100644 (file)
@@ -8,23 +8,20 @@ Summary(ru):  
 Summary(tr):   Sistem servis bilgilerini sorgular ve yeniler
 Summary(uk):   óÉÓÔÅÍÎÁ ÕÔÉ̦ÔÁ ÄÌÑ ËÅÒÕ×ÁÎÎÑ ¦¤ÒÁÒȦ¤À /etc/rc.d
 Name:          chkconfig
-Version:       1.2.22
-Release:       5
+Version:       1.2.24h
+Release:       2
 Epoch:         1
 License:       GPL
 Group:         Applications/System
-Source0:       ftp://ftp.redhat.com/pub/redhat/code/chkconfig/%{name}-%{version}.tar.gz
-Patch0:                %{name}-opt.patch
-Patch1:                %{name}-fhs.patch
-Patch2:                %{name}-add.patch
-Patch3:                %{name}-popt.patch
-Patch4:                %{name}-rcdir.patch
-Patch5:                %{name}-noxinet.patch
+#Source0:      ftp://ftp.redhat.com/pub/redhat/code/chkconfig/%{name}-%{version}.tar.gz
+Source0:       http://www.buttsoft.com/~thumper/downloads/%{name}/%{name}-%{version}.tar.gz
+Patch0:                %{name}-add.patch
+Patch1:                %{name}-noxinet.patch
+Patch2:                %{name}-pl.po-update.patch
 BuildRequires: gettext-devel
 BuildRequires: newt-devel
 BuildRequires: popt-devel
 BuildRequires: slang-devel
-Prereq:                popt
 Requires:      rc-scripts
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -122,27 +119,20 @@ ntsysv - 
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
-%patch3 -p1
-%patch4 -p1
-%patch5 -p1
 
 %build
-
-%ifarch sparc
-LIBMHACK=-lm
-%endif
-
-%{__make} \
-       OPTIMIZE="%{rpmcflags}" \
-       LDFLAGS="%{rpmldflags}" \
-       LIBMHACK="$LIBMHACK"
+%configure2_13 \
+       --with-max-level=6
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/etc/rc.d/{init,rc{0,1,2,3,4,5,6}}.d
+install -d $RPM_BUILD_ROOT/{etc/rc.d/{init,rc{0,1,2,3,4,5,6}}.d,sbin}
 
 %{__make} install \
-    instroot=$RPM_BUILD_ROOT
+       DESTDIR=$RPM_BUILD_ROOT
+
+mv $RPM_BUILD_ROOT%{_sbindir}/chkconfig $RPM_BUILD_ROOT/sbin
 
 %find_lang %{name}
 
This page took 0.077853 seconds and 4 git commands to generate.