]> git.pld-linux.org Git - packages/diction.git/blob - diction.spec
- typo
[packages/diction.git] / diction.spec
1 Summary:        analyze text for style
2 Name:           diction
3 Version:        1.02
4 Release:        1
5 License:        GPL
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)
15
16 %description
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
23 beginning processing.
24
25 Both commands support English and German documents.
26
27 %description -l pl
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ñ.
35
36 Obie komendy wspieraj± jêzyki angielski i niemiecki.
37
38 %prep
39 %setup -q
40 %patch0 -p1
41 %patch1 -p1
42
43 %build
44 autoconf
45 cp -f %{_datadir}/automake/{config.,missing}* .
46 %configure
47 %{__make}
48 makeinfo diction.texi
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52
53 %{__make} DESTDIR=$RPM_BUILD_ROOT install
54 install -d $RPM_BUILD_ROOT%{_infodir}
55 install diction*.info $RPM_BUILD_ROOT%{_infodir}
56
57 %clean
58 rm -rf $RPM_BUILD_ROOT
59
60 %files
61 %defattr(644,root,root,755)
62 %doc README
63 %attr(755,root,root) %{_bindir}/*
64 %{_datadir}/%{name}
65 %{_mandir}/man?/*
66 %{_infodir}/*
This page took 0.059603 seconds and 4 git commands to generate.