Blob Blame History Raw
Name:      afraid-dyndns
Version:   1.1
Release:   1%{?dist}
Summary:   A dynamic DNS client for the free service afraid.org
Group:     System Environment/Daemons
License:   GPLv3+
URL:       http://perl.arix.com
Source0:   ftp://arix.com/afraid-dyndns-%{version}.tar.gz
Patch:    %{name}.F10.patch
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildArch: noarch

%description
This utility implements a client for the free afraid.org dynamic DNS
service. A cron job is set up to check whether the external IP address
has changed, and when it does, connects to afraid.org and updates the
DNS entries of all the domains of the given account.

%prep
%setup -q
%if 0%{?fedora} <= 10
%patch -p0 -b .orig
%endif

%build

%install
rm -rf %{buildroot}
./install %{buildroot}

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root,-)
%doc README LICENSE
%{_bindir}/*
%config(noreplace) %{_sysconfdir}/afraid-dyndns.conf
%config(noreplace) %{_sysconfdir}/cron.d/afraid-dyndns
%dir %{_localstatedir}/cache/afraid-dyndns
%ghost %{_localstatedir}/cache/afraid-dyndns/IP

%changelog
* Thu Oct 15 2009 Erick Calder <rpm@arix.com> - 1.1-1
- modifications for OSX support

* Sat Oct 03 2009 Erick Calder <rpm@arix.com> - 1.0-5
- fix to application of patch, which breaks with the error 'missing header for unified diff at line 5 of patch

* Sat Oct 03 2009 Erick Calder <rpm@arix.com> - 1.0-4
- fixed broken reference to patch

* Sat Oct 03 2009 Erick Calder <rpm@arix.com> - 1.0-3
- added patch to fix issue with Makefile for F10

* Sun Sep 27 2009 Erick Calder <rpm@arix.com> - 1.0-2
- tarball extension changed

* Sat Sep 12 2009 Erick Calder <rpm@arix.com> - 1.0-1
- Initial build