2014-12-27 13:39:57 +01:00
|
|
|
#
|
|
|
|
# spec file for package mmc-utils
|
|
|
|
#
|
2020-02-03 16:58:30 +01:00
|
|
|
# Copyright (c) 2020 SUSE LLC
|
2014-12-27 13:39:57 +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.
|
|
|
|
|
2018-12-14 16:00:51 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2014-12-27 13:39:57 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: mmc-utils
|
2020-02-03 16:58:30 +01:00
|
|
|
Version: 0.1+git.20191004
|
2014-12-27 13:39:57 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: Tools for MMC/SD devices
|
2018-03-08 10:51:58 +01:00
|
|
|
License: GPL-2.0-only
|
2014-12-27 13:39:57 +01:00
|
|
|
Group: Hardware/Other
|
2018-03-08 10:51:58 +01:00
|
|
|
URL: http://git.kernel.org/cgit/linux/kernel/git/cjb/mmc-utils.git/
|
2020-02-03 16:58:30 +01:00
|
|
|
Source0: %{name}-%{version}.tar.gz
|
2014-12-27 13:39:57 +01:00
|
|
|
Source1: https://www.gnu.org/licenses/gpl-2.0.txt
|
|
|
|
|
|
|
|
%description
|
|
|
|
Userspace tools for controlling and querying MMC/SD storage devices
|
|
|
|
|
|
|
|
%prep
|
2020-02-03 16:58:30 +01:00
|
|
|
%autosetup
|
2014-12-27 13:39:57 +01:00
|
|
|
cp %{SOURCE1} LICENSE.GPL-2.0
|
|
|
|
|
|
|
|
%build
|
2020-02-03 16:58:30 +01:00
|
|
|
%make_build CFLAGS="%{optflags}" CHECKFLAGS="-Wall -Wuninitialized -Wundef"
|
2014-12-27 13:39:57 +01:00
|
|
|
|
|
|
|
%install
|
2017-03-24 13:04:59 +01:00
|
|
|
%make_install prefix=%{_prefix}
|
|
|
|
install -D -p -m 0644 man/mmc.1 \
|
|
|
|
%{buildroot}%{_mandir}/man1/mmc.1
|
2014-12-27 13:39:57 +01:00
|
|
|
|
|
|
|
%files
|
2018-03-08 10:51:58 +01:00
|
|
|
%license LICENSE.GPL-2.0
|
2015-12-05 14:12:57 +01:00
|
|
|
%{_bindir}/mmc
|
2018-06-18 08:56:21 +02:00
|
|
|
%{_mandir}/man1/mmc.1%{?ext_man}
|
2014-12-27 13:39:57 +01:00
|
|
|
|
|
|
|
%changelog
|