]> git.pld-linux.org Git - packages/diction.git/commitdiff
- initial
authorMichal Moskal <michal@moskal.me>
Fri, 30 Aug 2002 12:32:23 +0000 (12:32 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    diction.spec -> 1.1

diction.spec [new file with mode: 0644]

diff --git a/diction.spec b/diction.spec
new file mode 100644 (file)
index 0000000..cd2435a
--- /dev/null
@@ -0,0 +1,66 @@
+Summary:       analyze text for style
+Name:          diction
+Version:       1.02
+Release:       1
+License:       GPL
+Group:         Applications/Text
+Source0:       http://www.moria.de/~michael/diction/%{name}-%{version}.tar.gz
+Patch0:                %{name}-DESTDIR.patch
+Patch1:                %{name}-texi.patch
+URL:           http://www.moria.de/~michael/diction/
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: texinfo
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+GNU diction and style are free implementations of old standard unix
+commands, that are not available on many modern systems, because they
+have been unbundled. Diction prints wordy and commonly misused
+phrases. Style analyses surface characteristics of a document, e.g.
+sentence length and various readability measures, but unlike the
+original code, it lacks sentence type, word usage and most sentence
+beginning processing.
+
+Both commands support English and German documents.
+
+%description -l pl
+GNU diction oraz style s± otwartymi implementacjami starych,
+standardowych komend uniksowych, które nie s± dostêpne na wielu
+nowoczesnych systemach. Diction wypisuje czêste pomy³ki s³owne i ¼le
+u¿yte wyra¿enia. Style analizuje powierzchniowe charakterystki
+dokumentu, np. d³ugo¶æ zdañ oraz ró¿ne wska¼niki czytelno¶ci, jednak w
+przeciwieñstwie do oryginalnej wersji nie przeprowadza analizy typu
+zdañ, u¿ycia s³ów oraz pocz±tkó³ zdañ.
+
+Obie komendy wspieraj± jêzyki angielski i niemiecki.
+
+%prep
+%setup -q
+%patch0 -p1
+%patch1 -p1
+
+%build
+autoconf
+cp -f %{_datadir}/automake/{config.,missing}* .
+%configure
+%{__make}
+makeinfo diction.texi
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} DESTDIR=$RPM_BUILD_ROOT install
+install -d $RPM_BUILD_ROOT%{_infodir}
+install diction*.info $RPM_BUILD_ROOT%{_infodir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README
+%attr(755,root,root) %{_bindir}/*
+%{_datadir}/%{name}
+%{_mandir}/man?/*
+%{_infodir}/*
This page took 0.086398 seconds and 4 git commands to generate.