setserial/setserial.spec

49 lines
1.3 KiB
RPMSpec

Name: setserial
Version: 2.17
Release: 3mamba
Summary: Set and/or report the configuration information associated with a serial port
Group: System/Hardware
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@qinet.it>
URL: http://sourceforge.net/projects/setserial/
Source: http://downloads.sourceforge.net/sourceforge/setserial/setserial-%{version}.tar.gz
Patch: setserial-2.17-makeinstall.patch
Patch1: setserial-2.17-kernel-2.6.33.patch
License: GPL
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Setserial is a program designed to set and/or report the configuration information associated with a serial port.
%prep
%setup -q
%patch -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)
/bin/setserial
%{_mandir}/man8/*
%changelog
* 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