-
Notifications
You must be signed in to change notification settings - Fork 6
/
milkcheck.spec
106 lines (80 loc) · 3.39 KB
/
milkcheck.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
%{!?__python_name: %global __python_name python3}
%{!?__python_sitelib: %global __python_sitelib %(%{__python_name} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
%global vimdatadir %{_datadir}/vim/vimfiles
Name: milkcheck
Version: 1.2.4
Release: 1%{?dist}
Summary: Distributed cluster command management
Group: System Environment/Base
License: CeCILL
Source0: https://github.com/cea-hpc/milkcheck/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildArch: noarch
Requires: %{__python_name}-%{name} = %{version}
%global _description %{expand:
Manage a cluster-wide system through configuration based commands. It offers a
easy to use interface to manage services, with dependencies and various
actions, all of them based on shell commands.}
%description %{_description}
%package -n %{__python_name}-%{name}
Summary: Distributed cluster command management
BuildRequires: %{__python_name}-devel
BuildRequires: %{__python_name}-setuptools
BuildRequires: asciidoc
Requires: clustershell >= 1.7
%description -n %{__python_name}-%{name} %{_description}
%prep
%setup -q
%build
make PYTHON=%{__python_name}
%install
make install DESTDIR="%{buildroot}" PYTHON=%{__python_name} MANDIR=%{_mandir} \
SYSCONFIGDIR=%{_sysconfdir} VIMDATADIR=%{vimdatadir}
%files
%defattr(-,root,root,-)
%config %{_sysconfdir}/%{name}/conf
%config(noreplace) %{_sysconfdir}/%{name}/milkcheck.conf
%{_bindir}/milkcheck
%{_mandir}/man8/*
%doc AUTHORS
%doc README.md
%doc ChangeLog
%doc Licence_CeCILL_V2-en.txt
%doc Licence_CeCILL_V2-fr.txt
%{vimdatadir}/ftdetect/milkcheck.vim
%{vimdatadir}/syntax/milkcheck.vim
%files -n %{__python_name}-%{name}
%{__python_sitelib}/MilkCheck/
%{__python_sitelib}/MilkCheck-*-py?.?.egg-info
%doc AUTHORS
%doc README.md
%doc ChangeLog
%doc Licence_CeCILL_V2-en.txt
%doc Licence_CeCILL_V2-fr.txt
%changelog
* Tue Jun 22 2021 Aurelien Cedeyn <[email protected]> 1.2.4-1
- Update to 1.2.4 release (fix pkg_resources version).
* Tue Feb 02 2021 Aurelien Cedeyn <[email protected]> 1.2.3-1
- Update to 1.2.3 release (python3 support).
* Thu Feb 21 2019 Aurelien Cedeyn <[email protected]> 1.2.2-1
- Update to 1.2.2 release.
* Thu Feb 21 2019 Aurelien Cedeyn <[email protected]> 1.2.1-1
- Update to 1.2.1 release.
* Fri Oct 05 2018 Aurelien Degremont <[email protected]> - 1.2-1
- Update to 1.2 release
* Wed Oct 11 2017 Aurelien Degremont <[email protected]> 1.1-1
- Update to 1.1 release.
* Sat May 25 2013 Aurelien Degremont <[email protected]> 1.0-1
- Update to 1.0 release (UI fixes).
* Mon Mar 18 2013 Aurelien Degremont <[email protected]> 0.11.1-1
- milkcheck.conf is declared as 'noreplace'.
- Update to 0.11.1 release. (--nodeps, engine bugfixes, ...)
* Thu Feb 21 2013 Aurelien Degremont <[email protected]> 0.11-1
- Update to 0.11 release. (--define, custom reverse action, ...)
* Thu Feb 7 2013 Aurelien Degremont <[email protected]> 0.10-1
- Update to 0.10 release. (--quiet, new syntax, interactive mode, ...)
* Fri Nov 9 2012 Aurelien Degremont <[email protected]> 0.9.2-1
- Update to 0.9.2 release. (Bugfixes, man page, --dry-run mode, ...)
* Wed Oct 24 2012 Aurelien Cedeyn <[email protected]> 0.8.1
- Manage build process inside Makefile
* Mon Jul 25 2011 Aurelien Degremont <[email protected]> 0.6-1
- Initial package