|
|
4db55e |
Summary: Tool for controlling tape drives
|
|
|
4db55e |
Name: mt-st
|
|
|
4db55e |
Version: 1.1
|
|
|
0ab67b |
Release: 14%{?dist}
|
|
|
4db55e |
License: GPL+
|
|
|
4db55e |
Group: Applications/System
|
|
|
4db55e |
URL: ftp://ftp.ibiblio.org/pub/linux/system/backup
|
|
|
4db55e |
Source0: ftp://metalab.unc.edu/pub/Linux/system/backup/mt-st-%{version}.tar.gz
|
|
|
4db55e |
Source1: stinit.service
|
|
|
4db55e |
Patch0: mt-st-1.1-redhat.patch
|
|
|
4db55e |
Patch1: mt-st-1.1-SDLT.patch
|
|
|
4db55e |
Patch2: mt-st-0.7-config-files.patch
|
|
|
4db55e |
Patch3: mt-st-0.9b-manfix.patch
|
|
|
4db55e |
Patch4: mt-st-1.1-mtio.patch
|
|
|
4db55e |
# https://bugzilla.redhat.com/show_bug.cgi?id=948457
|
|
|
4db55e |
Patch5: mt-st-1.1-options.patch
|
|
|
0ab67b |
Patch6: mt-st-man-page-updates-1_bz948457.patch
|
|
|
4db55e |
BuildRequires: systemd
|
|
|
4db55e |
Requires(post): systemd
|
|
|
4db55e |
Requires(preun): systemd
|
|
|
4db55e |
Requires(postun): systemd
|
|
|
4db55e |
|
|
|
4db55e |
%description
|
|
|
4db55e |
The mt-st package contains the mt and st tape drive management
|
|
|
4db55e |
programs. Mt (for magnetic tape drives) and st (for SCSI tape devices)
|
|
|
4db55e |
can control rewinding, ejecting, skipping files and blocks and more.
|
|
|
4db55e |
|
|
|
4db55e |
Install mt-st if you need a tool to manage tape drives.
|
|
|
4db55e |
|
|
|
4db55e |
|
|
|
4db55e |
%prep
|
|
|
4db55e |
%setup -q
|
|
|
4db55e |
%patch0 -p1 -b .redhat
|
|
|
4db55e |
%patch1 -p1 -b .sdlt
|
|
|
4db55e |
%patch2 -p1 -b .configfiles
|
|
|
4db55e |
%patch3 -p1 -b .manfix
|
|
|
4db55e |
%patch4 -p1 -b .mtio
|
|
|
4db55e |
%patch5 -p1 -b .options
|
|
|
0ab67b |
%patch6 -p1 -b .man_page_upd1
|
|
|
4db55e |
|
|
|
4db55e |
# fix encoding
|
|
|
4db55e |
f=README.stinit
|
|
|
4db55e |
iconv -f ISO8859-1 -t UTF-8 -o $f.new $f
|
|
|
4db55e |
touch -r $f $f.new
|
|
|
4db55e |
mv $f.new $f
|
|
|
4db55e |
|
|
|
4db55e |
|
|
|
4db55e |
%build
|
|
|
4db55e |
make CFLAGS="$RPM_OPT_FLAGS"
|
|
|
4db55e |
|
|
|
4db55e |
|
|
|
4db55e |
%install
|
|
|
4db55e |
make install
|
|
|
4db55e |
install -D -p -m 0644 %{SOURCE1} $RPM_BUILD_ROOT%{_unitdir}/stinit.service
|
|
|
4db55e |
|
|
|
4db55e |
|
|
|
4db55e |
%post
|
|
|
4db55e |
%systemd_post stinit.service
|
|
|
4db55e |
|
|
|
4db55e |
%preun
|
|
|
4db55e |
%systemd_preun stinit.service
|
|
|
4db55e |
|
|
|
4db55e |
%postun
|
|
|
4db55e |
%systemd_postun_with_restart stinit.service
|
|
|
4db55e |
|
|
|
4db55e |
|
|
|
4db55e |
%files
|
|
|
4db55e |
%doc COPYING README README.stinit mt-st-1.1.lsm stinit.def.examples
|
|
|
4db55e |
%{_bindir}/mt
|
|
|
4db55e |
%{_sbindir}/stinit
|
|
|
4db55e |
%{_mandir}/man[18]/*
|
|
|
4db55e |
%{_unitdir}/stinit.service
|
|
|
4db55e |
|
|
|
4db55e |
|
|
|
4db55e |
%changelog
|
|
|
0ab67b |
* Tue Sep 30 2014 David Sommerseth <davids@redhat.com> - 1.1-14
|
|
|
0ab67b |
- Updated man page (#948457)
|
|
|
0ab67b |
|
|
|
d062da |
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 1.1-13
|
|
|
d062da |
- Mass rebuild 2014-01-24
|
|
|
d062da |
|
|
|
d062da |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.1-12
|
|
|
d062da |
- Mass rebuild 2013-12-27
|
|
|
d062da |
|
|
|
4db55e |
* Tue Jul 23 2013 Dan Horák <dan[at]danny.cz> - 1.1-11
|
|
|
4db55e |
- print all options in stinit's help (#948457)
|
|
|
4db55e |
- switch to systemd scriptlet macros
|
|
|
4db55e |
|
|
|
4db55e |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-10
|
|
|
4db55e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
4db55e |
|
|
|
4db55e |
* Tue Nov 20 2012 Dan Horák <dan[at]danny.cz> - 1.1-9
|
|
|
4db55e |
- spec cleanup
|
|
|
4db55e |
|
|
|
4db55e |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-8
|
|
|
4db55e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
4db55e |
|
|
|
4db55e |
* Thu Apr 19 2012 Jon Ciesla <limburgher@gmail.com> - 1.1-7
|
|
|
4db55e |
- Migrate to systemd, BZ 789926.
|
|
|
4db55e |
|
|
|
4db55e |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-6
|
|
|
4db55e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
4db55e |
|
|
|
4db55e |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-5
|
|
|
4db55e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
4db55e |
|
|
|
4db55e |
* Thu Nov 26 2009 Dan Horák <dan[at]danny.cz> - 1.1-4
|
|
|
4db55e |
- stinit initscript updated (#541592)
|
|
|
4db55e |
- fixed License
|
|
|
4db55e |
|
|
|
4db55e |
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-3
|
|
|
4db55e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
4db55e |
|
|
|
4db55e |
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-2
|
|
|
4db55e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
4db55e |
|
|
|
4db55e |
* Mon Aug 4 2008 Dan Horak <dan[at]danny.cz> - 1.1-1
|
|
|
4db55e |
- update to upstream version 1.1
|
|
|
4db55e |
- rebase patches
|
|
|
4db55e |
|
|
|
4db55e |
* Mon May 26 2008 Radek Brich <rbrich@redhat.com> - 0.9b-6
|
|
|
4db55e |
- add init script to call /sbin/stinit (#249665)
|
|
|
4db55e |
|
|
|
4db55e |
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.9b-5
|
|
|
4db55e |
- Autorebuild for GCC 4.3
|
|
|
4db55e |
|
|
|
4db55e |
* Thu Aug 23 2007 Jindrich Novy <jnovy@redhat.com> - 0.9b-4
|
|
|
4db55e |
- update License
|
|
|
4db55e |
- rebuild for BuildID
|
|
|
4db55e |
|
|
|
4db55e |
* Wed Feb 7 2007 Jindrich Novy <jnovy@redhat.com> - 0.9b-3
|
|
|
4db55e |
- spec fixes
|
|
|
4db55e |
- use mtio.h from kernel-headers instead of the mt-st one
|
|
|
4db55e |
|
|
|
4db55e |
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.9b-2.2.2
|
|
|
4db55e |
- rebuild
|
|
|
4db55e |
|
|
|
4db55e |
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.9b-2.2.1
|
|
|
4db55e |
- bump again for double-long bug on ppc(64)
|
|
|
4db55e |
|
|
|
4db55e |
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.9b-2.2
|
|
|
4db55e |
- rebuilt for new gcc4.1 snapshot and glibc changes
|
|
|
4db55e |
|
|
|
4db55e |
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
4db55e |
- rebuilt
|
|
|
4db55e |
|
|
|
4db55e |
* Tue Oct 25 2005 Jindrich Novy <jnovy@redhat.com> 0.9b-2
|
|
|
4db55e |
- fix misleading description of "fsfm" and "bsfm" commands (#171340)
|
|
|
4db55e |
|
|
|
4db55e |
* Thu Sep 22 2005 Jindrich Novy <jnovy@redhat.com> 0.9b-1
|
|
|
4db55e |
- update to mt-st 0.9b
|
|
|
4db55e |
|
|
|
4db55e |
* Thu Apr 7 2005 Jindrich Novy <jnovy@redhat.com> 0.8-5
|
|
|
4db55e |
- add SDLT600 entry to stinit.def.examples,
|
|
|
4db55e |
suggested by Ralf-Peter Rohbeck (#153305)
|
|
|
4db55e |
|
|
|
4db55e |
* Fri Mar 4 2005 Jindrich Novy <jnovy@redhat.com> 0.8-4
|
|
|
4db55e |
- rebuilt with gcc4
|
|
|
4db55e |
|
|
|
4db55e |
* Thu Feb 10 2005 Jindrich Novy <jnovy@redhat.com> 0.8-3
|
|
|
4db55e |
- remove -D_FORTIFY_SOURCE=2 from CFLAGS, present in RPM_OPT_FLAGS
|
|
|
4db55e |
|
|
|
4db55e |
* Wed Feb 9 2005 Jindrich Novy <jnovy@redhat.com> 0.8-2
|
|
|
4db55e |
- rebuilt with -D_FORTIFY_SOURCE=2
|
|
|
4db55e |
|
|
|
4db55e |
* Mon Aug 09 2004 Jindrich Novy <jnovy@redhat.com> 0.8-1
|
|
|
4db55e |
- updated to 0.8
|
|
|
4db55e |
- updated .redhat patch
|
|
|
4db55e |
- license fixup to GPL
|
|
|
4db55e |
|
|
|
4db55e |
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
4db55e |
- rebuilt
|
|
|
4db55e |
|
|
|
4db55e |
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
4db55e |
- rebuilt
|
|
|
4db55e |
|
|
|
4db55e |
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
|
|
|
4db55e |
- rebuilt
|
|
|
4db55e |
|
|
|
4db55e |
* Mon May 26 2003 Than Ngo <than@redhat.com> 0.7-11.1
|
|
|
4db55e |
- add config file for Quantum DLT drive bug #91550
|
|
|
4db55e |
|
|
|
4db55e |
* Mon Feb 24 2003 Elliot Lee <sopwith@redhat.com>
|
|
|
4db55e |
- rebuilt
|
|
|
4db55e |
|
|
|
4db55e |
* Sat Feb 22 2003 Than Ngo <than@redhat.com> 0.7-9
|
|
|
4db55e |
- add density code for Quantum SDLT320 from tibbs@math.uh.edu (#84843)
|
|
|
4db55e |
|
|
|
4db55e |
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
|
|
|
4db55e |
- rebuilt
|
|
|
4db55e |
|
|
|
4db55e |
* Wed Dec 11 2002 Tim Powers <timp@redhat.com> 0.7-7
|
|
|
4db55e |
- rebuild on all arches
|
|
|
4db55e |
|
|
|
4db55e |
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
|
|
|
4db55e |
- automated rebuild
|
|
|
4db55e |
|
|
|
4db55e |
* Wed Jun 19 2002 Than Ngo <than@redhat.com> 0.7-5
|
|
|
4db55e |
- don't forcibly strip binaries
|
|
|
4db55e |
- clean up a patch file
|
|
|
4db55e |
|
|
|
4db55e |
* Thu May 23 2002 Tim Powers <timp@redhat.com>
|
|
|
4db55e |
- automated rebuild
|
|
|
4db55e |
|
|
|
4db55e |
* Tue Feb 26 2002 Than Ngo <than@redhat.com> 0.7-3
|
|
|
4db55e |
- rebuild
|
|
|
4db55e |
|
|
|
4db55e |
* Wed Feb 20 2002 Bernhard Rosenkraenzer <bero@redhat.com> 0.7-2
|
|
|
4db55e |
- Add density code 0x48 for Quantum SDLT220 tape drive (#59442)
|
|
|
4db55e |
|
|
|
4db55e |
* Tue Feb 19 2002 Bernhard Rosenkraenzer <bero@redhat.com> 0.7-1
|
|
|
4db55e |
- Update to 0.7
|
|
|
4db55e |
|
|
|
4db55e |
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
|
|
|
4db55e |
- automated rebuild
|
|
|
4db55e |
|
|
|
4db55e |
* Tue Apr 24 2001 Than Ngo <than@redhat.com>
|
|
|
4db55e |
- update to 0.6, supports all ioctls up to kernel 2.4.0
|
|
|
4db55e |
|
|
|
4db55e |
* Thu Aug 17 2000 Jeff Johnson <jbj@redhat.com>
|
|
|
4db55e |
- summaries from specspo.
|
|
|
4db55e |
|
|
|
4db55e |
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
|
|
|
4db55e |
- automatic rebuild
|
|
|
4db55e |
|
|
|
4db55e |
* Wed Jun 14 2000 Jeff Johnson <jbj@redhat.com>
|
|
|
4db55e |
- FHS packaging.
|
|
|
4db55e |
|
|
|
4db55e |
* Sat Apr 15 2000 Jeff Johnson <jbj@redhat.com>
|
|
|
4db55e |
- permit leading whitespace in config file.
|
|
|
4db55e |
- cortrect spelling error.
|
|
|
4db55e |
|
|
|
4db55e |
* Mon Feb 7 2000 Bill Nottingham <notting@redhat.com>
|
|
|
4db55e |
- handle compressed manpages
|
|
|
4db55e |
|
|
|
4db55e |
* Fri Jan 14 2000 Jeff Johnson <jbj@redhat.com>
|
|
|
4db55e |
- rebuild for Red Hat 6.2.
|
|
|
4db55e |
|
|
|
4db55e |
* Sun Sep 5 1999 Jeff Johnson <jbj@redhat.com>
|
|
|
4db55e |
- enable "datcompression" command (#3654).
|
|
|
4db55e |
|
|
|
4db55e |
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
|
|
|
4db55e |
- auto rebuild in the new build environment (release 3)
|
|
|
4db55e |
|
|
|
4db55e |
* Wed Feb 10 1999 Preston Brown <pbrown@redhat.com>
|
|
|
4db55e |
- upgrade to .5b, which fixes some cmd. line arg issues (bugzilla #18)
|
|
|
4db55e |
|
|
|
4db55e |
* Thu Jul 23 1998 Jeff Johnson <jbj@redhat.com>
|
|
|
4db55e |
- package for 5.2.
|
|
|
4db55e |
|
|
|
4db55e |
* Sun Jul 19 1998 Andrea Borgia <borgia@cs.unibo.it>
|
|
|
4db55e |
- updated to version 0.5
|
|
|
4db55e |
- removed the touch to force the build: no binaries are included!
|
|
|
4db55e |
- added to the docs: README.stinit, stinit.def.examples
|
|
|
4db55e |
- made buildroot capable
|
|
|
4db55e |
|
|
|
4db55e |
* Mon Apr 27 1998 Prospector System <bugs@redhat.com>
|
|
|
4db55e |
- translations modified for de, fr, tr
|
|
|
4db55e |
|
|
|
4db55e |
* Mon Oct 20 1997 Donnie Barnes <djb@redhat.com>
|
|
|
4db55e |
- spec file cleanups
|
|
|
4db55e |
|
|
|
4db55e |
* Thu Jun 19 1997 Erik Troan <ewt@redhat.com>
|
|
|
4db55e |
- built against glibc
|