]> git.pld-linux.org Git - packages/diction.git/blame - diction.spec
- updated gettext BR
[packages/diction.git] / diction.spec
CommitLineData
c7796385 1Summary: Analyze text for style
0bd13b52 2Summary(pl.UTF-8): Narzędzie analizujące tekst pod kątem stylu
6eb017c2 3Name: diction
4f2da637 4Version: 1.11
3a19a956 5Release: 1
d9d66eeb 6License: GPL v2
6eb017c2
MM
7Group: Applications/Text
8Source0: http://www.moria.de/~michael/diction/%{name}-%{version}.tar.gz
4f2da637 9# Source0-md5: 4cbdb115c976d7141f54b223df28012e
6eb017c2
MM
10Patch1: %{name}-texi.patch
11URL: http://www.moria.de/~michael/diction/
12BuildRequires: autoconf
13BuildRequires: automake
b212f13d 14BuildRequires: gettext-tools
6eb017c2
MM
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
30cb8e2f
JR
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ń.
6eb017c2 37
30cb8e2f 38Obie komendy wspierają języki angielski i niemiecki.
6eb017c2
MM
39
40%prep
41%setup -q
6eb017c2
MM
42%patch1 -p1
43
44%build
d99dd192 45%{__autoconf}
5abaaaed 46cp -f %{_datadir}/automake/{config.*,missing} .
6eb017c2
MM
47%configure
48%{__make}
49makeinfo diction.texi
50
51%install
52rm -rf $RPM_BUILD_ROOT
6eb017c2 53install -d $RPM_BUILD_ROOT%{_infodir}
2329d0be
PG
54
55%{__make} install \
56 DESTDIR=$RPM_BUILD_ROOT
57
6eb017c2
MM
58install diction*.info $RPM_BUILD_ROOT%{_infodir}
59
5abaaaed
JB
60%find_lang %{name}
61
6eb017c2
MM
62%clean
63rm -rf $RPM_BUILD_ROOT
64
d1b7a94a
ER
65%post -p /sbin/postshell
66-/usr/sbin/fix-info-dir -c %{_infodir}
c7796385 67
d1b7a94a
ER
68%postun -p /sbin/postshell
69-/usr/sbin/fix-info-dir -c %{_infodir}
c7796385 70
5abaaaed 71%files -f %{name}.lang
6eb017c2
MM
72%defattr(644,root,root,755)
73%doc README
74%attr(755,root,root) %{_bindir}/*
75%{_datadir}/%{name}
76%{_mandir}/man?/*
d99dd192 77%{_infodir}/*.info*
This page took 0.042269 seconds and 4 git commands to generate.