]> git.pld-linux.org Git - SPECS.git/blob - tscat.spec
SPECS updated Sun 1 Aug 20:13:02 CEST 2021
[SPECS.git] / tscat.spec
1 Summary:        Simple Filter that adds Timestamps to Stdin
2 Summary(pl.UTF-8):      Prosty filtr dodający znaczniki czasowe do standardowego wejścia
3 Name:           tscat
4 Version:        1.0
5 Release:        0.1
6 License:        MIT/X Consortium License
7 Group:          Applications/Text
8 Source0:        http://www.gerg.ca/software/tscat/%{name}-%{version}.tar.gz
9 # Source0-md5:  1337bd212bbef8f4f9518f1f2d50e088
10 URL:            http://www.gerg.ca/software/tscat/
11 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13 %description
14 tscat is a simple filter that reads a line from standard input,
15 prepends a timestamp to each line, and writes to standard output.
16 Timestamps can be absolute (current time of day), relative to process
17 start time, or deltas since the previous line (previous timestamp).
18
19 %description -l pl.UTF-8
20 tscat to prosty filtr czytający linie ze standardowego wejścia,
21 poprzedzający każdą linię znacznikiem czasowym i wypisujący na
22 standardowe wyjście. Znaczniki czasowe mogą być bezwzględne (aktualna
23 godzina), względem czasu uruchomienia procesu lub różnicami w stosunku
24 do poprzedniej linii (poprzedniego znacznika czasowego).
25
26 %prep
27 %setup -q
28
29 %build
30 %{__make} \
31         PREFIX="%{_prefix}" \
32         BIN_DIR="%{_bindir}" \
33         MAN_DIR="%{_mandir}/man1" \
34         CFLAGS="%{rpmcflags}"
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
39 install tscat $RPM_BUILD_ROOT%{_bindir}/tscat
40 install tscat.1 $RPM_BUILD_ROOT%{_mandir}/man1/tscat.1
41
42 %clean
43 rm -rf $RPM_BUILD_ROOT
44
45 %files
46 %defattr(644,root,root,755)
47 %doc README
48 %attr(755,root,root) %{_bindir}/tscat
49 %doc %{_mandir}/man1/tscat.1*
This page took 0.094215 seconds and 3 git commands to generate.