summaryrefslogtreecommitdiff
path: root/mtx.spec
diff options
context:
space:
mode:
authorCarsten Leonhardt <leo@debian.org>2019-02-27 23:12:38 +0100
committerCarsten Leonhardt <leo@debian.org>2019-02-27 23:12:38 +0100
commitd94bd19c05a1b654a7851821f7c4b7cdd70e1515 (patch)
treebe7cb2ff99167e6dbc12c2c99acad4b386f92bf5 /mtx.spec
parentb695062f151fdfa5cd19cd20918bdf2dc6fd6332 (diff)
Import Upstream version 1.2.16rel
Diffstat (limited to 'mtx.spec')
-rw-r--r--mtx.spec105
1 files changed, 105 insertions, 0 deletions
diff --git a/mtx.spec b/mtx.spec
new file mode 100644
index 0000000..e2dbb85
--- /dev/null
+++ b/mtx.spec
@@ -0,0 +1,105 @@
+Name: mtx
+Version: 1.2.16rel
+Release: 1
+Summary: SCSI media changer control program
+Copyright: Redistributable
+Group: Utilities/System
+Source0: http://prdownloads.sourceforge.net/mtx/%{name}-%{version}.tar.gz
+Url: http://%{name}.sourceforge.net
+BuildRoot: /var/tmp/%{name}-%{version}
+
+
+%description
+The MTX program controls the robotic mechanism in autoloaders and tape
+libraries such as the HP SureStore DAT 40x6, Exabyte EZ-17, and
+Exabyte 220. This program is also reported to work with a variety of other tape
+libraries and autochangers from Tandberg/Overland, Breece Hill, HP, and
+Seagate.
+
+%prep
+%setup -q
+
+%build
+%configure
+make
+
+%install
+mkdir -p $RPM_BUILD_ROOT/sbin
+install mtx $RPM_BUILD_ROOT/sbin/mtx
+mkdir -p $RPM_BUILD_ROOT/usr/sbin
+install loaderinfo $RPM_BUILD_ROOT/usr/sbin/loaderinfo
+install scsitape $RPM_BUILD_ROOT/usr/sbin/scsitape
+install tapeinfo $RPM_BUILD_ROOT/usr/sbin/tapeinfo
+mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man1
+install mtx.1 $RPM_BUILD_ROOT/%{_mandir}/man1/mtx.1
+install scsitape.1 $RPM_BUILD_ROOT/%{_mandir}/man1/scsitape.1
+install tapeinfo.1 $RPM_BUILD_ROOT/%{_mandir}/man1/tapeinfo.1
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root)
+%doc mtx.doc CHANGES README mtxl.README.html
+%doc COMPATABILITY FAQ LICENSE* TODO contrib
+%{_mandir}/man1/*
+/sbin/mtx
+/usr/sbin/*
+
+%changelog
+* Fri Nov 18 2001 Eric Green <eric@badtux.org>
+- 1.2.14
+- Moved changelog to end of spec file so it doesn't interfere
+-
+
+* Wed Apr 18 2001 Kenneth Porter <shiva@well.com>
+- 1.2.12pre1
+- Need to create usr/sbin for install
+
+* Fri Mar 02 2001 Eric Green <eric@estinc.com>
+- 1.2.11pre6
+- Move tapeinfo,loaderinfo, scsitape to /usr/sbin rather than /sbin
+
+* Wed Feb 28 2001 Kenneth Porter <shiva@well.com>
+- 1.2.11pre5
+- Remove commented-out patch.
+- Use mandir FHS macro and configure macro.
+- Install more stuff.
+- Use build policy for stripping.
+
+* Wed Jan 17 2001 Eric Green <eric@estinc.com>
+- 1.2.11pre3
+- Removed patch, now use ./configure.
+
+* Mon Nov 27 2000 Eric Green <eric@estinc.com>
+- 1.2.10
+- Fixed patching to use the portable.patch.
+
+* Tue Jul 25 2000 Eric Green <eric@estinc.com>
+- 1.2.8
+- Added portability patch to mtx.spec so should compile on Red Hat Alpha etc.
+
+* Thu Jun 6 2000 Eric Green <eric@estinc.com>
+- 1.2.7
+- Fixed single-drive Exabyte 220 special case.
+- Fixed ADIC DAT Autochanger special case.
+- Fixed mtx.spec to move the binaries to /sbin since we need root access
+
+* Fri May 12 2000 Kenneth Porter <shiva@well.com>
+- 1.2.6
+- Fixed 'eepos' stuff to use | rather than || (whoops!)
+- Accept a 4-byte element descriptor for the robot arm for certain older
+- autochangers.
+
+* Mon May 8 2000 Kenneth Porter <shiva@well.com>
+- Spell sourceforge right so the link at rpmfind.net will work.
+
+* Thu May 4 2000 Kenneth Porter <shiva@well.com>
+- 1.2.5
+
+* Thu Oct 29 1998 Ian Macdonald <ianmacd@xs4all.nl>
+- moved mtx from /sbin to /bin, seeing as mt is also located there
+
+* Fri Oct 23 1998 Ian Macdonald <ianmacd@xs4all.nl>
+- first RPM release