-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrockit-mount-talon.spec
67 lines (53 loc) · 1.7 KB
/
rockit-mount-talon.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
Name: rockit-mount-talon
Version: %{_version}
Release: 1
Summary: Talon mount control
Url: https://github.com/rockit-astro/mountd-talon
License: GPL-3.0
BuildArch: noarch
%description
%build
mkdir -p %{buildroot}%{_bindir}
mkdir -p %{buildroot}%{_unitdir}
mkdir -p %{buildroot}/etc/bash_completion.d
mkdir -p %{buildroot}%{_sysconfdir}/mountd/
%{__install} %{_sourcedir}/tel %{buildroot}%{_bindir}
%{__install} %{_sourcedir}/talon_mountd %{buildroot}%{_bindir}
%{__install} %{_sourcedir}/talon_mountd@.service %{buildroot}%{_unitdir}
%{__install} %{_sourcedir}/completion/tel %{buildroot}/etc/bash_completion.d/tel
%{__install} %{_sourcedir}/onemetre.json %{buildroot}%{_sysconfdir}/mountd/
%{__install} %{_sourcedir}/ngts_m06.json %{buildroot}%{_sysconfdir}/mountd/
%package server
Summary: Talon mount server
Group: Unspecified
Requires: python3-rockit-mount-talon python3-astropy python3-sysv_ipc rockit-talon
%description server
%files server
%defattr(0755,root,root,-)
%{_bindir}/talon_mountd
%defattr(0644,root,root,-)
%{_unitdir}/talon_mountd@.service
%package client
Summary: Talon mount client
Group: Unspecified
Requires: python3-rockit-mount-talon python3-astropy
%description client
%files client
%defattr(0755,root,root,-)
%{_bindir}/tel
/etc/bash_completion.d/tel
%package data-onemetre
Summary: Talon mount configuration for the W1m telescope
Group: Unspecified
%description data-onemetre
%files data-onemetre
%defattr(0644,root,root,-)
%{_sysconfdir}/mountd/onemetre.json
%package data-ngts-m06
Summary: Talon mount configuration for NGTS M06
Group: Unspecified
%description data-ngts-m06
%files data-ngts-m06
%defattr(0644,root,root,-)
%{_sysconfdir}/mountd/ngts_m06.json
%changelog