mmc-utils/mmc-utils.spec

52 lines
1.5 KiB
RPMSpec
Raw Normal View History

#
# spec file for package mmc-utils
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2014 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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 http://bugs.opensuse.org/
#
Name: mmc-utils
Version: 20140812
Release: 0
Summary: Tools for MMC/SD devices
License: GPL-2.0
Group: Hardware/Other
Url: http://git.kernel.org/cgit/linux/kernel/git/cjb/mmc-utils.git/
Source0: %{name}-%{version}.tar.xz
Source1: https://www.gnu.org/licenses/gpl-2.0.txt
BuildRequires: gcc
BuildRequires: xz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Userspace tools for controlling and querying MMC/SD storage devices
%prep
%setup -q
cp %{SOURCE1} LICENSE.GPL-2.0
%build
make %{?_smp_mflags}
%install
make install prefix=%{_prefix} DESTDIR=%{buildroot} %{?_smp_mflags}
%files
%defattr(-,root,root)
%{_bindir}/mmc
%doc LICENSE.GPL-2.0
%changelog