1 |
brianr |
1.1 |
%define name smeserver-motd |
2 |
|
|
%define version 0.1 |
3 |
brianr |
1.4 |
%define release 8 |
4 |
brianr |
1.1 |
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 |
brianr |
1.3 |
Patch3: smeserver-motd-0.1-Add-Update-to-createlinks.patch |
15 |
brianr |
1.4 |
Patch4: smeserver-motd-0.1-Add-expansion-of-sshd-conf.patch |
16 |
brianr |
1.1 |
BuildRoot: /var/tmp/%{name}-%{version} |
17 |
|
|
BuildArchitectures: noarch |
18 |
|
|
BuildRequires: e-smith-devtools |
19 |
|
|
Requires: e-smith-release >= 8.0 |
20 |
|
|
AutoReqProv: no |
21 |
|
|
|
22 |
|
|
%description |
23 |
|
|
A small contribution to give a more informative display on ssh login |
24 |
|
|
|
25 |
|
|
%changelog |
26 |
brianr |
1.4 |
* Thu Mar 25 2021 Brian Read <brianr@bjsystems.co.uk> 0.1-8.sme |
27 |
|
|
- Add /etc/ssh/sshd_conf expansion to -update event [SME: 11066] |
28 |
|
|
|
29 |
brianr |
1.3 |
* Wed Mar 24 2021 Brian Read <brianr@bjsystems.co.uk> 0.1-7.sme |
30 |
|
|
- Add Update event to createlinks [SME: 11066] |
31 |
|
|
|
32 |
|
|
* Wed Mar 24 2021 BogusDateBot |
33 |
|
|
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, |
34 |
|
|
by assuming the date is correct and changing the weekday. |
35 |
|
|
|
36 |
brianr |
1.2 |
* Thu Oct 29 2020 Brian Read <brianr@bjsystems.co.uk> 0.1-6.sme |
37 |
|
|
- Initial import to SME10 tree [SME: 11066 ] |
38 |
brianr |
1.1 |
|
39 |
|
|
* Wed Jun 29 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-5.sme |
40 |
|
|
- Add db type key |
41 |
|
|
|
42 |
|
|
* Wed Jun 29 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-4.sme |
43 |
|
|
- Add db status key |
44 |
|
|
|
45 |
|
|
* Tue Jun 28 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 0.1-3.sme |
46 |
|
|
- Initial release to contribs9 |
47 |
|
|
|
48 |
|
|
* Mon Jun 27 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-1 |
49 |
|
|
- Initial build |
50 |
|
|
|
51 |
|
|
* Mon Jun 27 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-2 |
52 |
|
|
- Fix a typo in the spec file |
53 |
|
|
|
54 |
|
|
%prep |
55 |
|
|
%setup |
56 |
|
|
%patch1 -p1 |
57 |
|
|
%patch2 -p1 |
58 |
brianr |
1.3 |
%patch3 -p1 |
59 |
brianr |
1.4 |
%patch4 -p1 |
60 |
brianr |
1.1 |
|
61 |
|
|
%build |
62 |
|
|
perl createlinks |
63 |
|
|
|
64 |
|
|
%install |
65 |
|
|
rm -rf $RPM_BUILD_ROOT |
66 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
67 |
|
|
rm -f %{name}-%{version}-filelist |
68 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
69 |
|
|
echo "%doc COPYING" >> %{name}-%{version}-filelist |
70 |
|
|
|
71 |
|
|
|
72 |
|
|
%clean |
73 |
|
|
cd .. |
74 |
|
|
rm -rf %{name}-%{version} |
75 |
|
|
|
76 |
|
|
%files -f %{name}-%{version}-filelist |
77 |
|
|
%defattr(-,root,root) |
78 |
|
|
|
79 |
|
|
%pre |
80 |
|
|
|
81 |
|
|
%preun |
82 |
|
|
|
83 |
|
|
%post |
84 |
|
|
|
85 |
|
|
%postun |