1 |
stephdl |
1.1 |
%define name smeserver-motd |
2 |
|
|
%define version 0.1 |
3 |
reetspetit |
1.2 |
%define release 4 |
4 |
stephdl |
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 |
reetspetit |
1.2 |
Patch1: smeserver-motd-addstatuskey.patch |
13 |
stephdl |
1.1 |
BuildRoot: /var/tmp/%{name}-%{version} |
14 |
|
|
BuildArchitectures: noarch |
15 |
|
|
BuildRequires: e-smith-devtools |
16 |
|
|
Requires: e-smith-release >= 8.0 |
17 |
|
|
AutoReqProv: no |
18 |
|
|
|
19 |
|
|
%description |
20 |
|
|
A small contribution to give a more informative display on ssh login |
21 |
|
|
|
22 |
|
|
%changelog |
23 |
reetspetit |
1.2 |
* Wed Jun 29 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-4.sme |
24 |
|
|
- Add db status key |
25 |
|
|
|
26 |
stephdl |
1.1 |
* Tue Jun 28 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 0.1-3.sme |
27 |
|
|
- Initial release to contribs9 |
28 |
|
|
|
29 |
|
|
* Mon Jun 27 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-1 |
30 |
|
|
- Initial build |
31 |
|
|
|
32 |
|
|
* Mon Jun 27 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-2 |
33 |
|
|
- Fix a typo in the spec file |
34 |
|
|
|
35 |
|
|
%prep |
36 |
|
|
%setup |
37 |
reetspetit |
1.2 |
%patch1 -p1 |
38 |
stephdl |
1.1 |
|
39 |
|
|
%build |
40 |
|
|
perl createlinks |
41 |
|
|
|
42 |
|
|
%install |
43 |
|
|
rm -rf $RPM_BUILD_ROOT |
44 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
45 |
|
|
rm -f %{name}-%{version}-filelist |
46 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
47 |
|
|
echo "%doc COPYING" >> %{name}-%{version}-filelist |
48 |
|
|
|
49 |
|
|
|
50 |
|
|
%clean |
51 |
|
|
cd .. |
52 |
|
|
rm -rf %{name}-%{version} |
53 |
|
|
|
54 |
|
|
%files -f %{name}-%{version}-filelist |
55 |
|
|
%defattr(-,root,root) |
56 |
|
|
|
57 |
|
|
%pre |
58 |
|
|
|
59 |
|
|
%preun |
60 |
|
|
|
61 |
|
|
%post |
62 |
|
|
|
63 |
|
|
%postun |