Make RPM package

This commit is contained in:
2021-04-10 03:49:29 +00:00
parent d38a5df36f
commit 5b1bdefacd
2 changed files with 54 additions and 1 deletions

32
packaging/rpm/lume.spec Normal file
View File

@ -0,0 +1,32 @@
Name: lume
Version: __VERSION__
Release: 1%{?dist}
Summary: A CLI tool for the LIFX HTTP API
License: MPL
URL: https://git.kill0.net/chill9/lume
Source: %{name}-%{version}.tar.xz
%global debug_package %{nil}
%description
%prep
%setup
%build
%make_build
%install
%make_install DESTDIR=%{buildroot}
%files
%{_bindir}/lume
%license LICENSE
/usr/share/lume/lumerc
%changelog
* __DATE__ Ryan Cavicchioni <ryan@cavi.cc>
- lume __VERSION__