2024-01-05 21:41:49 +01:00
|
|
|
Name: ddclient
|
2024-01-05 21:41:50 +01:00
|
|
|
Version: 3.11.0
|
|
|
|
Release: 1mamba
|
2024-01-05 21:41:49 +01:00
|
|
|
Summary: A Perl client used to update dynamic DNS entries for accounts on many dynamic DNS services
|
|
|
|
Group: System/Servers
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-05 21:41:49 +01:00
|
|
|
URL: https://github.com/ddclient/ddclient
|
2024-01-05 21:41:49 +01:00
|
|
|
Source: https://github.com/ddclient/ddclient.git/v%{version}/ddclient-%{version}.tar.bz2
|
|
|
|
Source1: ddclient.service
|
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: libperl
|
|
|
|
BuildRequires: perl-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
Requires: perl-Data-Validate-IP
|
|
|
|
|
|
|
|
%description
|
|
|
|
A Perl client used to update dynamic DNS entries for accounts on many dynamic DNS services.
|
|
|
|
|
2024-01-05 21:41:49 +01:00
|
|
|
%global __requires_exclude ^perl\\(a\\)$
|
|
|
|
|
2024-01-05 21:41:49 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-01-05 21:41:49 +01:00
|
|
|
autoreconf -f -i
|
2024-01-05 21:41:49 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-05 21:41:49 +01:00
|
|
|
%configure \
|
|
|
|
--sysconfdir=%{_sysconfdir}/ddclient
|
|
|
|
|
|
|
|
%make
|
2024-01-05 21:41:49 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-05 21:41:49 +01:00
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
#install -d %{buildroot}/var/cache/ddclient
|
2024-01-05 21:41:49 +01:00
|
|
|
install -Dm644 %{SOURCE1} %{buildroot}%{_unitdir}/ddclient.service
|
|
|
|
|
|
|
|
%post
|
|
|
|
%systemd_post ddclient.service
|
|
|
|
:
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%systemd_postun ddclient.service
|
|
|
|
:
|
|
|
|
|
|
|
|
%preun
|
|
|
|
%systemd_preun_with_restart ddclient.service
|
|
|
|
:
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%config(noreplace) %{_sysconfdir}/ddclient/ddclient.conf
|
|
|
|
%{_unitdir}/ddclient.service
|
|
|
|
%{_bindir}/ddclient
|
|
|
|
%doc COPYING
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 21:41:50 +01:00
|
|
|
* Sun Oct 22 2023 Automatic Build System <autodist@mambasoft.it> 3.11.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:41:49 +01:00
|
|
|
* Wed Nov 30 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 3.10.0_2-2mamba
|
|
|
|
- exclude invalid automatic requirement for perl(a)
|
|
|
|
|
|
|
|
* Tue Sep 27 2022 Automatic Build System <autodist@mambasoft.it> 3.10.0_2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:41:49 +01:00
|
|
|
* Fri Oct 30 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 3.9.1-1mamba
|
|
|
|
- package created using the webbuild interface
|