]>
Commit | Line | Data |
---|---|---|
2569e82d | 1 | %define distfile ARJL_310 |
2 | ||
3 | Summary: ARJ for Linux | |
4 | Name: arj | |
5 | Version: 3.10 | |
6 | Release: 0.1 | |
7 | Copyright: shareware | |
8 | Vendor: ARJ Software Russia | |
9 | ExclusiveOS: Linux | |
10 | ExclusiveArch: i386 | |
11 | Group: Applications/Archiving | |
12 | Source: ftp://ftp.black.ru/fileecho/AUTLCOMP/%{distfile} | |
13 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root | |
14 | ||
15 | %description | |
16 | This product is an implementation of ARJ v 2.7x for DOS on UNIX and | |
17 | UNIX-like systems. It is assumed that the user is familiar with ARJ | |
18 | operation on DOS before using this package. | |
19 | ||
20 | ||
21 | %prep | |
22 | %setup -T -c | |
23 | chmod 755 ${RPM_SOURCE_DIR}/%{distfile} | |
24 | ${RPM_SOURCE_DIR}/%{distfile} << EOF | |
25 | y | |
26 | n | |
27 | ||
28 | y | |
29 | y | |
30 | EOF | |
31 | ||
32 | %install | |
33 | rm -rf ${RPM_BUILD_ROOT} | |
34 | mkdir -p ${RPM_BUILD_ROOT}%{_bindir} | |
35 | mv bin/register bin/register-arj | |
36 | install -m 644 bin/* ${RPM_BUILD_ROOT}%{_bindir} | |
37 | ||
38 | %clean | |
39 | rm -rf ${RPM_BUILD_ROOT} | |
40 | ||
41 | %files | |
42 | %defattr(0644, root, root, 0755) | |
43 | %doc doc/arj/* | |
44 | %attr(0755, root, root) %{_bindir}/* |