diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6981171 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/liquidctl-1.1.0.tar.gz diff --git a/liquidctl.spec b/liquidctl.spec new file mode 100644 index 0000000..0a3154a --- /dev/null +++ b/liquidctl.spec @@ -0,0 +1,70 @@ +Name: liquidctl +Version: 1.1.0 +Release: 2%{?dist} +Summary: Tool for controlling NZXT liquid coolers, case fans and RGB LED strips +License: GPLv3+ + +URL: https://github.com/jonasmalacofilho/liquidctl +Source0: %{URL}/archive/%{version}/%{name}-%{version}.tar.gz + +BuildArch: noarch +BuildRequires: python3-devel + +%{?python_enable_dependency_generator} + +# Require the python libs in the main package +Requires: python3-%{name} + +%description +liquidctl is a tool for controlling various settings of NZXT devices, such as: +- liquid cooler pump speed +- case fan speed +- RGB LED strip colors + +Currently supported devices are: +- NZXT Grid+ V3 +- NZXT Kraken M22 +- NZXT Kraken X (X42, X52, X62 or X72) +- NZXT Smart Device + + +%package -n python3-%{name} +BuildArch: noarch +Summary: Module for controlling NZXT liquid coolers, case fans, RGB LED devices + +%description -n python3-%{name} +A python module providing classes for communicating with various cooling devices +and RGB LED solutions from the hardware manufacturer NZXT. + + +%prep +%setup -q + + +%build +%py3_build + + +%install +%py3_install + + +%files +%doc CHANGELOG.md README.md +%doc docs/ +%{_bindir}/%{name} + +%files -n python3-%{name} +%license LICENSE.txt +%{python3_sitelib}/%{name}/ +%{python3_sitelib}/%{name}-*.egg-info/ + + +%changelog +* Sat Jan 05 2019 Artur Iwicki - 1.1.0-2 +- Mark the package as noarch +- Split off the python libs into a python3-liquidctl subpackage +- Fix typos in summary and description + +* Fri Dec 28 2018 Artur Iwicki - 1.1.0-1 +- Initial packaging diff --git a/sources b/sources new file mode 100644 index 0000000..8a40ee5 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (liquidctl-1.1.0.tar.gz) = ea09d2bd53d130098b8ded57629dc44769cca2383a866f347c7237a21d8e2d3e6c501859fe57951eefd4f0161e2cb83c58582ba29b5d3b6dc3ef77585002866e