dosfstools/dosfstools.spec

92 lines
2.4 KiB
RPMSpec
Raw Normal View History

2019-09-30 10:37:32 -04:00
Name: dosfstools
Version: 4.2
Release: 2
2019-09-30 10:37:32 -04:00
Summary: FAT file system userspace tools
License: GPLv3+
URL: http://www.github.com/dosfstools/dosfstools
Source0: http://www.github.com/%{name}/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz
2019-09-30 10:37:32 -04:00
BuildRequires: gcc autoconf automake
2019-09-30 10:37:32 -04:00
%description
The dosfstools package contains programs mkfs.fat, fsck.fat and fatlabel to
create, check and label FAT family file systems.
%package help
Summary: Documentations for dosfstools
BuildArch: noarch
Requires: man
%description help
This package includes man pages for dosfstools.
%prep
%autosetup -n %{name}-%{version} -p1
2019-09-30 10:37:32 -04:00
%build
%configure --enable-compat-symlinks
%make_build CFLAGS="%{optflags} -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-strict-aliasing"
2020-11-04 18:06:36 +08:00
%check
make check
2019-09-30 10:37:32 -04:00
%install
%make_install
%files
%doc NEWS README doc/* ChangeLog
2019-09-30 10:37:32 -04:00
%license COPYING
%{_sbindir}/*
%exclude %{_docdir}/%{name}/COPYING
2019-09-30 10:37:32 -04:00
%files help
%{_mandir}/man8/*
%changelog
* Fri Nov 4 2022 zhanchengbin <zhanchengbin1@huawei.com> - 4.2-2
- Synchronize Version
* Wed Nov 17 2021 Wenchao Hao <haowenchao@huawei.com> - 4.2-1
- Update to dosfstools-4.2
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 4.1-11
- DESC: delete -S git from %autosetup, and delete BuildRequires git
* Tue Feb 9 2021 Zhiqiang Liu <liuzhiqiang26@huawei.com> - 4.1-10
- backport patches to fix two memory leak problems, rename patch names,
and set release num to 9 for CI.
2020-11-04 18:06:36 +08:00
* Wed Nov 4 2020 lixiaokeng <lixiaokeng@huawei.com> - 4.1-9
- add make check
2020-07-01 15:15:47 +08:00
* Wed Jul 1 2020 Wu Bo <wubo009@163.com> - 4.1-8
- rebuild package
2019-09-30 10:37:32 -04:00
* Tue Aug 20 2019 luoshijie <luoshijie1@huawei.com> - 4.1-7
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:openEuler Debranding
* Tue Aug 20 2019 luoshijie <luoshijie1@huawei.com> - 4.1-6.h2
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:rename patch name
* Mon Apr 15 2019 yinzhiwei <yinzhiwei5@huawei.com> - 4.1-6.h1
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:Fix signed integer overflow in FSTART
Avoid returning deleted directory entries as labels
src check.c: Fix up mtools created bad dir entries
Remove long file name when changing short file name
Fix gcc sprintf length warnings
fsck.fat: Fix Year 2038 Bug
mkfs.fat: Fix parsing of block number
device_info: Fix parsing partition number
-Package init