-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathopentestpoint-labtools.spec.in
More file actions
54 lines (41 loc) · 967 Bytes
/
opentestpoint-labtools.spec.in
File metadata and controls
54 lines (41 loc) · 967 Bytes
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
47
48
49
50
51
52
53
54
%define source_date_epoch_from_changelog 0
Summary: OpenTestPoint labtools
Name: opentestpoint-labtools
Version: @VERSION@
Release: 1%{?dist}
License: BSD
Group: Development/Libraries
URL: https://github.com/adjacentlink/opentestpoint-labtools
Source0: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
Vendor: Adjacent Link LLC
BuildArch: noarch
Requires: python3
BuildRequires: python3-devel
Requires: python3-opentestpoint python3-matplotlib python3-numpy python3-pandas python3-zmq
%description
OpenTestPoint labtools
%prep
%setup -q
%build
%configure
make
%install
make DESTDIR=${RPM_BUILD_ROOT} install
%py3_shebang_fix %{buildroot}%{_bindir}/*
%clean
rm -rf $RPM_BUILD_ROOT
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%files
%defattr(-,root,root,-)
%{python3_sitelib}/*
%{_bindir}/otestpoint-labtools-playback
%{_bindir}/otestpoint-labtools-mtabletool
%doc AUTHORS
%doc COPYING
%doc NEWS
%doc README
%doc INSTALL