]> git.pld-linux.org Git - packages/diction.git/blob - diction.spec
- up to 1.05, ZzZzZz
[packages/diction.git] / diction.spec
1 Summary:        Analyze text for style
2 Summary(pl):    Narzêdzie analizuj±ce tekst pod k±tem stylu
3 Name:           diction
4 Version:        1.05
5 Release:        1
6 License:        GPL
7 Group:          Applications/Text
8 Source0:        http://www.moria.de/~michael/diction/%{name}-%{version}.tar.gz
9 # Source0-md5:  9920b81ba44421085414f7f9468eea34
10 Patch1:         %{name}-texi.patch
11 URL:            http://www.moria.de/~michael/diction/
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  texinfo
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 GNU diction and style are free implementations of old standard unix
19 commands, that are not available on many modern systems, because they
20 have been unbundled. Diction prints wordy and commonly misused
21 phrases. Style analyses surface characteristics of a document, e.g.
22 sentence length and various readability measures, but unlike the
23 original code, it lacks sentence type, word usage and most sentence
24 beginning processing.
25
26 Both commands support English and German documents.
27
28 %description -l pl
29 GNU diction oraz style s± otwartymi implementacjami starych,
30 standardowych komend uniksowych, które nie s± dostêpne na wielu
31 nowoczesnych systemach. Diction wypisuje czêste pomy³ki s³owne i ¼le
32 u¿yte wyra¿enia. Style analizuje powierzchniowe charakterystki
33 dokumentu, np. d³ugo¶æ zdañ oraz ró¿ne wska¼niki czytelno¶ci, jednak w
34 przeciwieñstwie do oryginalnej wersji nie przeprowadza analizy typu
35 zdañ, u¿ycia s³ów oraz pocz±tków zdañ.
36
37 Obie komendy wspieraj± jêzyki angielski i niemiecki.
38
39 %prep
40 %setup -q
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 install -d $RPM_BUILD_ROOT%{_infodir}
53
54 %{__make} install \
55         DESTDIR=$RPM_BUILD_ROOT
56
57 install diction*.info $RPM_BUILD_ROOT%{_infodir}
58
59 %find_lang %{name}
60
61 %clean
62 rm -rf $RPM_BUILD_ROOT
63
64 %post
65 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
66
67 %postun
68 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
69
70 %files -f %{name}.lang
71 %defattr(644,root,root,755)
72 %doc README
73 %attr(755,root,root) %{_bindir}/*
74 %{_datadir}/%{name}
75 %{_mandir}/man?/*
76 %{_infodir}/*.info*
This page took 0.096704 seconds and 4 git commands to generate.