Blame nvme-cli.spec

Andy Lutomirski 3b78aa
#%%global commit0 bdbb4da0979fbdc079cf98410cdb31cf799e83b3
Andy Lutomirski 3b78aa
#%%global shortcommit0 %%(c=%%{commit0}; echo ${c:0:7})
Andy Lutomirski ec8e84
Andy Lutomirski ec8e84
Name:           nvme-cli
Andy Lutomirski 3b78aa
Version:        1.7
Andy Lutomirski 3b78aa
Release:        1%{?dist}
Andy Lutomirski ec8e84
Summary:        NVMe management command line interface
Andy Lutomirski ec8e84
Andy Lutomirski ec8e84
License:        GPLv2+
Andy Lutomirski ec8e84
URL:            https://github.com/linux-nvme/nvme-cli
Andy Lutomirski 3b78aa
#Source0:        https://github.com/linux-nvme/%%{name}/archive/%%{commit0}.tar.gz
Andy Lutomirski e4e76e
Source0:        https://github.com/linux-nvme/%{name}/archive/v%{version}.tar.gz
Andy Lutomirski ec8e84
Andy Lutomirski 3b78aa
BuildRequires:  libuuid-devel
Andy Lutomirski 3b78aa
BuildRequires:  gcc
Andy Lutomirski 6e21ba
Andy Lutomirski ec8e84
%description
Andy Lutomirski ec8e84
nvme-cli provides NVM-Express user space tooling for Linux.
Andy Lutomirski ec8e84
Andy Lutomirski ec8e84
%prep
Andy Lutomirski 3b78aa
#%%setup -qn %%{name}-%%{commit0}
Andy Lutomirski 3b78aa
%setup -q
Andy Lutomirski ec8e84
Andy Lutomirski ec8e84
Andy Lutomirski ec8e84
%build
Andy Lutomirski 3b78aa
Andy Lutomirski 3b78aa
# NB: the -I. part works around a bug fixed up stream by commit 254bcd6b2343
Andy Lutomirski 3b78aa
# ("Fix CFLAGS parameter").  Rather than patching the fix in, I just added
Andy Lutomirski 3b78aa
# an extra -I.  In the next release, we should be able to drop this hack.
Andy Lutomirski 3b78aa
make PREFIX=/usr CFLAGS="%{optflags} -I." LDFLAGS="%{__global_ldflags}" %{?_smp_mflags}
Andy Lutomirski ec8e84
Andy Lutomirski ec8e84
Andy Lutomirski ec8e84
%install
Andy Lutomirski ec8e84
%make_install PREFIX=/usr
Andy Lutomirski ec8e84
Andy Lutomirski ec8e84
Andy Lutomirski ec8e84
%files
Andy Lutomirski ec8e84
%license LICENSE
Andy Lutomirski ec8e84
%doc README.md
Andy Lutomirski ec8e84
%{_sbindir}/nvme
Andy Lutomirski ec8e84
%{_mandir}/man1/nvme*.gz
Andy Lutomirski 3b78aa
%{_datadir}/bash-completion/completions/nvme
Andy Lutomirski 12288a
%{_datadir}/zsh/site-functions/_nvme
Andy Lutomirski ec8e84
Andy Lutomirski ec8e84
Andy Lutomirski ec8e84
%changelog
Andy Lutomirski 3b78aa
* Sun Feb 24 2019 luto@kernel.org - 1.7-1
Andy Lutomirski 3b78aa
- Bump to 1.7
Andy Lutomirski 3b78aa
- Clean up some trivial rpmlint complaints
Andy Lutomirski 3b78aa
Fedora Release Engineering 637080
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-2
Fedora Release Engineering 637080
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Fedora Release Engineering 637080
Andy Lutomirski 63300e
* Tue Jul 24 2018 luto@kernel.org - 1.6-1
Andy Lutomirski 63300e
- Update to 1.6
Andy Lutomirski 63300e
Fedora Release Engineering 89efd4
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-5
Fedora Release Engineering 89efd4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Fedora Release Engineering 89efd4
Fedora Release Engineering 2b235a
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-4
Fedora Release Engineering 2b235a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Fedora Release Engineering 2b235a
Andy Lutomirski 2ebfdd
* Wed Nov 22 2017 luto@kernel.org - 1.4-1
Andy Lutomirski 2ebfdd
- Update to 1.4
Andy Lutomirski 2ebfdd
Fedora Release Engineering ea3c20
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-3
Fedora Release Engineering ea3c20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
Fedora Release Engineering ea3c20
Fedora Release Engineering ace430
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-2
Fedora Release Engineering ace430
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
Fedora Release Engineering ace430
Andy Lutomirski a25eb8
* Mon May 22 2017 luto@kernel.org - 1.3-1
Andy Lutomirski a25eb8
- Update to 1.3
Andy Lutomirski a25eb8
Andy Lutomirski a25eb8
* Wed Apr 19 2017 luto@kernel.org - 1.2-2
Andy Lutomirski 6e21ba
- Update to 1.2
Andy Lutomirski a25eb8
- 1.2-1 never existed
Andy Lutomirski 6e21ba
Fedora Release Engineering 12e105
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-2
Fedora Release Engineering 12e105
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
Fedora Release Engineering 12e105
Andy Lutomirski 903be2
* Wed Feb 01 2017 luto@kernel.org - 1.1-1
Andy Lutomirski 903be2
- Update to 1.1
Andy Lutomirski 903be2
Andy Lutomirski de28c0
* Sun Nov 20 2016 luto@kernel.org - 1.0-1
Andy Lutomirski de28c0
- Update to 1.0
Andy Lutomirski de28c0
Andy Lutomirski 0ff168
* Mon Oct 31 2016 luto@kernel.org - 0.9-1
Andy Lutomirski 0ff168
- Update to 0.9
Andy Lutomirski 0ff168
Andy Lutomirski 1fd710
* Thu Jun 30 2016 luto@kernel.org - 0.8-1
Andy Lutomirski 1fd710
- Update to 0.8
Andy Lutomirski 1fd710
Andy Lutomirski 8e1c0d
* Tue May 31 2016 luto@kernel.org - 0.7-1
Andy Lutomirski 8e1c0d
- Update to 0.7
Andy Lutomirski 8e1c0d
Andy Lutomirski 93dcb8
* Fri Mar 18 2016 luto@kernel.org - 0.5-1
Andy Lutomirski 93dcb8
- Update to 0.5
Andy Lutomirski 93dcb8
Andy Lutomirski e4e76e
* Sun Mar 06 2016 luto@kernel.org - 0.4-1
Andy Lutomirski e4e76e
- Update to 0.4
Andy Lutomirski e4e76e
Fedora Release Engineering b44adf
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.2-3.20160112gitbdbb4da
Fedora Release Engineering b44adf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
Fedora Release Engineering b44adf
Andy Lutomirski ec8e84
* Wed Jan 20 2016 luto@kernel.org - 0.2-2.20160112gitbdbb4da
Andy Lutomirski ec8e84
- Update to new upstream commit, fixing #49.  "nvme list" now works.
Andy Lutomirski ec8e84
Andy Lutomirski ec8e84
* Wed Jan 13 2016 luto@kernel.org - 0.2-1.20160112gitde3e0f1
Andy Lutomirski ec8e84
- Initial import.