3 |
|
|
4 |
Summary: Client to update dynamic DNS host entries |
Summary: Client to update dynamic DNS host entries |
5 |
Name: ddclient |
Name: ddclient |
6 |
Version: 3.9.1 |
Version: 3.10.0 |
7 |
Release: 2%{?dist} |
Release: 1%{?dist} |
8 |
License: GPLv2+ |
License: GPLv2+ |
9 |
URL: https://ddclient.net/ |
URL: https://ddclient.net/ |
10 |
Source0: https://github.com/%{name}/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz |
Source0: https://github.com/%{name}/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz |
29 |
Requires: perl(IO::Socket::SSL) |
Requires: perl(IO::Socket::SSL) |
30 |
Requires: perl(JSON::PP) |
Requires: perl(JSON::PP) |
31 |
|
|
32 |
|
AutoReq: no |
33 |
|
|
34 |
# Old NetworkManager expects the dispatcher scripts in a different place |
# Old NetworkManager expects the dispatcher scripts in a different place |
35 |
Conflicts: NetworkManager < 1.20 |
Conflicts: NetworkManager < 1.20 |
36 |
|
|
45 |
%setup -q |
%setup -q |
46 |
# Move pid file location for running as non-root. |
# Move pid file location for running as non-root. |
47 |
sed -e 's|/var/run/ddclient.pid|%{rundir}/%{name}.pid|' \ |
sed -e 's|/var/run/ddclient.pid|%{rundir}/%{name}.pid|' \ |
48 |
-i sample-etc_ddclient.conf |
-i ddclient.conf.in |
49 |
# Send less mail by default, eg. not on every shutdown. |
# Send less mail by default, eg. not on every shutdown. |
50 |
sed -e 's|^mail=|#mail=|' -i sample-etc_ddclient.conf |
sed -e 's|^mail=|#mail=|' -i ddclient.conf.in |
51 |
# Backwards compatibility from pre-3.6.6-1 |
# Backwards compatibility from pre-3.6.6-1 |
52 |
sed -e 's|/etc/ddclient/|%{_sysconfdir}/|' -i %{name} |
sed -e 's|/etc/ddclient/|%{_sysconfdir}/|' -i %{name}.in |
53 |
|
|
54 |
|
|
55 |
%build |
%build |
57 |
|
|
58 |
|
|
59 |
%install |
%install |
60 |
install -D -p -m 755 %{name} $RPM_BUILD_ROOT%{_sbindir}/%{name} |
install -D -p -m 755 %{name}.in $RPM_BUILD_ROOT%{_sbindir}/%{name} |
61 |
install -D -p -m 600 sample-etc_ddclient.conf \ |
install -D -p -m 600 ddclient.conf.in \ |
62 |
$RPM_BUILD_ROOT%{_sysconfdir}/%{name}.conf |
$RPM_BUILD_ROOT%{_sysconfdir}/%{name}.conf |
63 |
install -D -p -m 644 %{SOURCE1} \ |
install -D -p -m 644 %{SOURCE1} \ |
64 |
$RPM_BUILD_ROOT%{_sysconfdir}/rwtab.d/%{name} |
$RPM_BUILD_ROOT%{_sysconfdir}/rwtab.d/%{name} |
101 |
|
|
102 |
%files |
%files |
103 |
%license COPYING COPYRIGHT |
%license COPYING COPYRIGHT |
104 |
%doc README* RELEASENOTE ChangeLog Changelog.old sample-etc_ppp_ip-up.local |
%doc README* ChangeLog.md sample-etc_ppp_ip-up.local |
105 |
%doc sample-etc_dhclient-exit-hooks sample-etc_cron.d_ddclient |
%doc sample-etc_dhclient-exit-hooks sample-etc_cron.d_ddclient |
106 |
%doc sample-ddclient-wrapper.sh sample-etc_dhcpc_dhcpcd-eth0.exe |
%doc sample-ddclient-wrapper.sh sample-etc_dhcpc_dhcpcd-eth0.exe |
107 |
|
|
122 |
|
|
123 |
|
|
124 |
%changelog |
%changelog |
125 |
|
* Mon Nov 07 2022 Brian Read <brianr@bjsystems.co.uk> - 3.10.0-1 |
126 |
|
- Update to release 3.10.0 [SME:12217] |
127 |
|
|
128 |
* Tue Jun 30 2020 Brian Read <brianr@bjsystems.co.uk> - 3.9.1-2 |
* Tue Jun 30 2020 Brian Read <brianr@bjsystems.co.uk> - 3.9.1-2 |
129 |
- Change service options to delete PID spec and add -file option to run [SME:10942] |
- Change service options to delete PID spec and add -file option to run [SME:10942] |
130 |
- Delete buildrequires perl-generators in spec (no idea what or why - it works though!) |
- Delete buildrequires perl-generators in spec (no idea what or why - it works though!) |