-
Notifications
You must be signed in to change notification settings - Fork 17
/
sasutils.spec
126 lines (96 loc) · 3.58 KB
/
sasutils.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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
Name: sasutils
Version: 0.6.1
Release: 1%{?dist}
Summary: Serial Attached SCSI (SAS) utilities
License: ASL 2.0
URL: https://github.com/stanford-rc/sasutils
Source0: https://github.com/stanford-rc/sasutils/archive/v%{version}/%{name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-setuptools
Requires: python3-setuptools
Requires: sg3_utils
Requires: smp_utils
%{?python_provide:%python_provide python-sasutils}
%description
sasutils is a set of command-line tools and a Python library to ease the
administration of Serial Attached SCSI (SAS) fabrics.
%prep
%setup -q
%build
%py3_build
%install
%py3_install
install -d %{buildroot}/%{_mandir}/man1
install -p -m 0644 doc/man/man1/sas_counters.1 %{buildroot}/%{_mandir}/man1/
install -p -m 0644 doc/man/man1/sas_devices.1 %{buildroot}/%{_mandir}/man1/
install -p -m 0644 doc/man/man1/sas_discover.1 %{buildroot}/%{_mandir}/man1/
install -p -m 0644 doc/man/man1/ses_report.1 %{buildroot}/%{_mandir}/man1/
%files
%{_bindir}/sas_counters
%{_bindir}/sas_devices
%{_bindir}/sas_discover
%{_bindir}/sas_mpath_snic_alias
%{_bindir}/sas_sd_snic_alias
%{_bindir}/sas_st_snic_alias
%{_bindir}/ses_report
%{python3_sitelib}/sasutils/
%{python3_sitelib}/sasutils-*-py%{python3_version}.egg-info
%{_mandir}/man1/sas_counters.1*
%{_mandir}/man1/sas_devices.1*
%{_mandir}/man1/sas_discover.1*
%{_mandir}/man1/ses_report.1*
%doc README.rst
%license LICENSE.txt
%changelog
* Mon Nov 11 2024 Stephane Thiell <sthiell@stanford.edu> 0.6.1-1
- update version
* Fri Nov 8 2024 Stephane Thiell <sthiell@stanford.edu> 0.6.0-1
- update version
* Sun Oct 1 2023 Stephane Thiell <sthiell@stanford.edu> 0.5.0-1
- update version
* Thu Feb 16 2023 Stephane Thiell <sthiell@stanford.edu> 0.4.0-1
- update version
* Mon Nov 14 2022 Stephane Thiell <sthiell@stanford.edu> 0.3.13-1
- update version
* Mon Nov 15 2021 Stephane Thiell <sthiell@stanford.edu> 0.3.12-1
- update version
* Fri Nov 12 2021 Stephane Thiell <sthiell@stanford.edu> 0.3.11-1
- update version
* Sun Dec 08 2019 Stephane Thiell <sthiell@stanford.edu> 0.3.10-1
- update version
- update Source to download from GitHub directly
* Tue Aug 29 2017 Stephane Thiell <sthiell@stanford.edu> 0.3.9-1
- update version
* Tue Aug 22 2017 Stephane Thiell <sthiell@stanford.edu> 0.3.8-2
- always remove shebang from Python modules
- removed unwanted Group tag
- removed useless/duplicate Provides tag
* Fri Aug 18 2017 Stephane Thiell <sthiell@stanford.edu> 0.3.8-1
- added man pages
* Wed Aug 16 2017 Stephane Thiell <sthiell@stanford.edu> 0.3.5-1
- packaging improvements
* Tue Jul 4 2017 Stephane Thiell <sthiell@stanford.edu> 0.3.4-1
- build against python3 only
- install LICENSE.txt file
- use python_provide macro and update to follow Fedora packaging guidelines
* Sat May 20 2017 Stephane Thiell <sthiell@stanford.edu> 0.3.3-1
- update version (bug fixes)
* Wed Mar 29 2017 Mikhail Lesin <mlesin@gmail.com> 0.3.2-1
- Python 3 port
- DM support
- 4K devices sizefix
* Mon Feb 20 2017 Stephane Thiell <sthiell@stanford.edu> 0.3.1-1
- update version
* Sun Feb 19 2017 Stephane Thiell <sthiell@stanford.edu> 0.3.0-1
- update version
* Fri Dec 9 2016 Stephane Thiell <sthiell@stanford.edu> 0.2.5-1
- update version
* Mon Dec 5 2016 Stephane Thiell <sthiell@stanford.edu> 0.2.4-1
- update version
* Tue Nov 8 2016 Stephane Thiell <sthiell@stanford.edu> 0.2.3-1
- update version
* Mon Oct 31 2016 Stephane Thiell <sthiell@stanford.edu> 0.2.1-1
- update version
* Mon Oct 17 2016 Stephane Thiell <sthiell@stanford.edu> 0.1.7-1
- inception