setserial/setserial.spec

56 lines
1.5 KiB
RPMSpec
Raw Permalink Normal View History

Name: setserial
Version: 2.17
Release: 4mamba
Summary: Set and/or report the configuration information associated with a serial port
Group: System/Kernel and Hardware
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://sourceforge.net/projects/setserial/
Source: http://downloads.sourceforge.net/sourceforge/setserial/setserial-%{version}.tar.gz
Patch0: setserial-2.17-makeinstall.patch
Patch1: setserial-2.17-kernel-2.6.33.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
%description
Setserial is a program designed to set and/or report the configuration information associated with a serial port.
%debug_package
%prep
%setup -q
%patch0 -p1
%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)
%{_bindir}/setserial
%{_mandir}/man8/*
%changelog
* Thu May 20 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.17-4mamba
- rebuilt with debug package and specfile fixes
* Mon Dec 29 2014 Automatic Build System <autodist@mambasoft.it> 2.17-3mamba
- automatic rebuild by autodist
* 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