6c20141
%global realname grabserial
6c20141
6c20141
Name: python-grabserial
Sinny Kumari 03a3dea
Version: 1.9.3
184f9ad
Release: 4%{?dist}
6c20141
Summary: Reads a serial port and writes data to standard output
6c20141
6c20141
License: GPLv2
6c20141
URL: http://elinux.org/Grabserial
Sinny Kumari 03a3dea
Source0: https://github.com/tbird20d/grabserial/archive/v%{version}.tar.gz
6c20141
6c20141
BuildArch: noarch
184f9ad
BuildRequires: python2-setuptools
6c20141
BuildRequires: python2-devel
6c20141
2414c22
%global _description\
2414c22
Grabserial reads a serial port and writes the data to standard output.The main\
2414c22
purpose of this tool is to collect messages written to the serial console from\
6c20141
a target board running Linux, and save the messages on a host machine.
6c20141
2414c22
%description %_description
2414c22
2414c22
%package -n python2-grabserial
2414c22
Summary: %summary
184f9ad
Requires: python2-pyserial
2414c22
%{?python_provide:%python_provide python2-grabserial}
2414c22
2414c22
%description -n python2-grabserial %_description
2414c22
6c20141
%prep
6c20141
%setup -qn %{realname}-%{version}
6c20141
6c20141
%build
6c20141
%{__python2} setup.py build
6c20141
6c20141
%install
6c20141
%{__python2} setup.py install -O1 --skip-build --root %{buildroot}
6c20141
2414c22
%files -n python2-grabserial
6c20141
%doc README
6c20141
%license LICENSE
6c20141
%{_bindir}/grabserial
6c20141
%{python2_sitelib}/*.egg-info
6c20141
6c20141
%changelog
184f9ad
* Fri Jan 19 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.9.3-4
184f9ad
- Update Python 2 dependency declarations to new packaging standards
184f9ad
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
184f9ad
2414c22
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.9.3-3
2414c22
- Python 2 binary package renamed to python2-grabserial
2414c22
  See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
2414c22
4721efd
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.3-2
4721efd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
4721efd
Sinny Kumari 03a3dea
* Sat Feb 11 2017 Sinny Kumari <sinnykumari@fedoraproject.org> - 1.9.3-1
Sinny Kumari 03a3dea
- Rebase to upstream version 1.9.3
Sinny Kumari 03a3dea
a5c4d08
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.1-4
a5c4d08
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
a5c4d08
8ab681c
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.1-3
8ab681c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
8ab681c
27b795b
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.1-2
27b795b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
27b795b
6c20141
* Fri Apr 24 2015 Sinny Kumari <ksinny@gmail.com> - 1.8.1-1
6c20141
- Packaging 1.8.1 version
6c20141
6c20141
* Sun Apr 12 2015 Sinny Kumari <ksinny@gmail.com> - 1.7.1-2
6c20141
- Correcting License to GPLv2+
6c20141
- Cosmetic change in file section
6c20141
6c20141
* Sun Mar 15 2015 Sinny Kumari <ksinny@gmail.com> - 1.7.1-1
6c20141
- Initial Fedora packaging of grabserial