From: Adam Gołębiowski Date: Sun, 8 Feb 2009 12:53:08 +0000 (+0000) Subject: - new X-Git-Tag: auto/th/chktex-1_6_4-0_1 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fchktex.git;a=commitdiff_plain;h=a4de0d85a462cedbfbd58752cc4901be09f9294d - new Changed files: chktex.spec -> 1.1 --- a4de0d85a462cedbfbd58752cc4901be09f9294d diff --git a/chktex.spec b/chktex.spec new file mode 100644 index 0000000..9400124 --- /dev/null +++ b/chktex.spec @@ -0,0 +1,52 @@ +Summary: LaTeX semantic checker +Summary(pl.UTF-8): Narzędzie do sprawdzania składni LaTeX-a +Name: chktex +Version: 1.6.4 +Release: 0.1 +License: GPL v2+ +Group: Applications +Source0: http://baruch.ev-en.org/proj/chktex/%{name}-%{version}.tar.gz +# Source0-md5: e1d1f70d37e97734a69c94682a2038a0 +URL: http://baruch.ev-en.org/proj/chktex/ +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +This program has been written in frustration because some constructs +in LaTeX are sometimes non-intuitive, and easy to forget. It is _not_ +a replacement for the built-in checker in LaTeX; however it catches +some typographic errors LaTeX oversees. In other words, it is Lint for +LaTeX. Filters are also provided for checking the LaTeX parts of CWEB +documents. + +%description -l pl.UTF-8 +Program ten został napisany z powodu frustruacji pewnymi mało +intuicyjnymi i łatwymi do zapomnienia konstrukacjami w LaTeX-u. Nie +jest to zamiennik dla wbudowanego w LaTeX-a narzędzia do sprawdzania +składni; jednak potrafi wyłapać pewne błędy typograficzne przez niego +pominięte. Innymi słowy, jest to Lint dla LaTeX-a. Dostępne są także +filtry do sprawdzania fragmentów LaTeX-a w dokumentach CWEB. + +%prep +%setup -q + +%build +%configure +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +install chktex.1 chkweb.1 $RPM_BUILD_ROOT%{_mandir}/man1/ + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc NEWS +%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/chktexrc +%attr(755,root,root) %{_bindir}/* +%{_mandir}/man1/*