1 |
# $Id: smeserver-tftp-server.spec,v 1.1 2020/10/29 18:46:47 brianr Exp $ |
# $Id: smeserver-tftp-server.spec,v 1.4 2021/11/10 12:07:54 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 10 |
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} |
13 |
License: GPL |
License: GPL |
14 |
Group: Network |
Group: Network |
15 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
16 |
Requires: smeserver-release >= 7.0 tftp-server >= 0.39 |
Requires: smeserver-release >= 10.0 |
17 |
|
Requires: tftp-server >= 5.0 |
18 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
19 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
20 |
BuildArch: noarch |
BuildArch: noarch |
25 |
Patch4: smeserver-tftp-server-1.2-allow.patch |
Patch4: smeserver-tftp-server-1.2-allow.patch |
26 |
Patch5: smeserver-tftp-server-1.2-blksize.patch |
Patch5: smeserver-tftp-server-1.2-blksize.patch |
27 |
Patch6: smeserver-tftp-server-1.2-blksize-check.patch |
Patch6: smeserver-tftp-server-1.2-blksize-check.patch |
28 |
|
Patch7: smeserver-tftp-server-1.2-Add-Update-event-to-createlinks.patch |
29 |
|
Patch8: smeserver-tftp-server-1.2-Expand-hosts-allow-in-update-event.patch |
30 |
|
Patch9: smeserver-tftp-server-1.2-updated-systemd-unit-files.patch |
31 |
|
|
32 |
%description |
%description |
33 |
smeserver wrapper for tftp-server |
smeserver wrapper for tftp-server |
45 |
%patch4 -p1 |
%patch4 -p1 |
46 |
%patch5 -p1 |
%patch5 -p1 |
47 |
%patch6 -p1 |
%patch6 -p1 |
48 |
|
%patch7 -p1 |
49 |
|
%patch8 -p1 |
50 |
|
%patch9 -p1 |
51 |
|
|
52 |
%build |
%build |
53 |
perl createlinks |
perl createlinks |
59 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
60 |
|
|
61 |
%post |
%post |
62 |
systemctl enable tftp |
#systemctl enable tftp |
63 |
systemctl start tftp |
#systemctl start tftp |
64 |
|
|
65 |
|
|
66 |
%clean |
%clean |
70 |
%defattr(-,root,root) |
%defattr(-,root,root) |
71 |
|
|
72 |
%changelog |
%changelog |
73 |
|
* Mon Apr 11 2022 John Crisp <jcrisp@safeandsoundit.co.uk> 1.2-10.sme |
74 |
|
- Update systemd unit files [SME: 11927] |
75 |
|
- Migrate db from tftpd to tftp [SME: 11928] |
76 |
|
|
77 |
|
* Wed Nov 10 2021 Brian Read <brianr@bjsystems.co.uk> 1.2-9.sme |
78 |
|
- Expand-hosts-allow-in-update-event [SME: 11074 ] |
79 |
|
|
80 |
|
* Tue Nov 09 2021 Brian Read <brianr@bjsystems.co.uk> 1.2-8.sme |
81 |
|
- Add -update event and systemd files [SME: 11074] |
82 |
|
|
83 |
* 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 |
84 |
- Initial import to SME10 tree [SME: 11074] |
- Initial import to SME10 tree [SME: 11074] |
85 |
|
|