/[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.3 by brianr, Mon Nov 7 11:26:27 2022 UTC Revision 1.4 by brianr, Mon Nov 7 17:50:29 2022 UTC
# Line 23  Requires(post):    systemd Line 23  Requires(post):    systemd
23  Requires(preun):   systemd  Requires(preun):   systemd
24  Requires(postun):  systemd  Requires(postun):  systemd
25    
26  #Requires:          perl(Data::Validate::IP)  Requires:          perl(Data::Validate::IP)
27  Requires:          perl(Digest::SHA1)  Requires:          perl(Digest::SHA1)
28  Requires:          perl(IO::Socket::INET6)  Requires:          perl(IO::Socket::INET6)
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    


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