1 |
%define name smeserver-motd |
2 |
%define version 0.1 |
3 |
%define release 6 |
4 |
Summary: Adjust the login motd display |
5 |
Name: %{name} |
6 |
Version: %{version} |
7 |
Release: %{release} |
8 |
License: GNU GPL version 2 |
9 |
URL: http://libreswan.org/ |
10 |
Group: SMEserver/addon |
11 |
Source: %{name}-%{version}.tar.gz |
12 |
Patch1: smeserver-motd-addstatuskey.patch |
13 |
Patch2: smeserver-motd-addtypekey.patch |
14 |
BuildRoot: /var/tmp/%{name}-%{version} |
15 |
BuildArchitectures: noarch |
16 |
BuildRequires: e-smith-devtools |
17 |
Requires: e-smith-release >= 8.0 |
18 |
AutoReqProv: no |
19 |
|
20 |
%description |
21 |
A small contribution to give a more informative display on ssh login |
22 |
|
23 |
%changelog |
24 |
* Thu Oct 29 2020 Brian Read <brianr@bjsystems.co.uk> 0.1-6.sme |
25 |
- Initial import to SME10 tree [SME: 11066 ] |
26 |
|
27 |
* Wed Jun 29 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-5.sme |
28 |
- Add db type key |
29 |
|
30 |
* Wed Jun 29 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-4.sme |
31 |
- Add db status key |
32 |
|
33 |
* Tue Jun 28 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 0.1-3.sme |
34 |
- Initial release to contribs9 |
35 |
|
36 |
* Mon Jun 27 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-1 |
37 |
- Initial build |
38 |
|
39 |
* Mon Jun 27 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-2 |
40 |
- Fix a typo in the spec file |
41 |
|
42 |
%prep |
43 |
%setup |
44 |
%patch1 -p1 |
45 |
%patch2 -p1 |
46 |
|
47 |
%build |
48 |
perl createlinks |
49 |
|
50 |
%install |
51 |
rm -rf $RPM_BUILD_ROOT |
52 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
53 |
rm -f %{name}-%{version}-filelist |
54 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
55 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
56 |
|
57 |
|
58 |
%clean |
59 |
cd .. |
60 |
rm -rf %{name}-%{version} |
61 |
|
62 |
%files -f %{name}-%{version}-filelist |
63 |
%defattr(-,root,root) |
64 |
|
65 |
%pre |
66 |
|
67 |
%preun |
68 |
|
69 |
%post |
70 |
|
71 |
%postun |