setserial/setserial.spec

60 lines
1.3 KiB
RPMSpec
Raw Normal View History

2019-09-30 11:16:58 -04:00
%define _bindir /bin
Name: setserial
Version: 2.17
2019-11-06 19:52:21 +08:00
Release: 49
2019-09-30 11:16:58 -04:00
Summary: A utility for configuring serial ports
2019-11-06 19:52:21 +08:00
License: GPL+
2019-09-30 11:16:58 -04:00
URL: https://setserial.sourceforge.net
Source0: https://sourceforge.net/projects/setserial/files/setserial/%{version}/%{name}-%{version}.tar.gz
Patch0: setserial-2.17-fhs.patch
Patch1: setserial-2.17-rc.patch
Patch2: setserial-2.17-readme.patch
Patch3: setserial-2.17-spelling.patch
Patch4: setserial-hayesesp.patch
Patch5: setserial-aarch64.patch
BuildRequires: gcc groff git
%description
setserial is a program designed to set and/or report the
configuration information associated with a serial port.
%package_help
%prep
%autosetup -n %{name}-%{version} -p1 -S git
%build
%set_build_flags
CFLAGS="$CFLAGS $LDFLAGS"
%configure
%make_build
%install
install -d %{buildroot}/%{_bindir}
install -d %{buildroot}/%{_mandir}/man8
%make_install
%files
%defattr(-,root,root)
%doc rc.serial
%{_bindir}/setserial
%files help
%defattr(-,root,root)
%doc README
%{_mandir}/man*/*.gz
%changelog
2019-11-06 19:52:21 +08:00
* Mon Oct 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.17-49
- Type:enhancement
- Id:NA
- SUG:NA
- DESC:remove comments in spec
2019-09-30 11:16:58 -04:00
* Fri Sep 06 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.17-48
- Package init