Skip to content

Commit 5b00c18

Browse files
committed
Working rpm spec
1 parent 3519a75 commit 5b00c18

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

rpm/pyserial.spec

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
Name: mb_pyserial
2+
Version: $pyserial
3+
Release: 1%{?dist}
4+
Summary: Modified pyserial for MakerBot Conveyor
5+
6+
License: BSD
7+
URL: https://github.com/makerbot/pyserial
8+
Source: pyserial-%{version}.tar.gz
9+
10+
BuildRequires: python >= 2.7
11+
Requires: python >= 2.7
12+
13+
%description
14+
Includes new logic for autodetecting usb serial devices.
15+
16+
%prep
17+
%setup -q -n pyserial
18+
19+
20+
%build
21+
scons --install-prefix=%{buildroot}/%{_prefix}
22+
23+
%install
24+
rm -rf %{buildroot}
25+
scons --install-prefix=%{buildroot}/%{_prefix} install
26+
27+
28+
%files
29+
%{_datarootdir}/makerbot/python/*
30+
31+
32+
%changelog

0 commit comments

Comments
 (0)