ddclient/ddclient.spec

81 lines
2.1 KiB
RPMSpec
Raw Permalink Normal View History

Name: ddclient
Version: 3.11.2
Release: 1mamba
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>
URL: https://github.com/ddclient/ddclient
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.
%global __requires_exclude ^perl\\(a\\)$
%prep
%setup -q
autoreconf -f -i
%build
%configure \
--sysconfdir=%{_sysconfdir}/ddclient
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
#install -d %{buildroot}/var/cache/ddclient
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
* Fri Nov 24 2023 Automatic Build System <autodist@mambasoft.it> 3.11.2-1mamba
- automatic version update by autodist
* Thu Oct 26 2023 Automatic Build System <autodist@mambasoft.it> 3.11.1-1mamba
- automatic version update by autodist
* Sun Oct 22 2023 Automatic Build System <autodist@mambasoft.it> 3.11.0-1mamba
- automatic version update by autodist
* 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
* Fri Oct 30 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 3.9.1-1mamba
- package created using the webbuild interface