1 Summary: Analyze text for style
2 Summary(pl.UTF-8): Narzędzie analizujące tekst pod kątem stylu
7 Group: Applications/Text
8 Source0: http://www.moria.de/~michael/diction/%{name}-%{version}.tar.gz
9 # Source0-md5: eb82a90bbc93141f10deed301902d160
10 Patch1: %{name}-texi.patch
11 URL: http://www.moria.de/~michael/diction/
12 BuildRequires: autoconf
13 BuildRequires: automake
14 BuildRequires: gettext-devel
15 BuildRequires: texinfo
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 GNU diction and style are free implementations of old standard unix
20 commands, that are not available on many modern systems, because they
21 have been unbundled. Diction prints wordy and commonly misused
22 phrases. Style analyses surface characteristics of a document, e.g.
23 sentence length and various readability measures, but unlike the
24 original code, it lacks sentence type, word usage and most sentence
27 Both commands support English and German documents.
29 %description -l pl.UTF-8
30 GNU diction oraz style są otwartymi implementacjami starych,
31 standardowych komend uniksowych, które nie są dostępne na wielu
32 nowoczesnych systemach. Diction wypisuje częste pomyłki słowne i źle
33 użyte wyrażenia. Style analizuje powierzchniowe charakterystyki
34 dokumentu, np. długość zdań oraz różne wskaźniki czytelności, jednak w
35 przeciwieństwie do oryginalnej wersji nie przeprowadza analizy typu
36 zdań, użycia słów oraz początków zdań.
38 Obie komendy wspierają języki angielski i niemiecki.
46 cp -f %{_datadir}/automake/{config.*,missing} .
52 rm -rf $RPM_BUILD_ROOT
53 install -d $RPM_BUILD_ROOT%{_infodir}
56 DESTDIR=$RPM_BUILD_ROOT
58 install diction*.info $RPM_BUILD_ROOT%{_infodir}
63 rm -rf $RPM_BUILD_ROOT
66 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
69 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
71 %files -f %{name}.lang
72 %defattr(644,root,root,755)
74 %attr(755,root,root) %{_bindir}/*