]> git.pld-linux.org Git - SPECS.git/blob - rman.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / rman.spec
1 Summary:        PolyglotMan - reverse compilation of man pages
2 Summary(pl.UTF-8):      PolyglotMan - dekompilacja stron manuala
3 Name:           rman
4 Version:        3.2
5 Release:        4
6 License:        Artistic
7 Group:          Applications
8 Source0:        http://dl.sourceforge.net/polyglotman/%{name}-%{version}.tar.gz
9 # Source0-md5:  6d1d67641c6d042595a96a62340d3cc6
10 Source1:        %{name}.1.pl
11 Patch0:         %{name}-format_string.patch
12 URL:            http://polyglotman.sourceforge.net/
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 PolyglotMan takes man pages from most of the popular flavors of UNIX
17 and transforms them into any of a number of text source formats.
18 PolyglotMan was formerly known as RosettaMan. The name of the binary
19 is still called rman, for scripts that depend on that name;
20 mnemonically, just think "reverse man".
21
22 %description -l pl.UTF-8
23 PolyglotMan przyjmuje strony manuala z większości popularnych rodzajów
24 Uniksa i przekształca je w dowolny z wielu formatów źródłowych.
25 PolyglotMan był poprzednio znany jako RosettaMan. Nazwa binarki to
26 nadal rman ze względu na skrypty zależne od tej nazwy - ale należy o
27 niej myśleć jako "reverse man" (odwrotny man).
28
29 %prep
30 %setup -q
31 %patch0 -p1
32
33 %build
34 %{__make} \
35         CC="%{__cc}" \
36         CFLAGS="%{rpmcflags}"
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
41
42 %{__make} install \
43         BINDIR=$RPM_BUILD_ROOT%{_bindir} \
44         MANDIR=$RPM_BUILD_ROOT%{_mandir}/man1
45
46 install -D %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/pl/man1/rman.1
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files
52 %defattr(644,root,root,755)
53 %doc CHANGES README-rman.txt rman.html
54 %attr(755,root,root) %{_bindir}/rman
55 %{_mandir}/man1/rman.1*
56 %lang(pl) %{_mandir}/pl/man1/rman.1*
This page took 0.302239 seconds and 3 git commands to generate.