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