代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/mt-st 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Name: mt-st
Version: 1.7
Release: 2
Summary: Tool to manage tape drives
License: GPL+
URL: https://github.com/iustin/mt-st
Source0: https://github.com/iustin/mt-st/releases/download/v%{version}/%{name}-%{version}.tar.gz
Source1: stinit.service
Patch0001: Add-LTO9-Density-Code.patch
Patch0002: Backport-Linux-Kernel-WEOFI-ioctls.patch
BuildRequires: gcc systemd make bash-completion
Requires(post): systemd
Requires(preun): systemd
Requires(postun): systemd
%description
The mt-st package contains two programs: mt and stinit. Mt is basically a "standard" mt with
additional commands to send the ioctls specific to the Linux SCSI tape driver. Stinit is a program
to initialize the tape drive characteristics.
%package_help
%prep
%autosetup -p1
%build
make CFLAGS="%{build_cflags} %{build_ldflags}"
%install
COMPLETIONDIR=%{buildroot}$(pkg-config --variable=completionsdir bash-completion)
%make_install EXEC_PREFIX=/usr COMPLETIONINSTALLDIR=$COMPLETIONDIR
install -D -p -m 0644 %{SOURCE1} %{buildroot}%{_unitdir}/stinit.service
cd $COMPLETIONDIR
mv mt-st mt
%post
%systemd_post stinit.service
%preun
%systemd_preun stinit.service
%postun
%systemd_postun_with_restart stinit.service
%files
%defattr(-,root,root)
%license COPYING
%{_bindir}/mt
%{_sbindir}/stinit
%{_unitdir}/stinit.service
%{_datadir}/bash-completion/
%files help
%defattr(-,root,root)
%doc README.md stinit.def.examples
%{_mandir}/man[18]/*
%changelog
* Thu Aug 8 2024 zhangxingrong <zhangxingrong@uniontech.cn> - 1.7-2
- Add LTO9 Density Code
- Backport Linux Kernel WEOFI ioctls
* Wed Jul 12 2023 chenchen <chen_aka_jan@163.com> - 1.7-1
- Upgrade to version 1.7
* Tue Jan 18 2022 SimpleUpdate Robot <tc@openeuler.org> - 1.4-1
- Upgrade to version 1.4
* Wed Dec 4 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.1-25
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。