1 Summary: analyze text for style
6 Group: Applications/Text
7 Source0: http://www.moria.de/~michael/diction/%{name}-%{version}.tar.gz
8 Patch0: %{name}-DESTDIR.patch
9 Patch1: %{name}-texi.patch
10 URL: http://www.moria.de/~michael/diction/
11 BuildRequires: autoconf
12 BuildRequires: automake
13 BuildRequires: texinfo
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 GNU diction and style are free implementations of old standard unix
18 commands, that are not available on many modern systems, because they
19 have been unbundled. Diction prints wordy and commonly misused
20 phrases. Style analyses surface characteristics of a document, e.g.
21 sentence length and various readability measures, but unlike the
22 original code, it lacks sentence type, word usage and most sentence
25 Both commands support English and German documents.
28 GNU diction oraz style s± otwartymi implementacjami starych,
29 standardowych komend uniksowych, które nie s± dostêpne na wielu
30 nowoczesnych systemach. Diction wypisuje czêste pomy³ki s³owne i ¼le
31 u¿yte wyra¿enia. Style analizuje powierzchniowe charakterystki
32 dokumentu, np. d³ugo¶æ zdañ oraz ró¿ne wska¼niki czytelno¶ci, jednak w
33 przeciwieñstwie do oryginalnej wersji nie przeprowadza analizy typu
34 zdañ, u¿ycia s³ów oraz pocz±tków zdañ.
36 Obie komendy wspieraj± jêzyki angielski i niemiecki.
45 cp -f %{_datadir}/automake/{config.,missing}* .
51 rm -rf $RPM_BUILD_ROOT
53 %{__make} DESTDIR=$RPM_BUILD_ROOT install
54 install -d $RPM_BUILD_ROOT%{_infodir}
55 install diction*.info $RPM_BUILD_ROOT%{_infodir}
58 rm -rf $RPM_BUILD_ROOT
61 %defattr(644,root,root,755)
63 %attr(755,root,root) %{_bindir}/*