]> git.pld-linux.org Git - packages/diction.git/blame_incremental - diction.spec
- invoke fix-info-dir via /sbin/postshell where possible to avoid extra /bin/sh dep
[packages/diction.git] / diction.spec
... / ...
CommitLineData
1Summary: Analyze text for style
2Summary(pl.UTF-8): Narzędzie analizujące tekst pod kątem stylu
3Name: diction
4Version: 1.11
5Release: 1
6License: GPL v2
7Group: Applications/Text
8Source0: http://www.moria.de/~michael/diction/%{name}-%{version}.tar.gz
9# Source0-md5: 4cbdb115c976d7141f54b223df28012e
10Patch1: %{name}-texi.patch
11URL: http://www.moria.de/~michael/diction/
12BuildRequires: autoconf
13BuildRequires: automake
14BuildRequires: gettext-devel
15BuildRequires: texinfo
16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18%description
19GNU diction and style are free implementations of old standard unix
20commands, that are not available on many modern systems, because they
21have been unbundled. Diction prints wordy and commonly misused
22phrases. Style analyses surface characteristics of a document, e.g.
23sentence length and various readability measures, but unlike the
24original code, it lacks sentence type, word usage and most sentence
25beginning processing.
26
27Both commands support English and German documents.
28
29%description -l pl.UTF-8
30GNU diction oraz style są otwartymi implementacjami starych,
31standardowych komend uniksowych, które nie są dostępne na wielu
32nowoczesnych systemach. Diction wypisuje częste pomyłki słowne i źle
33użyte wyrażenia. Style analizuje powierzchniowe charakterystyki
34dokumentu, np. długość zdań oraz różne wskaźniki czytelności, jednak w
35przeciwieństwie do oryginalnej wersji nie przeprowadza analizy typu
36zdań, użycia słów oraz początków zdań.
37
38Obie komendy wspierają języki angielski i niemiecki.
39
40%prep
41%setup -q
42%patch1 -p1
43
44%build
45%{__autoconf}
46cp -f %{_datadir}/automake/{config.*,missing} .
47%configure
48%{__make}
49makeinfo diction.texi
50
51%install
52rm -rf $RPM_BUILD_ROOT
53install -d $RPM_BUILD_ROOT%{_infodir}
54
55%{__make} install \
56 DESTDIR=$RPM_BUILD_ROOT
57
58install diction*.info $RPM_BUILD_ROOT%{_infodir}
59
60%find_lang %{name}
61
62%clean
63rm -rf $RPM_BUILD_ROOT
64
65%post -p /sbin/postshell
66-/usr/sbin/fix-info-dir -c %{_infodir}
67
68%postun -p /sbin/postshell
69-/usr/sbin/fix-info-dir -c %{_infodir}
70
71%files -f %{name}.lang
72%defattr(644,root,root,755)
73%doc README
74%attr(755,root,root) %{_bindir}/*
75%{_datadir}/%{name}
76%{_mandir}/man?/*
77%{_infodir}/*.info*
This page took 0.036883 seconds and 4 git commands to generate.