-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathathinfo.spec
47 lines (37 loc) · 1.18 KB
/
athinfo.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
%define name athinfo
%define version 10.3
%define unmangled_version 10.3
%define release 2
Name: %{name}
Version: %{version}
Release: %{release}
License: MIT
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
Prefix: %{_prefix}
BuildArch: noarch
Vendor: Evan Broder <UNKNOWN>
URL: https://github.com/mit-athena/athinfo
Source0: https://github.com/dm-vdo/athinfo/archive/refs/heads/main.tar.gz
Summary: Retrieve information about Athena workstations
BuildRequires: python3
BuildRequires: python3-setuptools
Requires: python3
%description
Athinfo is a client for retreiving information from remote hosts without
either requiring authentication from the client end OR creating security
holes on the remote host.
%prep
%setup -n %{name}-main
%build
python3 setup.py build
%install
python3 setup.py install -O1 --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES
%clean
rm -rf $RPM_BUILD_ROOT
%files -f INSTALLED_FILES
%defattr(-,root,root)
%changelog
* Mon Jan 13 2025 Chung Chung <[email protected]> - 10.3-2
- Add "BuildRequires python3-setuptools" for more modern python3 versions
* Thu Dec 09 2021 Andy Walsh <[email protected]> - 10.3-1
- Initial build