Accepting request 358845 from home:morbidrsa
I want to maintain nvme-cli in Factory and would like to use Base:System as the devel project OBS-URL: https://build.opensuse.org/request/show/358845 OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=1
This commit is contained in:
commit
9a972e6b6d
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
3
nvme-cli-v0.3.tar.gz
Normal file
3
nvme-cli-v0.3.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:c631e90dd4d411cdb618b26bc36b06706e6f1f2d3db38874bcfe48f4bc15aac4
|
||||||
|
size 115796
|
5
nvme-cli.changes
Normal file
5
nvme-cli.changes
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 11 09:23:55 UTC 2016 - jthumshirn@suse.com
|
||||||
|
|
||||||
|
- Initial packaging for openSUSE
|
||||||
|
|
52
nvme-cli.spec
Normal file
52
nvme-cli.spec
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
#
|
||||||
|
# spec file for package nvme
|
||||||
|
#
|
||||||
|
# Copyright (c) 2016 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: nvme-cli
|
||||||
|
Version: 0.3
|
||||||
|
Release: 0
|
||||||
|
Summary: Core nvme tools
|
||||||
|
License: GPL-2.0
|
||||||
|
Group: Hardware/Other
|
||||||
|
Url: https://github.com/linux-nvme/nvme-cli
|
||||||
|
Source: %{name}-v%{version}.tar.gz
|
||||||
|
BuildRequires: libudev-devel
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
|
%description
|
||||||
|
NVMe is a fast, scalable, direct attached storage interface. The nvme
|
||||||
|
cli rpm installs core management tools with minimal dependencies.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n %{name}-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
make CFLAGS="$RPM_OPT_FLAGS" PREFIX=%{_prefix} %{?_smp_mflags}
|
||||||
|
|
||||||
|
%install
|
||||||
|
make PREFIX=%{_prefix} DESTDIR=%{buildroot} install-bin install-man %{?_smp_mflags}
|
||||||
|
install -m 644 -D completions/bash-nvme-completion.sh $RPM_BUILD_ROOT/etc/bash_completion.d/nvme
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc README.md LICENSE
|
||||||
|
%{_sbindir}/nvme
|
||||||
|
%{_mandir}/man1/nvme*.1*
|
||||||
|
%dir /etc/bash_completion.d/
|
||||||
|
/etc/bash_completion.d/nvme
|
||||||
|
|
||||||
|
%changelog
|
Loading…
Reference in New Issue
Block a user