2015-12-14 09:44:36 +01:00
|
|
|
#
|
|
|
|
# spec file for package mtd-utils
|
|
|
|
#
|
2020-02-03 17:25:30 +01:00
|
|
|
# Copyright (c) 2020 SUSE LLC
|
2015-12-14 09:44:36 +01:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2019-05-29 15:40:01 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2015-12-14 09:44:36 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: mtd-utils
|
2020-02-03 17:25:30 +01:00
|
|
|
Version: 2.1.1
|
2015-12-14 09:44:36 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: Tools for maintaining Memory Technology Devices
|
2018-07-09 15:16:33 +02:00
|
|
|
License: GPL-2.0-or-later
|
2015-12-14 09:44:36 +01:00
|
|
|
Group: System/Filesystems
|
2018-07-09 15:16:33 +02:00
|
|
|
URL: http://www.linux-mtd.infradead.org/
|
2016-04-04 16:19:30 +02:00
|
|
|
Source0: ftp://ftp.infradead.org/pub/mtd-utils/mtd-utils-%{version}.tar.bz2
|
|
|
|
Source1: ftp://ftp.infradead.org/pub/mtd-utils/mtd-utils-%{version}.tar.bz2.asc
|
|
|
|
Source2: %{name}.keyring
|
2016-08-28 16:55:32 +02:00
|
|
|
BuildRequires: pkgconfig
|
2020-02-03 17:25:30 +01:00
|
|
|
BuildRequires: pkgconfig(libacl)
|
|
|
|
BuildRequires: pkgconfig(libzstd)
|
|
|
|
BuildRequires: pkgconfig(lzo2)
|
2019-05-29 15:40:01 +02:00
|
|
|
BuildRequires: pkgconfig(openssl)
|
2016-08-28 16:55:32 +02:00
|
|
|
BuildRequires: pkgconfig(uuid)
|
|
|
|
BuildRequires: pkgconfig(zlib)
|
|
|
|
Supplements: filesystem(jffs2)
|
|
|
|
Supplements: filesystem(ubifs)
|
2010-05-10 23:50:25 +02:00
|
|
|
|
|
|
|
%description
|
2016-04-04 16:19:30 +02:00
|
|
|
This package contains tools for erasing and formatting flash devices,
|
|
|
|
including JFFS2, M-Systems DiskOnChip devices, etc.
|
2010-05-10 23:50:25 +02:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2017-02-21 13:00:07 +01:00
|
|
|
%configure
|
2020-02-03 17:25:30 +01:00
|
|
|
%make_build
|
2010-05-10 23:50:25 +02:00
|
|
|
|
|
|
|
%install
|
2016-08-28 16:55:32 +02:00
|
|
|
%make_install
|
2010-05-10 23:50:25 +02:00
|
|
|
|
|
|
|
%files
|
2018-07-09 15:16:33 +02:00
|
|
|
%license COPYING
|
|
|
|
%doc ubifs-utils/mkfs.ubifs/README
|
2016-04-04 16:19:30 +02:00
|
|
|
%{_sbindir}/doc_loadbios
|
|
|
|
%{_sbindir}/docfdisk
|
|
|
|
%{_sbindir}/flash_erase
|
|
|
|
%{_sbindir}/flash_eraseall
|
|
|
|
%{_sbindir}/flash_lock
|
|
|
|
%{_sbindir}/flash_otp_dump
|
|
|
|
%{_sbindir}/flash_otp_info
|
|
|
|
%{_sbindir}/flash_otp_lock
|
|
|
|
%{_sbindir}/flash_otp_write
|
|
|
|
%{_sbindir}/flash_unlock
|
|
|
|
%{_sbindir}/flashcp
|
|
|
|
%{_sbindir}/ftl_check
|
|
|
|
%{_sbindir}/ftl_format
|
|
|
|
%{_sbindir}/jffs2dump
|
|
|
|
%{_sbindir}/jffs2reader
|
2019-05-29 15:40:01 +02:00
|
|
|
%{_sbindir}/lsmtd
|
2016-04-04 16:19:30 +02:00
|
|
|
%{_sbindir}/mkfs.jffs2
|
|
|
|
%{_sbindir}/mkfs.ubifs
|
|
|
|
%{_sbindir}/mtd_debug
|
|
|
|
%{_sbindir}/mtdinfo
|
|
|
|
%{_sbindir}/mtdpart
|
|
|
|
%{_sbindir}/nanddump
|
|
|
|
%{_sbindir}/nandtest
|
|
|
|
%{_sbindir}/nandwrite
|
|
|
|
%{_sbindir}/nftl_format
|
|
|
|
%{_sbindir}/nftldump
|
|
|
|
%{_sbindir}/recv_image
|
|
|
|
%{_sbindir}/rfddump
|
|
|
|
%{_sbindir}/rfdformat
|
|
|
|
%{_sbindir}/serve_image
|
|
|
|
%{_sbindir}/sumtool
|
|
|
|
%{_sbindir}/ubiattach
|
|
|
|
%{_sbindir}/ubiblock
|
|
|
|
%{_sbindir}/ubicrc32
|
|
|
|
%{_sbindir}/ubidetach
|
|
|
|
%{_sbindir}/ubiformat
|
|
|
|
%{_sbindir}/ubimkvol
|
|
|
|
%{_sbindir}/ubinfo
|
|
|
|
%{_sbindir}/ubinize
|
|
|
|
%{_sbindir}/ubirename
|
|
|
|
%{_sbindir}/ubirmvol
|
|
|
|
%{_sbindir}/ubirsvol
|
|
|
|
%{_sbindir}/ubiupdatevol
|
2018-07-09 15:16:33 +02:00
|
|
|
%{_mandir}/man1/mkfs.jffs2.1%{?ext_man}
|
2019-05-29 15:40:01 +02:00
|
|
|
%{_mandir}/man8/lsmtd.8%{?ext_man}
|
2018-07-09 15:16:33 +02:00
|
|
|
%{_mandir}/man8/ubinize.8%{?ext_man}
|
2010-05-10 23:50:25 +02:00
|
|
|
|
|
|
|
%changelog
|