]>
Commit | Line | Data |
---|---|---|
21140534 JR |
1 | Summary: Programs to control tape device operations. |
2 | Name: mt-st | |
3 | Version: 0.5b | |
4 | Release: 3 | |
5 | Copyright: BSD | |
6 | Group: Applications/System | |
7 | Source: ftp://metalab.unc.edu/pub/Linux/system/backup/mt-st-0.5b.tar.gz | |
8 | Patch: mt-st-buildroot.patch | |
9 | BuildRoot: /var/tmp/%{name}-root | |
10 | ||
11 | %description | |
12 | The mt-st package contains the mt and st tape drive management | |
13 | programs. Mt (for magnetic tape drives) and st (for SCSI tape | |
14 | devices) can control rewinding, ejecting, skipping files and | |
15 | blocks and more. | |
16 | ||
17 | This package can help you manage tape drives. | |
18 | ||
19 | %prep | |
20 | %setup -q | |
21 | %patch -p1 -b .buildroot | |
22 | ||
23 | %build | |
24 | make CFLAGS="$RPM_OPT_FLAGS -Wall" | |
25 | ||
26 | %install | |
27 | rm -rf $RPM_BUILD_ROOT | |
28 | mkdir -p $RPM_BUILD_ROOT/{bin,sbin,usr/man/man1,usr/man/man8} | |
29 | make install | |
30 | ||
31 | %files | |
32 | %defattr(-,root,root) | |
33 | %doc COPYING README README.stinit mt-st-0.5b.lsm stinit.def.examples | |
34 | /bin/mt | |
35 | /sbin/stinit | |
36 | /usr/man/man1/mt.1 | |
37 | /usr/man/man8/stinit.8 |