Imported Upstream version 1.2.16rel
[debian/mtx] / mtx.spec
1 Name: mtx
2 Version: 1.2.16rel
3 Release: 1
4 Summary: SCSI media changer control program
5 Copyright: Redistributable
6 Group: Utilities/System
7 Source0: http://prdownloads.sourceforge.net/mtx/%{name}-%{version}.tar.gz
8 Url: http://%{name}.sourceforge.net
9 BuildRoot: /var/tmp/%{name}-%{version}
10
11
12 %description
13 The MTX program controls the robotic mechanism in autoloaders and tape
14 libraries such as the HP SureStore DAT 40x6, Exabyte EZ-17, and
15 Exabyte 220. This program is also reported to work with a variety of other tape
16 libraries and autochangers from Tandberg/Overland, Breece Hill, HP, and 
17 Seagate.
18
19 %prep
20 %setup -q
21
22 %build
23 %configure
24 make
25
26 %install
27 mkdir -p $RPM_BUILD_ROOT/sbin
28 install mtx $RPM_BUILD_ROOT/sbin/mtx
29 mkdir -p $RPM_BUILD_ROOT/usr/sbin
30 install loaderinfo $RPM_BUILD_ROOT/usr/sbin/loaderinfo
31 install scsitape $RPM_BUILD_ROOT/usr/sbin/scsitape
32 install tapeinfo $RPM_BUILD_ROOT/usr/sbin/tapeinfo
33 mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man1
34 install mtx.1 $RPM_BUILD_ROOT/%{_mandir}/man1/mtx.1
35 install scsitape.1 $RPM_BUILD_ROOT/%{_mandir}/man1/scsitape.1
36 install tapeinfo.1 $RPM_BUILD_ROOT/%{_mandir}/man1/tapeinfo.1
37
38
39 %clean
40 rm -rf $RPM_BUILD_ROOT
41
42 %files 
43 %defattr(-,root,root)
44 %doc mtx.doc CHANGES README mtxl.README.html
45 %doc COMPATABILITY FAQ LICENSE* TODO contrib
46 %{_mandir}/man1/*
47 /sbin/mtx
48 /usr/sbin/*
49
50 %changelog
51 * Fri Nov 18 2001 Eric Green <eric@badtux.org>
52 - 1.2.14
53 - Moved changelog to end of spec file so it doesn't interfere
54
55
56 * Wed Apr 18 2001 Kenneth Porter <shiva@well.com>
57 - 1.2.12pre1
58 - Need to create usr/sbin for install
59
60 * Fri Mar 02 2001 Eric Green <eric@estinc.com>
61 - 1.2.11pre6 
62 - Move tapeinfo,loaderinfo, scsitape to /usr/sbin rather than /sbin
63
64 * Wed Feb 28 2001 Kenneth Porter <shiva@well.com>
65 - 1.2.11pre5
66 - Remove commented-out patch.
67 - Use mandir FHS macro and configure macro.
68 - Install more stuff.
69 - Use build policy for stripping.
70
71 * Wed Jan 17 2001 Eric Green <eric@estinc.com>
72 - 1.2.11pre3
73 - Removed patch, now use ./configure. 
74
75 * Mon Nov 27 2000 Eric Green <eric@estinc.com>
76 - 1.2.10
77 - Fixed patching to use the portable.patch.
78
79 * Tue Jul 25 2000 Eric Green <eric@estinc.com>
80 - 1.2.8
81 - Added portability patch to mtx.spec so should compile on Red Hat Alpha etc. 
82
83 * Thu Jun 6 2000 Eric Green <eric@estinc.com>
84 - 1.2.7
85 - Fixed single-drive Exabyte 220 special case.
86 - Fixed ADIC DAT Autochanger special case.
87 - Fixed mtx.spec to move the binaries to /sbin since we need root access
88
89 * Fri May 12 2000 Kenneth Porter <shiva@well.com>
90 - 1.2.6
91 - Fixed 'eepos' stuff to use | rather than || (whoops!)
92 - Accept a 4-byte element descriptor for the robot arm for certain older
93 - autochangers. 
94
95 * Mon May 8 2000 Kenneth Porter <shiva@well.com>
96 - Spell sourceforge right so the link at rpmfind.net will work.
97
98 * Thu May 4 2000 Kenneth Porter <shiva@well.com>
99 - 1.2.5
100
101 * Thu Oct 29 1998  Ian Macdonald <ianmacd@xs4all.nl>
102 - moved mtx from /sbin to /bin, seeing as mt is also located there
103
104 * Fri Oct 23 1998  Ian Macdonald <ianmacd@xs4all.nl>
105 - first RPM release