-
Notifications
You must be signed in to change notification settings - Fork 4
/
spec
68 lines (54 loc) · 1.87 KB
/
spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
Name: afraid-dyndns
Version: 1.1
Release: 3%{?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
Requires: perl
Requires: perl(Getopt::Long)
%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
* Sun Nov 15 2009 Erick Calder <[email protected]> - 1.1-3
- Fixes broken dependencies on ppc platforms
* Thu Oct 15 2009 Erick Calder <[email protected]> - 1.1-2
- fixed patch for F10
* Thu Oct 15 2009 Erick Calder <[email protected]> - 1.1-1
- modifications for OSX support
* Sat Oct 03 2009 Erick Calder <[email protected]> - 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 <[email protected]> - 1.0-4
- fixed broken reference to patch
* Sat Oct 03 2009 Erick Calder <[email protected]> - 1.0-3
- added patch to fix issue with Makefile for F10
* Sun Sep 27 2009 Erick Calder <[email protected]> - 1.0-2
- tarball extension changed
* Sat Sep 12 2009 Erick Calder <[email protected]> - 1.0-1
- Initial build