64f667d8b2
* mmc-utils: mmc_cmds: fix type-punned warning on &ext_csd[] casting * mmc-utils: lsmmc: Fix emmc capacity calculation * mmc-utils: lsmmc: Disintegrade print_mmc_csd * mmc-utils: lsmmc: Simplify interface processing functions * mmc-utils: lsmmc: Simplify prinitng manufacturer name * mmc-utils: lsmmc: Reuse do_read_reg * mmc-utils: fix potential overflow * mmc-utils: ffu: Add optional chunk-size argument * mmc-utils: ffu: Allow ffu of large images * mmc-utils: ffu: Add ffu multi-command set handler * mmc-utils: ffu: Simplify ext_csd bytes parsing * mmc-utils: Add arg argument to set_single_cmd * mmc-utils: Add fill_switch_cmd handler * mmc-utils: Assert MMC_IOC_MULTI_CMD in compile time * mmc-utils: support overriding CFLAGS without setting -DVERSION * mmc-utils: do not hide CID manufacturer information * mmc-utils: fix printing OID for mmc in non-verbose mode * mmc-utils: add SanDisk to manufacturer database * mmc-utils: Change version string to git hash OBS-URL: https://build.opensuse.org/package/show/hardware/mmc-utils?expand=0&rev=43
49 lines
1.4 KiB
RPMSpec
49 lines
1.4 KiB
RPMSpec
#
|
|
# spec file for package mmc-utils
|
|
#
|
|
# Copyright (c) 2024 SUSE LLC
|
|
#
|
|
# 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.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: mmc-utils
|
|
Version: 0.1+git.20240307
|
|
Release: 0
|
|
Summary: Tools for MMC/SD devices
|
|
License: GPL-2.0-only
|
|
URL: https://git.kernel.org/cgit/linux/kernel/git/cjb/mmc-utils.git/
|
|
Source0: %{name}-%{version}.tar.gz
|
|
Source1: https://www.gnu.org/licenses/gpl-2.0.txt
|
|
|
|
%description
|
|
Userspace tools for controlling and querying MMC/SD storage devices
|
|
|
|
%prep
|
|
%autosetup
|
|
cp %{SOURCE1} LICENSE.GPL-2.0
|
|
|
|
%build
|
|
%make_build CFLAGS="%{optflags}" CHECKFLAGS="-Wall -Wuninitialized -Wundef"
|
|
|
|
%install
|
|
%make_install prefix=%{_prefix}
|
|
install -D -p -m 0644 man/mmc.1 \
|
|
%{buildroot}%{_mandir}/man1/mmc.1
|
|
|
|
%files
|
|
%license LICENSE.GPL-2.0
|
|
%{_bindir}/mmc
|
|
%{_mandir}/man1/mmc.1%{?ext_man}
|
|
|
|
%changelog
|