## START: Set by rpmautospec ## (rpmautospec version 0.2.6) %define autorelease(e:s:pb:) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{?dist} ## END: Set by rpmautospec Name: zcfan Version: 1.2.1 Release: %autorelease Summary: Zero-configuration fan daemon for ThinkPads License: MIT URL: https://github.com/cdown/zcfan Source: %{url}/archive/%{version}/%{name}-%{version}.tar.gz BuildRequires: gcc BuildRequires: make BuildRequires: systemd-rpm-macros ExclusiveArch: x86_64 %description zcfan is a zero-configuration fan control daemon for ThinkPads. %prep %autosetup %build %set_build_flags %make_build %install %make_install DESTDIR=%{buildroot} prefix=%{_prefix} %post %systemd_post %{name}.service %preun %systemd_preun %{name}.service %postun %systemd_postun_with_restart %{name}.service %files %license LICENSE %doc README.md %{_bindir}/%{name} %{_mandir}/man1/%{name}.1* %{_unitdir}/%{name}.service %changelog * Sat Aug 13 2022 Michel Alexandre Salim 1.2.1-1 - Update to 1.2.1 * Thu Aug 04 2022 Michel Alexandre Salim 1.2.0-1 - Update to 1.2.0 * Sat Jul 23 2022 Fedora Release Engineering 1.1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sat Jul 09 2022 Davide Cavalca 1.1.1-1 - Update to 1.1.1 * Wed Apr 06 2022 Davide Cavalca 1.1.0-1 - Initial import; Fixes: RHBZ#2072634