]> git.pld-linux.org Git - packages/sed.git/blob - sed.spec
- add Provides and Obsoletes ,relase 13
[packages/sed.git] / sed.spec
1 Summary:        A GNU stream text editor
2 Summary(de):    GNU Stream-Text Editor
3 Summary(fr):    Éditeur de flot de GNU
4 Summary(pl):    Edytor GNU strumienia tekstu
5 Summary(tr):    GNU dosya iþleme aracý
6 Name:           sed
7 Version:        3.02
8 Release:        13
9 License:        GPL
10 Group:          Applications/Text
11 Source0:        ftp://prep.ai.mit.edu/pub/gnu/sed/%{name}-%{version}.tar.gz
12 Source1:        %{name}-non-english-man-pages.tar.bz2
13 Patch0:         %{name}.patch
14 Patch1:         %{name}-info.patch
15 Patch2:         %{name}-autoconf_fix.patch
16 BuildRequires:  autoconf
17 BuildRequires:  automake
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 Obsoletes:      ssed
20 Provides:       sed
21
22 %define         _bindir         /bin
23
24 %description
25 The sed (Stream EDitor) editor is a stream or batch (non-interactive)
26 editor. Sed takes text as input, performs an operation or set of
27 operations on the text and outputs the modified text. The operations
28 that sed performs (substitutions, deletions, insertions, etc.) can be
29 specified in a script file or from the command line.
30
31 %description -l de
32 sed (Stream EDitor) ist ein Stream- oder Batch- (nicht-interaktiver)
33 Editor. Sed nimmt als Eingabe einen Text, führt darauf Operationen
34 aus, und gibt einen veränderten Text aus. Die Operationen, die sed
35 ausführt (Ersetzen, Löschen, Einfügen, usw.) können über eine
36 Skriptdatei oder über die Kommandozeile angegeben werden.
37
38 %description -l fr
39 sed copie les fichiers indiqués (l'entrée standard par défaut),
40 modifiés en fonction d'un script de commandes, vers la sortie
41 standard.
42
43 %description -l pl
44 Sed (Stream EDitor) jest edytorem strumieni lub wsadowym
45 (nieinteraktywnym) edytorem. Sed pobiera tekst na wej¶ciu, przetwarza
46 go wed³ug zestawu operacji i oddaje na wyj¶ciu przetworzony tekst.
47 Operacje, które ma wykonywaæ, mog± byæ zapisane w postaci skryptu lub
48 podane w linii poleceñ.
49
50 %description -l tr
51 Sed, belirtilen dosyalarý, verilen komutlara göre iþleyerek standart
52 çýktýya kopyalar. Genellikle, metin dosyalarýnda bir katarýn yerine
53 baþka bir katar yazmakta kullanýlýr.
54
55 %prep
56 %setup -q
57 %patch0 -p1
58 %patch1 -p1
59 %patch2 -p1
60
61 %build
62 rm -f missing
63 aclocal
64 autoconf
65 automake -a -c -f
66 %configure
67
68 %{__make}
69
70 %install
71 rm -rf $RPM_BUILD_ROOT
72 install -d $RPM_BUILD_ROOT%{_bindir}
73
74 %{__make} install DESTDIR=$RPM_BUILD_ROOT
75
76 bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
77
78 gzip -9nf ANNOUNCE AUTHORS BUGS ChangeLog NEWS README THANKS TODO dc.sed \
79         testsuite/*
80
81 %post
82 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
83
84 %postun
85 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
86
87 %clean
88 rm -rf $RPM_BUILD_ROOT
89
90 %files
91 %defattr(644,root,root,755)
92 %doc *.gz
93 %attr(755,root,root) %{_bindir}/*
94 %{_mandir}/man1/*
95 %lang(de) %{_mandir}/de/man1/*
96 %lang(fi) %{_mandir}/fi/man1/*
97 %lang(hu) %{_mandir}/hu/man1/*
98 %lang(ja) %{_mandir}/ja/man1/*
99 %lang(pl) %{_mandir}/pl/man1/*
100 %{_infodir}/sed.info*
This page took 0.028471 seconds and 3 git commands to generate.