]> git.pld-linux.org Git - packages/akanga.git/blob - akanga.spec
- use new %%doc
[packages/akanga.git] / akanga.spec
1 Summary:        Akanga shell
2 Summary(pl):    Akanga shell
3 Name:           akanga
4 Version:        1.0.7
5 Release:        1
6 License:        GPL
7 Group:          Applications/Shells
8 Source0:        ftp://metalab.unc.edu/pub/Linux/system/shells/%{name}-%{version}.tar.gz
9 Patch0:         %{name}-config.patch
10 Patch1:         %{name}-opt.patch
11 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13 %define _prefix /
14 %define _mandir /usr/share/man
15
16 %description
17 Rc based shell with additions for file locking, temporary files,
18 reading standard input, expr and let builtin.
19
20 %description -l pl
21 Prosta pow³oka z blokowaniem plików, plikami tymczasowymi i
22 wyra¿eniami.
23
24 %prep
25 %setup -q
26 %patch0 -p0
27 %patch1 -p0
28
29 %build
30 %{__make}
31
32 %install
33 rm -rf $RPM_BUILD_ROOT
34 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
35
36 install bin/akanga $RPM_BUILD_ROOT%{_bindir}
37
38 install src/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
39 install samples/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
40
41 %clean
42 rm -rf $RPM_BUILD_ROOT
43
44 %files
45 %defattr(644,root,root,755)
46 %doc src/{CHANGES,EXAMPLES,FAQ,README*} samples/{fileuser,lp,man2html,man2html.cgi,mancc,netuser,which}
47 %attr(755,root,root) %{_bindir}/akanga
48 %attr(644,root,root) %{_mandir}/man1/*
This page took 0.061301 seconds and 3 git commands to generate.