forked from rackerlabs/configsnap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfigsnap.spec
65 lines (56 loc) · 1.91 KB
/
configsnap.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
Name: configsnap
Version: 0.12
Release: 1%{?dist}
Summary: Record and compare system state
License: ASL 2.0
URL: https://github.com/rackerlabs/%{name}
Source0: https://github.com/rackerlabs/%{name}/archive/%{version}.tar.gz
BuildArch: noarch
BuildRequires: python2-devel
BuildRequires: help2man
%description
configsnap records important system state information and can optionally compare
with a previous state and identify changes
%prep
%setup -q
%build
help2man --include=%{name}.help2man --no-info ./%{name} -o %{name}.man
%install
mkdir -p %{buildroot}%{_bindir} \
%{buildroot}%{_mandir}/man1 \
%{buildroot}%{_sysconfdir}/%{name}
install -p -m 0755 %{name} %{buildroot}%{_bindir}
install -p -m 0644 %{name}.man %{buildroot}%{_mandir}/man1/%{name}.1
install -p -m 0600 additional.conf %{buildroot}%{_sysconfdir}/%{name}/additional.conf
%files
%defattr(-,root,root,-)
%{!?_licensedir:%global license %doc}
%license LICENSE
%doc README.md
%doc NEWS
%doc MAINTAINERS.md
%{_mandir}/man1/%{name}.1*
%{_bindir}/%{name}
%{_sysconfdir}/%{name}
%changelog
* Mon Jun 12 2017 Piers Cornwell <[email protected]> 0.12-1
- Record Pacemaker status
- Don't raise exception if command doesn't exist
- Add alternative path for lspci
- Allow MySQL show databases to fail
- Record PHP state
- Record iptables rules
- Documented tested platforms
- Optional custom collection
* Wed Dec 21 2016 Piers Cornwell <[email protected]> 0.11-1
- Renamed from getData to configsnap
- Backup grubenv for grub2
- Support for Fedora
- Added man page
- Record dm-multipath information
- Continue if lvm isn't present
- Allow PowerPath to be present, but with no LUNs
* Wed Jul 27 2016 Piers Cornwell <[email protected]> 0.10-1
- Initial public release, version 0.10
* Mon May 9 2016 Piers Cornwell <[email protected]> 0.9-1
- Initial standalone tagged release, version 0.9