SPECS: chkconfig.spec - moved from DEVEL

glen glen at pld-linux.org
Sat Oct 22 15:24:12 CEST 2005


Author: glen                         Date: Sat Oct 22 13:24:12 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- moved from DEVEL

---- Files affected:
SPECS:
   chkconfig.spec (1.65 -> 1.66) 

---- Diffs:

================================================================
Index: SPECS/chkconfig.spec
diff -u SPECS/chkconfig.spec:1.65 SPECS/chkconfig.spec:1.66
--- SPECS/chkconfig.spec:1.65	Fri Sep 16 09:32:27 2005
+++ SPECS/chkconfig.spec	Sat Oct 22 15:24:06 2005
@@ -10,25 +10,27 @@
 Summary(tr):	Sistem servis bilgilerini sorgular ve yeniler
 Summary(uk):	óÉÓÔĹÍÎÁ ŐÔÉĚŚÔÁ ÄĚŃ ËĹŇŐ×ÁÎÎŃ Ś¤ŇÁŇČŚ¤Ŕ /etc/rc.d
 Name:		chkconfig
-Version:	1.2.24h
-Release:	12
+Version:	1.3.20
+Release:	0.2
 Epoch:		1
 License:	GPL
 Group:		Applications/System
-Source0:	http://www.buttsoft.com/~thumper/downloads/%{name}/%{name}-%{version}.tar.gz
-# Source0-md5:	032eae68329d07d0844775486ac74668
-Patch0:		%{name}-add.patch
-Patch1:		%{name}-noxinet.patch
-Patch2:		%{name}-pl.po-update.patch
-Patch3:		%{name}-ponames.patch
-Patch4:		%{name}-link.patch
-Patch5:		%{name}-more_readable.patch
-BuildRequires:	autoconf
-BuildRequires:	automake
+Source0:	%{name}-%{version}.tar.gz
+# Source0-md5:	a993765a3fcd0c0cd891e16022e35d13
+#Patch0:		%{name}-add.patch
+#Patch1:		%{name}-noxinet.patch
+#Patch2:		%{name}-pl.po-update.patch
+#Patch3:		%{name}-ponames.patch
+#Patch4:		%{name}-link.patch
+#Patch5:		%{name}-more_readable.patch
+Patch6:		%{name}-rc.d.patch
+Patch7:		%{name}-nostatic.patch
+#BuildRequires:	autoconf
+#BuildRequires:	automake
 BuildRequires:	gettext-devel
 BuildRequires:	newt-devel
 BuildRequires:	popt-devel
-BuildRequires:	slang-devel >= 2.0.0
+#BuildRequires:	slang-devel >= 2.0.0
 Requires:	rc-scripts
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -134,37 +136,52 @@
 ËÁÔÁĚĎÇŚ× /etc/rc.d, ËĎÔŇŚ ËĹŇŐŔÔŘ ÚÁĐŐÓËĎÍ ÔÁ ÚŐĐÉÎËĎŔ ÓÉÓÔĹÍÎÉČ
 ÓĹŇ׌ӌ×.
 
+%package -n alternatives
+Summary:	Maintain symbolic links determining default commands
+Group:		Applications/System
+
+%description -n alternatives
+alternatives creates, removes, maintains and displays information
+about the symbolic links comprising  the alternatives  system. The
+alternatives system is a reimplementation of the Debian alternatives
+system. It was rewritten primarily to remove the dependence on perl;
+it is intended to be a drop in  replacement  for Debian's
+update-dependencies script.
+
 %prep
 %setup -q
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
-%patch5 -p1
+#%patch0 -p1
+#%patch1 -p1
+#%patch2 -p1
+#%patch3 -p1
+#%patch4 -p1
+#%patch5 -p1
+%patch6 -p1
+%patch7 -p1
 
-mv -f po/{eu_ES,eu}.po
+#mv -f po/{eu_ES,eu}.po
 mv -f po/{no,nb}.po
 mv -f po/{sr,sr at Latn}.po
-mv -f po/{zh,zh_TW}.po
-mv -f po/{zh_CN.GB2312,zh_CN}.po
+#mv -f po/{zh,zh_TW}.po
+#mv -f po/{zh_CN.GB2312,zh_CN}.po
 
 %build
+%if 0
 %{__aclocal}
 %{__autoconf}
 %{__automake}
 %configure \
 	--with-max-level=6
-%{__make}
+%endif
+%{__make} CC="%{__cc}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{/etc/{rc.d/{init,rc{0,1,2,3,4,5,6}}.d,env.d},/sbin}
 
 %{__make} install \
-	DESTDIR=$RPM_BUILD_ROOT
-
-mv $RPM_BUILD_ROOT%{_sbindir}/chkconfig $RPM_BUILD_ROOT/sbin
+	MANDIR=%{_mandir} \
+	instroot=$RPM_BUILD_ROOT
 
 %find_lang %{name}
 
@@ -184,19 +201,37 @@
 %defattr(644,root,root,755)
 %attr(755,root,root) /sbin/chkconfig
 %{_mandir}/man8/chkconfig.8*
-%attr(644,root,root) %config(noreplace,missingok) %verify(not md5 size mtime) /etc/env.d/*
+%attr(644,root,root) %config(noreplace,missingok) %verify(not md5 mtime size) /etc/env.d/*
 
 %files -n ntsysv
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_sbindir}/ntsysv
 %{_mandir}/man8/ntsysv.8*
 
+%files -n alternatives
+%defattr(644,root,root,755)
+%dir %{_sysconfdir}/alternatives
+%attr(755,root,root) %{_sbindir}/alternatives
+%attr(755,root,root) %{_sbindir}/update-alternatives
+%dir /var/lib/alternatives
+%{_mandir}/man8/alternatives.8*
+
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.66  2005/10/22 13:24:06  glen
+- moved from DEVEL
+
+Revision 1.65.2.2  2005/10/22 12:54:26  glen
+- added rc.d and nostatic patches, pass CC
+
+Revision 1.65.2.1  2005/10/22 12:33:11  glen
+- 1.3.20 from fedora
+- added alternatives package
+
 Revision 1.65  2005/09/16 07:32:27  arekm
 - BR new slang
 
@@ -215,7 +250,7 @@
 - rel. 10
 
 Revision 1.61  2004/05/22 10:33:30  adgor
-- Added %%bcond_with mr (aplies more_readable.patch)
+- Added %bcond_with mr (applies more_readable.patch)
 
 Revision 1.60  2004/05/14 10:19:01  qboosh
 - added link patch to avoid chkconfig dependency on newt; release 9
@@ -239,7 +274,7 @@
 - release 5. STBR for Ac.
 
 Revision 1.55  2003/08/30 21:29:38  mmazur
--r rel 4 for ac
+- rel 4 for ac
 
 Revision 1.54  2003/08/06 16:46:06  kloczek
 - może wrescie ktoś wykasuje to konto ?
@@ -276,7 +311,7 @@
 - updated to 1.2.24h
 
 Revision 1.44  2002/04/25 16:05:02  arturs
-fixed a small typo
+- fixed a small typo
 
 Revision 1.43  2002/04/03 15:56:32  kloczek
 - added Epoch: 1 (for allow upgrade from current RH version).
@@ -295,7 +330,7 @@
   Group field using gettext).
 
 Revision 1.38  2002/01/18 02:12:33  kloczek
-perl -pi -e "s/pld-list\@pld.org.pl/feedback\@pld.org.pl/"
+- perl -pi -e "s/pld-list\@pld.org.pl/feedback\@pld.org.pl/"
 
 Revision 1.37  2001/06/15 15:52:31  baggins
 - release 4
@@ -303,7 +338,7 @@
 
 Revision 1.36  2001/04/05 22:38:22  qboosh
 - fixed chkconfig-add patch (it just didn't work because of one missing change)
-- use %%rpm{c,ld}flags macros
+- use %rpm{c,ld}flags macros
 - release 3
 
 Revision 1.35  2001/03/25 01:42:05  kloczek
@@ -314,10 +349,10 @@
 
 Revision 1.33  2001/03/16 18:02:37  qboosh
 - popt patch: use shared libpopt
-- adapterized, rpm automation (man gzipping), %%{debug} ready
+- adapterized, rpm automation (man gzipping), %{debug} ready
 
 Revision 1.32  2001/03/14 09:43:34  wiget
-first step to ver 1.2.16
+- first step to ver 1.2.16
 
 Revision 1.31  2000/09/03 09:59:27  saq
 - using chkconfig-add.patch
@@ -327,7 +362,7 @@
 - removed /etc/rc.d/rc? dirs, they are in rc-scripts
 
 Revision 1.29  2000/06/09 07:22:48  kloczek
-- added using %%{__make} macro.
+- added using %{__make} macro.
 
 Revision 1.28  2000/05/27 10:33:16  zagrodzki
 - release ++
@@ -388,15 +423,15 @@
   [0.9.5-3]
 - fixed pl translation,
 - added "Group(pl)",
-- cosmetics changes in %%files.
+- cosmetics changes in %files.
 
 * Thu Oct 15 1998 Tomasz Kłoczko <kloczek at rudy.mif.pg.gda.pl>
   [0.9.5-2]
 - added -q %setup parameter,
-- changed Buildroot to /tmp/%%{name}-%%{version}-root,
-- added using %%{name} and %%{version} in Source,
+- changed Buildroot to /tmp/%{name}-%{version}-root,
+- added using %{name} and %{version} in Source,
 - added %lang macros for files %{_datadir}/locale/*/LC_MESSAGES/chkconfig.mo
 - added pl translation,
 - fiew simplification in %files and %install,
-- added "Requires: chkconfig = %%{version}" for ntsysv,
+- added "Requires: chkconfig = %{version}" for ntsysv,
 - added full %attr description in %files.
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/chkconfig.spec?r1=1.65&r2=1.66&f=u




More information about the pld-cvs-commit mailing list