Created
June 4, 2018 16:17
-
-
Save cathay4t/e942de091d5c40d7c9d97a9e8a89432f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Name: peripety | |
Version: 0.1 | |
Release: 1%{?dist} | |
Summary: Storage event notification daemon | |
Group: System Environment/Daemons | |
License: MIT | |
URL: https://github.com/cathay4t/peripety | |
Source0: https://github.com/cathay4t/peripety/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz | |
ExclusiveArch: %{rust_arches} | |
BuildRequires: rust-packaging | |
BuildRequires: systemd-devel | |
#BuildRequires: crate(nix) >= 0.10.0 | |
#BuildRequires: crate(regex) >= 0.2.10 | |
#BuildRequires: crate(serde) >= 1.0.0 | |
#BuildRequires: crate(serde_derive) >= 1.0.0 | |
#BuildRequires: crate(serde_json) >= 1.0.0 | |
#BuildRequires: crate(toml) >= 0.4.2 | |
#BuildRequires: crate(chan-signal) >= 0.3.1 | |
#BuildRequires: crate(chrono) >= 0.4.0 | |
#BuildRequires: crate(libc) >= 0.2 | |
#BuildRequires: crate(clap) >= 2.31.2 | |
%description | |
Peripety is designed to parse system storage logging into structured storage | |
event helping user investigate storage issues. | |
%prep | |
%setup -q | |
%cargo_prep | |
%build | |
%cargo_build | |
%install | |
%make_install | |
%files | |
%doc | |
%{_bindir}/prpt | |
%{_bindir}/peripetyd | |
%{_mandir}/man1/prpt.1 | |
%{_sysconfdir}/peripetyd.conf | |
%changelog | |
* Tue May 22 2018 Gris Ge <fge@redhat.com> - 0.1-1 | |
- Initial release. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment