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