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