forked from pool/mtd-utils
Jan Engelhardt
d5f72c742e
OBS-URL: https://build.opensuse.org/package/show/filesystems/mtd-utils?expand=0&rev=3
89 lines
2.0 KiB
RPMSpec
89 lines
2.0 KiB
RPMSpec
Name: mtd-utils
|
|
Version: 1.2.0
|
|
Release: 0
|
|
Summary: Tools for maintaining Memory Technology Devices
|
|
Source: mtd-utils-%{version}.tar.bz2
|
|
URL: http://www.linux-mtd.infradead.org/
|
|
Group: System/Filesystems
|
|
License: GPL-2.0+
|
|
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
|
BuildRequires: libuuid-devel
|
|
BuildRequires: lzo-devel
|
|
BuildRequires: zlib-devel
|
|
BuildRequires: libacl-devel
|
|
BuildRequires: gcc make glibc-devel
|
|
BuildRequires: autoconf automake libtool
|
|
|
|
%description
|
|
This package contains tools for erasing and formatting flash devices,
|
|
including JFFS2, M-Systems DiskOnChip devices, etc.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
make %{?_smp_mflags} \
|
|
CFLAGS="%{optflags}" \
|
|
CC="%__cc" \
|
|
PREFIX="%{_prefix}"
|
|
|
|
%install
|
|
%__make \
|
|
DESTDIR="%{buildroot}" \
|
|
PREFIX="%{_prefix}" \
|
|
MANDIR="%{_mandir}" \
|
|
install
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc COPYING *txt
|
|
%{_sbindir}/bin2nand
|
|
%{_sbindir}/doc_loadbios
|
|
%{_sbindir}/docfdisk
|
|
%{_sbindir}/flash_erase
|
|
%{_sbindir}/flash_eraseall
|
|
%{_sbindir}/flash_info
|
|
%{_sbindir}/flash_lock
|
|
%{_sbindir}/flash_otp_dump
|
|
%{_sbindir}/flash_otp_info
|
|
%{_sbindir}/flash_unlock
|
|
%{_sbindir}/flashcp
|
|
%{_sbindir}/ftl_check
|
|
%{_sbindir}/ftl_format
|
|
%{_sbindir}/jffs2dump
|
|
%{_sbindir}/mkbootenv
|
|
%{_sbindir}/mkfs.jffs2
|
|
%{_sbindir}/mkfs.ubifs
|
|
%{_sbindir}/mkpfi
|
|
%{_sbindir}/mtd_debug
|
|
%{_sbindir}/nand2bin
|
|
%{_sbindir}/nanddump
|
|
%{_sbindir}/nandtest
|
|
%{_sbindir}/nandwrite
|
|
%{_sbindir}/nftl_format
|
|
%{_sbindir}/nftldump
|
|
%{_sbindir}/pddcustomize
|
|
%{_sbindir}/pfi2bin
|
|
%{_sbindir}/pfiflash
|
|
%{_sbindir}/recv_image
|
|
%{_sbindir}/rfddump
|
|
%{_sbindir}/rfdformat
|
|
%{_sbindir}/serve_image
|
|
%{_sbindir}/sumtool
|
|
%{_sbindir}/ubiattach
|
|
%{_sbindir}/ubicrc32
|
|
%{_sbindir}/ubicrc32.pl
|
|
%{_sbindir}/ubidetach
|
|
%{_sbindir}/ubiformat
|
|
%{_sbindir}/ubigen
|
|
%{_sbindir}/ubimirror
|
|
%{_sbindir}/ubimkvol
|
|
%{_sbindir}/ubinfo
|
|
%{_sbindir}/ubinize
|
|
%{_sbindir}/ubirmvol
|
|
%{_sbindir}/ubiupdatevol
|
|
%{_sbindir}/unubi
|
|
%doc %{_mandir}/man1/mkfs.jffs2.1%{ext_man}
|
|
|
|
%changelog
|