/[smecontribs]/rpms/ddclient/contribs10/ddclient.spec
ViewVC logotype

Diff of /rpms/ddclient/contribs10/ddclient.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.2 by brianr, Tue Jun 30 09:38:30 2020 UTC Revision 1.6 by brianr, Wed Nov 8 11:24:27 2023 UTC
# Line 3  Line 3 
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.11.1
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
# Line 29  Requires:          perl(IO::Socket::INET Line 29  Requires:          perl(IO::Socket::INET
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    
# Line 43  the failed updates and sending update st Line 45  the failed updates and sending update st
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
# Line 55  sed -e 's|/etc/ddclient/|%{_sysconfdir}/ Line 57  sed -e 's|/etc/ddclient/|%{_sysconfdir}/
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}
# Line 99  fi Line 101  fi
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    
# Line 120  fi Line 122  fi
122    
123    
124  %changelog  %changelog
125    * Wed Nov 08 2023 Brian Read <brianr@koozali.org> 3.11.0-2.sme
126    - Update to release 3.11.1 [SME:12425]
127    
128    * Mon Nov 07 2022 Brian Read <brianr@bjsystems.co.uk> - 3.10.0-1
129    - Update to release 3.10.0 [SME:12217]
130    
131  * 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
132  - 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]
133  - 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!)


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed