]> git.pld-linux.org Git - packages/Par.git/blob - Par.spec
- tabs in preamble
[packages/Par.git] / Par.spec
1 Summary:        Filter for reformatting paragraphs
2 Summary(pl.UTF-8):      Filtr formatujący akapity tekstu
3 Name:           Par
4 %define         ver_short       %(echo %{version} |tr -d .)
5 Version:        1.52
6 Epoch:          1
7 Release:        2
8 License:        distributable
9 Group:          Applications/Publishing
10 Source0:        http://www.nicemice.net/par/%{name}%{ver_short}.tar.gz
11 # Source0-md5:  4ccacd824171ba2c2f14fb8aba78b9bf
12 URL:            http://www.nicemice.net/par/
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 Par is a filter which copies its input to its output, changing all
17 white characters (except newlines) to spaces, and reformatting each
18 paragraph. It has some advanced features (see manual page for
19 examples).
20
21 %description -l pl.UTF-8
22 Par jest filtrem, który kopiuje swoje wejście do swojego wyjścia,
23 zamieniając wszystkie znaki odstępu na spacje i przeformatowując
24 każdy akapit. Posiada parę zaawansowanych funkcji, których przykłady
25 można znaleźć na stronie podręcznika systemowego.
26
27 %prep
28 %setup  -q -n %{name}%{ver_short}
29
30 %build
31 %{__make} -f protoMakefile
32
33 %install
34 rm -rf $RPM_BUILD_ROOT
35 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
36
37 install par $RPM_BUILD_ROOT%{_bindir}
38 install par.1 $RPM_BUILD_ROOT%{_mandir}/man1
39
40 %clean
41 rm -rf $RPM_BUILD_ROOT
42
43 %files
44 %defattr(644,root,root,755)
45 %doc par.doc releasenotes
46 %attr(755,root,root) %{_bindir}/*
47 %{_mandir}/man1/*
This page took 0.145123 seconds and 3 git commands to generate.