info: time
Marcin Korzonek
mkorz at shadow.eu.org
Sat Oct 10 20:18:31 CEST 1998
Hej,
Co prawda w bashu 2.xx jest polecenie time, ale imho jest ono mniej
informacyjne...
--
Marcin Korzonek
mkorz at shadow.eu.org
-------------- next part --------------
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 at 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 at shadow.eu.org>
[1.7-7]
- build against libslang.so.1
* Thu Jul 23 1998 Wojtek Slusarczyk <wojtek at shadow.eu.org>
[1.7-6]
- build against glibc-2.1
* Mon Apr 27 1998 Prospector System <bugs at redhat.com>
- translations modified for de, fr, tr
* Mon Oct 27 1997 Cristian Gafton <gafton at redhat.com>
- fixed info handling
* Thu Oct 23 1997 Cristian Gafton <gafton at redhat.com>
- updated the spec file; added info file handling
* Mon Jun 02 1997 Erik Troan <ewt at redhat.com>
- built against glibc
More information about the pld-devel-pl
mailing list