]> git.pld-linux.org Git - SPECS.git/blob - heirloom.spec
SPECS updated Tue 30 Apr 15:13:02 CEST 2024
[SPECS.git] / heirloom.spec
1 %define snap    070115
2 Summary:        A collection of standard Unix utilities
3 Summary(pl.UTF-8):      Kolekcja standardowych narzędzi Uniksowych
4 Name:           heirloom
5 Version:        0.1
6 Release:        0.%{snap}.1
7 License:        Other
8 Group:          Applications
9 Source0:        http://dl.sourceforge.net/heirloom/%{name}-070115.tar.bz2
10 # Source0-md5:  0edcdfde085dbcf8882860e92230221b
11 Patch0:         %{name}-config.patch
12 Patch1:         %{name}-build.patch
13 URL:            http://heirloom.sourceforge.net/tools.html
14 BuildRequires:  bc
15 BuildRequires:  bison
16 BuildRequires:  bzip2-devel
17 BuildRequires:  ed
18 BuildRequires:  flex
19 BuildRequires:  zlib-devel
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 The Heirloom Toolchest is a collection of standard Unix utilities.
24
25 - Derived from original Unix material released as Open Source by
26   Caldera and Sun.
27 - Multiple versions of many utilities are provided to approach
28   compatibility with various specifications and Unix flavors, namely
29   SVID3/SVR4, SVID4/SVR4.2MP, POSIX.2-1992/SUSV2, POSIX.1-2001/SUSV3,
30   and 4BSD (SVR4 /usr/ucb).
31 - Support for lines of arbitrary length and in many cases binary input
32   data.
33 - Support for multibyte characters in UTF-8 and many East Asian
34   encodings.
35 - More than 100 individual utilities including bc, cpio, diff, ed,
36   file, find, grep, man, nawk, oawk, pax, ps, sed, sort, spell, and tar.
37 - The cpio utility can read and write zip files, GNU tar files, and
38   the cpio formats of Cray UNICOS, SGI IRIX (-K), SCO UnixWare (-c) and
39   Tru64 UNIX (-e). It is also available with the pax interface.
40 - Extensive documentation including a manual page for any utility.
41
42 %description -l pl.UTF-8
43 Heirloom Toolchest to zestaw standardowych narzędzi uniksowych.
44
45 - Wywodzi się z oryginalnego materiału uniksowego wydanego jako Open
46   Source przez Calderę i Suna.
47 - Udostępniono wiele wersji wielu narzędzi w celu osiągnięcia
48   zgodności z różnymi specyfikacjami i wersjami Uniksa, a konkretnie
49   SVID3/SVR4, SVID4/SVR4.2MP, POSIX.2-1992/SUSV2, POSIX.1-2001/SUSV3
50   oraz 4BSD (/usr/ucb w SVR4).
51 - Obsługa linii dowolnej długości i w wielu przypadkach binarnych
52   danych wejściowych.
53 - Obsługa wielobajtowych znaków w UTF-8 i wielu kodowań
54   wschodnioazjatyckich.
55 - Ponad 100 narzędzi, w tym bc, cpio, diff, ed, file, find, grep, man,
56   nawk, oawk, pax, ps, sed, sort, spell i tar.
57 - Narzędzie cpio potrafi odczytywać i zapisywać pliki zip, pliki GNU
58   tar oraz formaty cpio z systemów Cray UNICOS, SGI IRIX (-K), SCO
59   UnixWare (-c) i Tru64 UNIX (-e). Jest dostępne także z interfejsem
60   pax.
61 - Wyczerpująca dokumentacja wraz ze stronami manuala dla każdego
62   narzędzia.
63
64 %prep
65 %setup -q -n %{name}-%{snap}
66 %patch0 -p1
67 %patch1 -p1
68
69 %build
70 %{__make} \
71         DEFBIN=%{_bindir} \
72         DEFSBIN=%{_bindir} \
73         SV3BIN=%{_bindir} \
74         S42BIN=%{_bindir} \
75         SUSBIN=%{_bindir} \
76         SU3BIN=%{_bindir} \
77         UCBBIN=%{_bindir} \
78         DEFSBIN=%{_bindir} \
79         DEFLIB=%{_libdir} \
80         MANDIR=%{_mandir} \
81         CC="%{__cc}" \
82         OPTFLAGS="%{rpmcflags} -I/usr/include/ncurses" \
83         LNS="ln -s" \
84         YACC="bison -y"
85
86 %install
87 rm -rf $RPM_BUILD_ROOT
88 install -d $RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_mandir}}
89
90 %{__make} install \
91         ROOT=$RPM_BUILD_ROOT \
92         DEFBIN=%{_bindir} \
93         DEFSBIN=%{_sbindir} \
94         SV3BIN=%{_bindir} \
95         S42BIN=%{_bindir} \
96         SUSBIN=%{_bindir} \
97         SU3BIN=%{_bindir} \
98         UCBBIN=%{_bindir} \
99         DEFLIB=%{_libdir} \
100         MANDIR=%{_mandir} \
101         TTYGRP="" \
102         LNS="ln -s" \
103         UCBINST="install"
104
105 %clean
106 rm -rf $RPM_BUILD_ROOT
107
108 %files
109 %defattr(644,root,root,755)
110 %doc intro.txt CHANGES README
111 %attr(755,root,root) %{_bindir}/*
112 %{_mandir}/man*/*
113 %{_sysconfdir}/%{name}
This page took 0.987005 seconds and 3 git commands to generate.