-
Notifications
You must be signed in to change notification settings - Fork 0
/
python-grabserial.spec
46 lines (35 loc) · 1.19 KB
/
python-grabserial.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
%global realname grabserial
Name: python-grabserial
Version: 1.8.1
Release: 1%{?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
* 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