## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 3; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global forgeurl https://github.com/acerion/cwdaemon Version: 0.12.0 %forgemeta Name: cwdaemon Release: %autorelease Summary: Morse daemon for the parallel or serial port License: GPL-2.0-only URL: http://cwdaemon.sourceforge.net Source0: %{forgesource} Source1: cwdaemon.sysconfig Source2: cwdaemon.service BuildRequires: gcc BuildRequires: perl-generators BuildRequires: unixcw-devel BuildRequires: systemd-rpm-macros BuildRequires: make Requires(post): systemd Requires(preun): systemd Requires(postun): systemd %description cwdaemon is a small daemon which uses the pc parallel or serial port and a simple transistor switch to output morse code to a transmitter from a text message sent to it via udp port 6789. The program also uses the soundcard or PC speaker (console buzzer) to generate a sidetone. %prep %forgeautosetup -p1 %build %configure %make_build %install %make_install mkdir -p %{buildroot}%{_sysconfdir}/sysconfig mkdir -p %{buildroot}%{_unitdir} install -pDm644 %{SOURCE1} %{buildroot}%{_sysconfdir}/sysconfig/cwdaemon install -pDm644 %{SOURCE2} %{buildroot}%{_unitdir}/cwdaemon.service mkdir -p %{buildroot}%{_bindir} mv %{buildroot}%{_sbindir}/%{name} %{buildroot}%{_bindir}/%{name} %check make check %post %systemd_post cwdaemon.service %preun %systemd_preun cwdaemon.service %postun %systemd_postun_with_restart cwdaemon.service %files %doc AUTHORS ChangeLog README TODO %license COPYING %{_bindir}/%{name} %{_unitdir}/cwdaemon.service %config(noreplace) %{_sysconfdir}/sysconfig/cwdaemon %{_mandir}/man8/%{name}.8.gz %{_datadir}/%{name}/ %changelog ## START: Generated by rpmautospec * Wed Jul 17 2024 Fedora Release Engineering - 0.12.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Wed Jan 24 2024 Fedora Release Engineering - 0.10.2-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 0.10.2-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Jul 19 2023 Fedora Release Engineering - 0.10.2-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jan 19 2023 Fedora Release Engineering - 0.10.2-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Wed Jul 20 2022 Fedora Release Engineering - 0.10.2-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 0.10.2-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Jul 21 2021 Fedora Release Engineering - 0.10.2-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek - 0.10.2-12 - Rebuilt for updated systemd-rpm-macros See https://pagure.io/fesco/issue/2583. * Tue Jan 26 2021 Fedora Release Engineering - 0.10.2-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 0.10.2-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jan 28 2020 Fedora Release Engineering - 0.10.2-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Jul 24 2019 Fedora Release Engineering - 0.10.2-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Jan 31 2019 Fedora Release Engineering - 0.10.2-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Thu Jul 12 2018 Fedora Release Engineering - 0.10.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 0.10.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Aug 02 2017 Fedora Release Engineering - 0.10.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 0.10.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 0.10.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Feb 04 2016 Lucian Langa - 0.10.2-1 - update to latest upstream * Wed Feb 03 2016 Fedora Release Engineering - 0.10.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 0.10.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Mon Mar 23 2015 Lucian Langa - 0.10.1-1 - sync with latest upstream * Sat Aug 16 2014 Fedora Release Engineering - 0.9.4-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Mon Jul 28 2014 Peter Robinson 0.9.4-19 - Cleanup spec - fix FTBFS * Sat Jun 07 2014 Fedora Release Engineering - 0.9.4-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 0.9.4-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Feb 13 2013 Fedora Release Engineering - 0.9.4-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Wed Jul 18 2012 Fedora Release Engineering - 0.9.4-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Tue Feb 14 2012 Jon Ciesla - 0.9.4-14 - Migrate to systemd, BZ 771724. * Fri Jan 13 2012 Fedora Release Engineering - 0.9.4-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Feb 08 2011 Fedora Release Engineering - 0.9.4-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Fri Jul 24 2009 Fedora Release Engineering - 0.9.4-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Tue Feb 24 2009 Fedora Release Engineering - 0.9.4-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Wed Sep 03 2008 Lucian Langa - 0.9.4-9 - fix sysvinit script * Wed Aug 20 2008 Lucian Langa - 0.9.4-8 - added postun scriptlet * Sun Aug 10 2008 Lucian Langa - 0.9.4-7 - Add sysinit script and default configuration file - Misc cleanups * Mon Feb 18 2008 Robert 'Bob' Jensen 0.9.4-6 - fix manpage macro - remove -devel package section and files including test.c * Mon Feb 18 2008 Robert 'Bob' Jensen 0.9.4-5 - remove symlink from files section * Mon Feb 18 2008 Robert 'Bob' Jensen 0.9.4-4 - Fix a few things from initial review - Use sbin macro - add simlink for second README location * Sat Feb 16 2008 Robert 'Bob' Jensen 0.9.4-3 - Submit for review * Mon Nov 19 2007 Sindre Pedersen Bjørdal 0.9.4-2 - Update License tag - Add missing doc files - Don't package README twice - Fix permissions for scripts * Sun Apr 29 2007 Robert 'Bob' Jensen 0.9.4-0 - Initial spec file ## END: Generated by rpmautospec