]> git.pld-linux.org Git - packages/akanga.git/blob - akanga.spec
- cleanup
[packages/akanga.git] / akanga.spec
1 Summary:        Akanga shell
2 Summary(pl):    Akanga shell
3 Name:           akanga
4 Version:        1.0.5
5 Release:        1
6 Copyright:      GPL
7 Group:          Shells
8 Group(pl):      Pow³oki
9 #site:
10 #path:
11 Source:         %{name}-%{version}.tar.gz
12 Patch0:         %{name}-config.patch
13 Patch1:         %{name}-opt.patch
14 Buildroot: /tmp/%{name}-%{version}-root
15
16 %define _prefix /
17 %define _mandir /usr/share/man
18
19 %description
20 Rc based shell with additions for file locking, temporary files, reading standard input, 
21 expr and let builtin.
22
23 description -l pl
24 Prosta pow³oka z blokowaniem plików, plikami tymczasowymi i wyra¿eniami.
25
26 %prep
27 %setup -q
28 %patch0 -p1
29 %patch1 -p1
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.139067 seconds and 4 git commands to generate.