]> git.pld-linux.org Git - packages/moreutils.git/blob - moreutils.spec
typo
[packages/moreutils.git] / moreutils.spec
1 Summary:        A collection of unix tools
2 Summary(pl.UTF-8):      Zestaw narzędzi uniksowych
3 Name:           moreutils
4 Version:        0.49
5 Release:        1
6 License:        GPL v2+
7 Group:          Applications/System
8 Source0:        http://ftp.debian.org/debian/pool/main/m/moreutils/%{name}_%{version}.tar.gz
9 # Source0-md5:  29b49e70fec35b28df24b25eb3e0fd29
10 Patch0:         %{name}-make.patch
11 URL:            http://joeyh.name/code/moreutils/
12 BuildRequires:  docbook-dtd44-sgml
13 BuildRequires:  docbook2X
14 BuildRequires:  sed >= 4.0
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 A collection of unix tools that nobody thought to write long ago, when
19 unix was young. Currently it consists of these tools:
20
21  - chronic: runs a command quietly unless it fails
22  - ccombine: combine the lines in two files using boolean operations
23  - errno: look up errno names and descriptions
24  - ifdata: get network interface info without parsing ifconfig output
25  - isutf8: check if a file or standard input is utf-8
26  - ifne: run a command if the standard input is not empty
27  - lckdo: execute a program with a lock held (deprecated)
28  - mispipe: pipe two commands, returning the exit status of the first
29  - parallel: run multiple jobs at once
30  - pee: tee standard input to pipes
31  - sponge: soak up standard input and write to a file
32  - ts: timestamp standard input
33  - vidir: edit a directory in your text editor
34  - vipe: insert a text editor into a pipe
35  - zrun: automatically uncompress arguments to command
36
37 %description -l pl.UTF-8
38 Zestaw narzędzi uniksowych, o których napisaniu nikt nie pomyślał
39 dawno temu, kiedy unix był młody. Obecnie zawiera następujące
40 narzędzia:
41
42  - chronic: ciche uruchomienie polecenia, jeśli nie ma błędu
43  - ccombine: łączenie linii z dwóch plików przy użyciu operacji
44    logicznych
45  - errno: wyszukiwanie nazw i opisów errno
46  - ifdata: pobieranie informacji o interfejsie bez analizy wyjścia
47    ifconfiga
48  - isutf8: sprawdzenie, czy lub standardowe wejście jest w UTF-8
49  - ifne: uruchomienie polecenia, jeśli standardowe wejście nie jest
50    puste
51  - lckdo: uruchomienie programu podczas trzymania blokady
52    (przestarzały)
53  - mispipe: potok dwóch poleceń, zwracający status zakończenia
54    pierwszego z nich
55  - parallel: uruchomienie wielu zadań naraz
56  - pee: tee standardowego wejścia do potoków
57  - sponge: przesączenie standardowego wejścia i zapis do pliku
58  - ts: oznaczenie standardowego wejścia znacznikami czasu
59  - vidir: edycja katalogu w edytorze tekstu
60  - vipe: wstawienie edytora tekstu w potok
61  - zrun: automatyczne dekompresja argumentów polecenia
62
63 %prep
64 %setup -q -n %{name}
65 %patch0 -p1
66
67 # adjust paths to PLD
68 %{__sed} -i -e 's,"file:///.*docbookx\.dtd","/usr/share/sgml/docbook/xml-dtd-4.4/docbookx.dtd",' *.docbook
69
70 %build
71 %{__make} \
72         CC="%{__cc}" \
73         CFLAGS="%{rpmcflags} -Wall" \
74         DOCBOOK2XMAN=docbook2X2man
75
76 %install
77 rm -rf $RPM_BUILD_ROOT
78
79 %{__make} install \
80         DESTDIR=$RPM_BUILD_ROOT \
81         INSTALL_BIN=install
82
83 %clean
84 rm -rf $RPM_BUILD_ROOT
85
86 %files
87 %defattr(644,root,root,755)
88 %doc README debian/changelog
89 %attr(755,root,root) %{_bindir}/chronic
90 %attr(755,root,root) %{_bindir}/combine
91 %attr(755,root,root) %{_bindir}/errno
92 %attr(755,root,root) %{_bindir}/ifdata
93 %attr(755,root,root) %{_bindir}/ifne
94 %attr(755,root,root) %{_bindir}/isutf8
95 %attr(755,root,root) %{_bindir}/lckdo
96 %attr(755,root,root) %{_bindir}/mispipe
97 %attr(755,root,root) %{_bindir}/parallel
98 %attr(755,root,root) %{_bindir}/pee
99 %attr(755,root,root) %{_bindir}/sponge
100 %attr(755,root,root) %{_bindir}/ts
101 %attr(755,root,root) %{_bindir}/vidir
102 %attr(755,root,root) %{_bindir}/vipe
103 %attr(755,root,root) %{_bindir}/zrun
104 %{_mandir}/man1/chronic.1*
105 %{_mandir}/man1/combine.1*
106 %{_mandir}/man1/errno.1*
107 %{_mandir}/man1/ifdata.1*
108 %{_mandir}/man1/ifne.1*
109 %{_mandir}/man1/isutf8.1*
110 %{_mandir}/man1/lckdo.1*
111 %{_mandir}/man1/mispipe.1*
112 %{_mandir}/man1/parallel.1*
113 %{_mandir}/man1/pee.1*
114 %{_mandir}/man1/sponge.1*
115 %{_mandir}/man1/ts.1*
116 %{_mandir}/man1/vidir.1*
117 %{_mandir}/man1/vipe.1*
118 %{_mandir}/man1/zrun.1*
This page took 0.079369 seconds and 3 git commands to generate.