Blob Blame History Raw
%global realname grabserial

Name: python-grabserial
Version: 1.8.1
Release: 2%{?dist}
Summary: Reads a serial port and writes data to standard output

License: GPLv2
URL: http://elinux.org/Grabserial
Source0: https://github.com/tbird20d/grabserial/releases/download/v%{version}/%{realname}-%{version}.tar.gz

BuildArch: noarch
BuildRequires: python-setuptools
BuildRequires: python2-devel
Requires: pyserial

%description
Grabserial reads a serial port and writes the data to standard output.The main
purpose of this tool is to collect messages written to the serial console from
a target board running Linux, and save the messages on a host machine.

%prep
%setup -qn %{realname}-%{version}

%build
%{__python2} setup.py build

%install
%{__python2} setup.py install -O1 --skip-build --root %{buildroot}

%files
%doc README
%license LICENSE
%{_bindir}/grabserial
%{python2_sitelib}/*.egg-info

%changelog
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild

* Fri Apr 24 2015 Sinny Kumari <ksinny@gmail.com> - 1.8.1-1
- Packaging 1.8.1 version

* Sun Apr 12 2015 Sinny Kumari <ksinny@gmail.com> - 1.7.1-2
- Correcting License to GPLv2+
- Cosmetic change in file section

* Sun Mar 15 2015 Sinny Kumari <ksinny@gmail.com> - 1.7.1-1
- Initial Fedora packaging of grabserial