## 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 Version: 4.6.2 %global forgeurl https://github.com/cminyard/ser2net %forgemeta Name: ser2net Release: %autorelease Summary: Proxy that allows TCP/UDP to serial port connections License: GPL-2.0-only URL: %{forgeurl} Source0: %{forgesource} Source1: %{name}.sysusers BuildRequires: gcc-c++ BuildRequires: libtool BuildRequires: make BuildRequires: pkgconfig(libgensio) BuildRequires: pkgconfig(libgensioosh) BuildRequires: pkgconfig(libgensiomdns) # EL9 does not provide pkgconfig(pam) yet %if 0%{?el9} BuildRequires: pam-devel %else BuildRequires: pkgconfig(pam) %endif BuildRequires: pkgconfig(yaml-0.1) BuildRequires: systemd-rpm-macros %{?sysusers_requires_compat} %description ser2net provides a way for a user to connect from a network connection to a serial port. It provides all the serial port setup, a configuration file to configure the ports, a control login for modifying port parameters, monitoring ports, and controlling ports. %prep %forgeautosetup %build autoreconf -f -i %configure %make_build %install %make_install install -Dpm0644 %{name}.yaml %{buildroot}%{_sysconfdir}/%{name}/%{name}.yaml install -Dpm0644 %{name}.service %{buildroot}%{_unitdir}/%{name}.service install -Dpm0644 %{SOURCE1} %{buildroot}%{_sysusersdir}/%{name}.conf %pre %sysusers_create_compat %{SOURCE1} %post %systemd_post %{name}.service %preun %systemd_preun %{name}.service %postun %systemd_postun_with_restart %{name}.service %files %license COPYING %doc AUTHORS README.rst %dir %{_sysconfdir}/%{name} %config(noreplace) %{_sysconfdir}/%{name}/%{name}.yaml %{_unitdir}/%{name}.service %{_sbindir}/%{name} %{_sysusersdir}/%{name}.conf %{_mandir}/man5/%{name}.yaml.5.gz %{_mandir}/man8/%{name}.8.gz %changelog ## START: Generated by rpmautospec * Thu Sep 12 2024 Felix Kaechele - 4.6.2-3 - rebuild for gensio 2.8.9 * Sat Jul 20 2024 Fedora Release Engineering - 4.6.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri May 31 2024 Felix Kaechele - 4.6.2-1 - update to 4.6.2 - fixes rhbz#2284006 * Sat Mar 02 2024 Felix Kaechele - 4.6.1-1 - update to 4.6.1 * Sat Jan 27 2024 Fedora Release Engineering - 4.6.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Dec 01 2023 Felix Kaechele - 4.6.0-1 - update to 4.6.0 * Tue Nov 21 2023 Tom Callaway - 4.5.1-1 - 4.5.1 * Mon Aug 28 2023 Felix Kaechele - 4.5.0-1 - update to 4.5.0 * Tue Aug 08 2023 Felix Kaechele - 4.4.0-2 - rebuild for gensio 2.7.0 * Thu Aug 03 2023 Felix Kaechele - 4.4.0-1 - update to 4.4.0 * Tue Jul 25 2023 Felix Kaechele - 4.3.13-5 - Add sysuser for ser2net * Sat Jul 22 2023 Fedora Release Engineering - 4.3.13-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jul 11 2023 Felix Kaechele - 4.3.13-3 - Make EL9 conditional optional * Tue Jul 11 2023 Felix Kaechele - Add pam-devel BuildRequires for EL9 * Mon Jul 10 2023 Felix Kaechele - 4.3.13-1 - Update to 4.3.13 - use upstream systemd unit file * Sun Jul 02 2023 Felix Kaechele - 4.3.12-1 - update to 4.3.12 - use forge macros - use rpmautospec for changelogs - drop SysV init conversion scriptlets - update systemd unit - drop unneeded patches - format spec file * Sat Jan 21 2023 Fedora Release Engineering - 3.5-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Jul 23 2022 Fedora Release Engineering - 3.5-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sat Jan 22 2022 Fedora Release Engineering - 3.5-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 3.5-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek - 3.5-9 - Rebuilt for updated systemd-rpm-macros See https://pagure.io/fesco/issue/2583. * Wed Jan 27 2021 Fedora Release Engineering - 3.5-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 3.5-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu Jan 30 2020 Fedora Release Engineering - 3.5-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 3.5-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 02 2019 Fedora Release Engineering - 3.5-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Jul 14 2018 Fedora Release Engineering - 3.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Feb 09 2018 Fedora Release Engineering - 3.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jan 18 2018 Tom Callaway - 3.5-1 - update to 3.5 * Thu Aug 03 2017 Fedora Release Engineering - 2.9.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 2.9.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 2.9.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Feb 04 2016 Fedora Release Engineering - 2.9.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Fri Jun 19 2015 Fedora Release Engineering - 2.9.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Thu Aug 21 2014 Kevin Fenzi - 2.9.1-4 - Rebuild for rpm bug 1131960 * Mon Aug 18 2014 Fedora Release Engineering - 2.9.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sun Jun 08 2014 Fedora Release Engineering - 2.9.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Thu Aug 8 2013 Tom Callaway - 2.9.1-1 - update to 2.9.1 * Sun Aug 04 2013 Fedora Release Engineering - 2.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Fri Mar 1 2013 Tom Callaway - 2.8-1 - update to 2.8 final * Thu Feb 14 2013 Fedora Release Engineering - 2.8-0.4.rc2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Thu Aug 23 2012 Tom Callaway - 2.8-0.3.rc2 - update scriptlets for new systemd macros * Sat Jul 21 2012 Fedora Release Engineering - 2.8-0.2.rc2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Tue Jun 26 2012 Tom Callaway - 2.8-0.1.rc2 - 2.8-rc2 * Sat Jan 14 2012 Fedora Release Engineering - 2.7-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Fri May 06 2011 Tom Callaway - 2.7-4 - fixed scriptlets * Wed Feb 09 2011 Tom Callaway - 2.7-3 - systemd enablement - rawhide spec cleanup * Wed Feb 09 2011 Fedora Release Engineering - 2.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Thu Nov 5 2009 Tom "spot" Callaway - 2.7-1 - Update to 2.7 * Sun Jul 26 2009 Fedora Release Engineering - 2.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Wed Jul 22 2009 Tom "spot" Callaway - 2.6-1 - update to 2.6 * Wed Feb 25 2009 Fedora Release Engineering - 2.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Mon Aug 25 2008 Tom "spot" Callaway - 2.5-1 - update to 2.5 - fix initscript to not be on by default - add try-restart * Tue Feb 19 2008 Fedora Release Engineering - 2.4-2.1 - Autorebuild for GCC 4.3 * Mon Aug 27 2007 Tom "spot" Callaway 2.4-2 - rebuild for BuildID * Thu Aug 2 2007 Tom "spot" Callaway 2.4-1 - bump to 2.4 * Wed Oct 18 2006 Tom "spot" Callaway 2.3-3 - fix typo * Wed Oct 4 2006 Tom "spot" Callaway 2.3-2 - fix initscript handling * Fri Jul 28 2006 Tom "spot" Callaway 2.3-1 - Initial package for Fedora Extras ## END: Generated by rpmautospec