2024-01-05 17:45:13 +01:00
|
|
|
Name: setserial
|
|
|
|
Version: 2.17
|
2024-01-05 17:45:15 +01:00
|
|
|
Release: 4mamba
|
2024-01-05 17:45:13 +01:00
|
|
|
Summary: Set and/or report the configuration information associated with a serial port
|
2024-01-05 17:45:15 +01:00
|
|
|
Group: System/Kernel and Hardware
|
2024-01-05 17:45:13 +01:00
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-05 17:45:15 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://sourceforge.net/projects/setserial/
|
2024-01-05 17:45:13 +01:00
|
|
|
Source: http://downloads.sourceforge.net/sourceforge/setserial/setserial-%{version}.tar.gz
|
2024-01-05 17:45:15 +01:00
|
|
|
Patch0: setserial-2.17-makeinstall.patch
|
2024-01-05 17:45:13 +01:00
|
|
|
Patch1: setserial-2.17-kernel-2.6.33.patch
|
|
|
|
License: GPL
|
2024-01-05 17:45:15 +01:00
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-05 17:45:13 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
Setserial is a program designed to set and/or report the configuration information associated with a serial port.
|
|
|
|
|
2024-01-05 17:45:15 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-05 17:45:13 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-01-05 17:45:15 +01:00
|
|
|
%patch0 -p1
|
2024-01-05 17:45:13 +01:00
|
|
|
%patch1 -p0
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
|
|
|
%make CC=%{_host}-gcc DEFS="-DHAVE_ASM_IOCTLS_H=1"
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2024-01-05 17:45:15 +01:00
|
|
|
%{_bindir}/setserial
|
2024-01-05 17:45:13 +01:00
|
|
|
%{_mandir}/man8/*
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 17:45:15 +01:00
|
|
|
* Thu May 20 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.17-4mamba
|
|
|
|
- rebuilt with debug package and specfile fixes
|
|
|
|
|
2024-01-05 17:45:13 +01:00
|
|
|
* Mon Dec 29 2014 Automatic Build System <autodist@mambasoft.it> 2.17-3mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
2024-01-05 17:45:13 +01:00
|
|
|
* Mon May 21 2007 Aleph0 <aleph0@openmamba.org> 2.17-2mamba
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Thu Aug 07 2003 Silvan Calarco <silvan.calarco@qinet.it> 2.17-1qilnx
|
|
|
|
- First build of setserial
|