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