1 |
# $Id: smeserver-tftp-server.spec,v 1.7 2018/11/12 16:03:12 jcrisp 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 6 |
%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 |
53 |
/bin/rm -f %{name}-%{version}-filelist |
/bin/rm -f %{name}-%{version}-filelist |
54 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
55 |
|
|
56 |
|
%post |
57 |
|
#systemctl enable tftp |
58 |
|
#systemctl start tftp |
59 |
|
|
60 |
|
|
61 |
%clean |
%clean |
62 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
63 |
|
|
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 |
72 |
|
- Initial import to SME10 tree [SME: 11074] |
73 |
|
|
74 |
* Mon Nov 12 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 1.2-6 |
* Mon Nov 12 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 1.2-6 |
75 |
- Add a blksize check [SME:10646] |
- Add a blksize check [SME:10646] |
76 |
|
|