]> git.pld-linux.org Git - packages/coreutils.git/commitdiff
- cleanups, added URL
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 16 Oct 2002 08:42:49 +0000 (08:42 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- removed utils that we have in other packages:
  groups (shadow), hostname (net-tools), kill (util-linux), uptime (procps)

Changed files:
    coreutils.spec -> 1.5

coreutils.spec

index 70df292afb2ae30eec632b39f3e2ec22d6a0c8ce..6c7dfa18ed6024d3751754779e43bf6157812325 100644 (file)
@@ -5,16 +5,16 @@ Version:      4.5.1
 Release:       0.2
 License:       GPL
 Group:         Applications/System
-Source0:       %{name}-%{version}.tar.bz2
-#BuildRequires:        
-#Requires:     
-Buildroot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+Source0:       ftp://alpha.gnu.org/gnu/fetish/%{name}-%{version}.tar.bz2
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 # when no spec requires sh/file/text utils Provides can be removed
-Provides:      sh-utils
 Provides:      fileutils
+Provides:      sh-utils
 Provides:      textutils
-
-%define        _prefix /usr
+Obsoletes:     fileutils
+Obsoletes:     sh-utils
+Obsoletes:     stat
+Obsoletes:     textutils
 
 %description
 These are the GNU core utilities.  This package is the union of
@@ -28,15 +28,15 @@ The programs that can be built with this package are:
 
   basename cat chgrp chmod chown chroot cksum comm cp csplit cut date dd
   df dir dircolors dirname du echo env expand expr factor false fmt fold
-  ginstall groups head hostid hostname id join kill link ln logname ls
-  md5sum mkdir mkfifo mknod mv nice nl nohup od paste pathchk pinky pr
-  printenv printf ptx pwd rm rmdir seq sha1sum shred sleep sort split
-  stat stty su sum sync tac tail tee test touch tr true tsort tty uname
-  unexpand uniq unlink uptime users vdir wc who whoami yes
+  ginstall head hostid id join link ln logname ls md5sum mkdir mkfifo
+  mknod mv nice nl nohup od paste pathchk pinky pr printenv printf ptx
+  pwd rm rmdir seq sha1sum shred sleep sort split stat stty su sum sync
+  tac tail tee test touch tr true tsort tty uname unexpand uniq unlink
+  users vdir wc who whoami yes
 
 %description -l pl
-Narzêdzia rdzeniowe (core utilities) GNU to po³±czone paczki GNU fileutils,
-sh-utils i textutils.
+Narzêdzia podstawowe (core utilities) GNU to po³±czone paczki GNU
+fileutils, sh-utils i textutils.
 
 Wiêkszo¶æ z zawartych programów jest znacznie ulepszona w porównaniu
 z ich Uniksowymi odpowiednikami, np. szybciej dzia³aj±, maj± dodatkowe
@@ -46,51 +46,52 @@ Programy zawarte w tej paczce to:
 
   basename cat chgrp chmod chown chroot cksum comm cp csplit cut date dd
   df dir dircolors dirname du echo env expand expr factor false fmt fold
-  ginstall groups head hostid hostname id join kill link ln logname ls
-  md5sum mkdir mkfifo mknod mv nice nl nohup od paste pathchk pinky pr
-  printenv printf ptx pwd rm rmdir seq sha1sum shred sleep sort split
-  stat stty su sum sync tac tail tee test touch tr true tsort tty uname
-  unexpand uniq unlink uptime users vdir wc who whoami yes
+  ginstall head hostid id join link ln logname ls md5sum mkdir mkfifo
+  mknod mv nice nl nohup od paste pathchk pinky pr printenv printf ptx
+  pwd rm rmdir seq sha1sum shred sleep sort split stat stty su sum sync
+  tac tail tee test touch tr true tsort tty uname unexpand uniq unlink
+  users vdir wc who whoami yes
 
 %prep
 %setup -q
 
-#%patch
-
 %build
-./configure --prefix=%{_prefix}
-%{__make} RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
+%configure
+
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 %{__make} -C po install DESTDIR=$RPM_BUILD_ROOT
-%{__make} -C man install DESTDIR=$RPM_BUILD_ROOT mandir="/usr/share/man"
+%{__make} -C man install DESTDIR=$RPM_BUILD_ROOT mandir="%{_mandir}"
 %{__make} -C doc install DESTDIR=$RPM_BUILD_ROOT prefix="%{_datadir}"
 
 install -d $RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_libdir},%{_infodir},%{_mandir}/man1,/bin}
 
-install -s src/{dir,dircolors,dirname,du,env,expr,factor,hostid,hostname,logname,mkfifo,pathchk,pinky,printenv,printf,seq,shred,stat,tee,tty,users,vdir,who,whoami,yes,\
+install src/{dir,dircolors,dirname,du,env,expr,factor,hostid,logname,mkfifo,pathchk,pinky,printenv,printf,seq,shred,stat,tee,tty,users,vdir,who,whoami,yes,\
 cksum,comm,csplit,cut,expand,fmt,fold,head,join,md5sum,nl,od,paste,pr,ptx,sha1sum,split,sum,tac,tail,tr,tsort,unexpand,uniq,wc} $RPM_BUILD_ROOT%{_bindir}
 install src/nohup $RPM_BUILD_ROOT%{_bindir}
 
-install -s src/{basename,cat,chgrp,chmod,chown,cp,date,dd,df,echo,false,id,link,ln,ls,mkdir,mknod,mv,nice,pwd,rm,rmdir,sleep,sort,stty,su,sync,test,touch,true,unlink,uname} $RPM_BUILD_ROOT/bin/
-
-install -s src/{chroot,kill,uptime} $RPM_BUILD_ROOT%{_sbindir}
-install src/groups $RPM_BUILD_ROOT%{_sbindir}
+install src/{basename,cat,chgrp,chmod,chown,cp,date,dd,df,echo,false,id,link,ln,ls,mkdir,mknod,mv,nice,pwd,rm,rmdir,sleep,sort,stty,su,sync,test,touch,true,unlink,uname} $RPM_BUILD_ROOT/bin
 
-%find_lang  %{name}
+install src/chroot $RPM_BUILD_ROOT%{_sbindir}
 
-%post
-%postun
+%find_lang %{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
+
+%postun
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
+
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc
 %attr(755,root,root) /bin/*
 %attr(755,root,root) %{_bindir}/*
 %attr(755,root,root) %{_sbindir}/*
-%attr(644,root,root) %{_mandir}/man1/*
-%attr(644,root,root) %{_datadir}/info/*
+%{_mandir}/man1/*
+%{_infodir}/*
This page took 0.458079 seconds and 4 git commands to generate.