info: time

Marcin Korzonek mkorz w shadow.eu.org
Sob, 10 Paź 1998, 20:18:31 CEST


Hej,
Co prawda w bashu 2.xx jest polecenie time, ale imho jest ono mniej
informacyjne...

-- 
   Marcin Korzonek
   mkorz w shadow.eu.org
-------------- następna część ---------
Summary: 	GNU time Utility
Summary(de): 	GNU-Time-Utility 
Summary(fr): 	Utilitaire time de GNU
Summary(pl): 	Narzędzie do pomiaru czasu GNU
Summary(tr): 	GNU zamanlama aracý
Name: 		time
Version: 	1.7
Release: 	7
Copyright: 	GPL
Group: 		Utilities/System
Source: 	ftp://prep.ai.mit.edu/pub/gnu/%{name}-%{version}.tar.gz
Prefix: 	/usr
Buildroot: 	/var/tmp/%{name}-%{version}-root

%description
The 'time' utility is used as a sort of 'stopwatch' to time the execution
of a specified command. It can aid in the optimization of programs for
maximum speed, as well as a number of other uses.

%description -l de
Das TIME-Utility wird als eine Art Stoppuhr zum Messen der Ausführung eines
bestimmten Befehls benutzt. Es dient in erster Linie der Optimierung von
Programmen für maximale Geschwindigkeit, hat aber daneben eine Vielzahl
anderer Anwendungen. 

%description -l fr
L'utilitaire Ť time ť sert de chronomčtre pour mesurer le temps d'exécution
d'une commande donnée. Il peut aider ŕ l'optimisation de programmes pour
obtenir une vitesse maximale et a beaucoup d'autres uilisations.

%description -l pl
Narzędzie time umożliwia zmierzenie czasu wykonania badanego programu.
Jest pomocne przy optymalizowaniu algorytmów pod kątem szybkości.

%description -l tr
time, bir uygulamanýn çalýţma zamanýnýn ölçülmesi için kronometre gibi
kullanýlýr. Genellikle programlarýn hýz açýsýndan iyileţtirilmesinde
yararlý olur.

%prep
%setup -q

%build
CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" ./configure --prefix=/usr
make 2>/dev/null

%install
rm -rf $RPM_BUILD_ROOT

install -d $RPM_BUILD_ROOT/usr/{bin,info}

install -s time $RPM_BUILD_ROOT/usr/bin
install time.info $RPM_BUILD_ROOT/usr/info

gzip -9nf $RPM_BUILD_ROOT/usr/info/time.info

%clean
rm -rf $RPM_BUILD_ROOT

%post
/sbin/install-info /usr/info/time.info.gz /usr/info/dir \
	--entry="* time: (time).		GNU time Utility" 

%preun
if [ "$1" = 0 ]; then
    /sbin/install-info --delete /usr/info/time.info.gz /usr/info/dir \
	--entry="* time: (time).		GNU time Utility" 
fi

%files
%attr(644, root, root, 755)
%doc NEWS README
%attr(711, root, root) /usr/bin/time
%attr(644, root, root) /usr/info/time.info*

%changelog
* Sat Oct 10 1998 Marcin Korzonek <mkorz w shadow.eu.org>
- translations modified for pl
- defined file permission
- moved %changelog to the end of spec
- allow building from non root account

* Fri Jul 31 1998 Wojtek Slusarczyk <wojtek w shadow.eu.org>
[1.7-7]
- build against libslang.so.1

* Thu Jul 23 1998 Wojtek Slusarczyk <wojtek w shadow.eu.org>
[1.7-6]
- build against glibc-2.1

* Mon Apr 27 1998 Prospector System <bugs w redhat.com>

- translations modified for de, fr, tr

* Mon Oct 27 1997 Cristian Gafton <gafton w redhat.com>
- fixed info handling

* Thu Oct 23 1997 Cristian Gafton <gafton w redhat.com>
- updated the spec file; added info file handling

* Mon Jun 02 1997 Erik Troan <ewt w redhat.com>
- built against glibc



Więcej informacji o liście dyskusyjnej pld-devel-pl