-
Notifications
You must be signed in to change notification settings - Fork 0
/
n98-magerun-completion-bash.spec
71 lines (49 loc) · 1.9 KB
/
n98-magerun-completion-bash.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
Summary: A bash completion helper for n98-magerun
Name: n98-magerun-completion-bash
Version: 2.3.0
Release: 1%{?dist}
License: GPL
Group: System Environment/Shells
URL: http://magerun.net/
Source0: https://github.com/netz98/n98-magerun/archive/%{version}/n98-magerun-%{version}.tar.gz
BuildArch: noarch
Requires: bash-completion
%description
Install this package to enable tab-completion of functions and installed
modules with the n98-magerun command.
%prep
%setup -n n98-magerun-%{version}
%build
# Nothing to do
%install
%{__rm} -rf $RPM_BUILD_ROOT
%{__install} -d -m0755 $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d/
%{__install} -Dp -m0755 res/autocompletion/bash/n98-magerun.phar.bash $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d/
%post
. /etc/profile.d/bash_completion.sh
%postun
. /etc/profile.d/bash_completion.sh
%files
%defattr(-, root, root, 0755)
%config %{_sysconfdir}/bash_completion.d/*
%changelog
* Tue May 24 2022 Danila Vershinin <info@getpagespeed.com> 2.3.0-1
- release 2.3.0
* Mon Jun 14 2021 Danila Vershinin <info@getpagespeed.com> 2.2.0-1
- release 2.2.0
* Wed Dec 23 2020 Danila Vershinin <info@getpagespeed.com> 2.1.0-1
- release 2.1.0
* Sun Jul 26 2020 Danila Vershinin <info@getpagespeed.com> 2.0.0-1
- release 2.0.0
* Fri Apr 03 2020 Danila Vershinin <info@getpagespeed.com> 1.103.3-1
- upstream version auto-updated to 1.103.3
* Sun Mar 01 2020 Danila Vershinin <info@getpagespeed.com> 1.103.2-1
- upstream version auto-updated to 1.103.2
* Sat Jul 20 2019 Danila Vershinin <info@getpagespeed.com> 1.103.1-1
- upstream version auto-updated to 1.103.1
* Mon Jun 10 2019 Danila Vershinin <info@getpagespeed.com> 1.103.0-1
- upstream version auto-updated to 1.103.0
* Mon Oct 08 2018 Danila Vershinin <info@getpagespeed.com> 1.102.0-1
- upstream version auto-updated to 1.102.0
* Sat May 12 2018 Danila Vershinin <info@getpagespeed.com> 1.101.1-1
- upstream version auto-updated to 1.101.1