1 |
# $Id: smeserver-tftp-server.spec,v 1.1 2020/10/29 18:46:47 brianr Exp $ |
# $Id: smeserver-tftp-server.spec,v 1.2 2020/10/29 19:03:57 brianr Exp $ |
2 |
# Authority: nocvs |
# Authority: nocvs |
3 |
# Name: Trevor Batley |
# Name: Trevor Batley |
4 |
|
|
5 |
%define name smeserver-tftp-server |
%define name smeserver-tftp-server |
6 |
%define version 1.2 |
%define version 1.2 |
7 |
%define release 7 |
%define release 8 |
8 |
|
|
9 |
Summary: Wrapper for tftp-server for the Trivial File Transfer Protocol (TFTP). |
Summary: Wrapper for tftp-server for the Trivial File Transfer Protocol (TFTP). |
10 |
Name: %{name} |
Name: %{name} |
24 |
Patch4: smeserver-tftp-server-1.2-allow.patch |
Patch4: smeserver-tftp-server-1.2-allow.patch |
25 |
Patch5: smeserver-tftp-server-1.2-blksize.patch |
Patch5: smeserver-tftp-server-1.2-blksize.patch |
26 |
Patch6: smeserver-tftp-server-1.2-blksize-check.patch |
Patch6: smeserver-tftp-server-1.2-blksize-check.patch |
27 |
|
Patch7: smeserver-tftp-server-1.2-Add-Update-event-to-createlinks.patch |
28 |
|
|
29 |
%description |
%description |
30 |
smeserver wrapper for tftp-server |
smeserver wrapper for tftp-server |
42 |
%patch4 -p1 |
%patch4 -p1 |
43 |
%patch5 -p1 |
%patch5 -p1 |
44 |
%patch6 -p1 |
%patch6 -p1 |
45 |
|
%patch7 -p1 |
46 |
|
|
47 |
%build |
%build |
48 |
perl createlinks |
perl createlinks |
54 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
55 |
|
|
56 |
%post |
%post |
57 |
systemctl enable tftp |
#systemctl enable tftp |
58 |
systemctl start tftp |
#systemctl start tftp |
59 |
|
|
60 |
|
|
61 |
%clean |
%clean |
65 |
%defattr(-,root,root) |
%defattr(-,root,root) |
66 |
|
|
67 |
%changelog |
%changelog |
68 |
|
* Tue Nov 09 2021 Brian Read <brianr@bjsystems.co.uk> 1.2-8.sme |
69 |
|
- Add -update event and systemd files [SME: 11074] |
70 |
|
|
71 |
* Thu Oct 29 2020 Brian Read <brianr@bjsystems.co.uk> 1.2-7.sme |
* Thu Oct 29 2020 Brian Read <brianr@bjsystems.co.uk> 1.2-7.sme |
72 |
- Initial import to SME10 tree [SME: 11074] |
- Initial import to SME10 tree [SME: 11074] |
73 |
|
|