1 Summary: Client for Dynamic DNS Services
2 Summary(pl): Klient dla serwisów dynamicznego DNS
8 Source0: http://ez-ipupdate.com/dist/%{name}-%{version}.tar.gz
9 # Source0-md5: 000211add4c4845ffa4211841bff4fb0
11 Source2: %{name}.config
12 Patch0: %{name}-CAN-2004-0980.patch
13 URL: http://ez-ipupdate.com/
14 BuildRequires: autoconf
15 BuildRequires: automake
16 BuildRequires: perl-base
17 Requires(post,preun): /sbin/chkconfig
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 ez-ipupdate is a small utility for updating your host name for any of
23 the dynamic DNS service offered at:
24 - http://www.ez-ip.net/
25 - http://www.justlinux.com/
27 - http://www.dyndns.org/
29 - http://gnudip.cheapnet.net/ (GNUDip)
30 - http://www.dyn.ca/ (GNUDip)
32 - http://www.easydns.com/
35 - http://www.zoneedit.com/
37 It is pure C and works on Linux, *BSD and Solaris.
39 Don't forget to create your own config file (in
40 /etc/ez-ipupdate.conf). You can find some example in
41 /usr/share/doc/%{name}-%{version}.
44 ez-ipupdate to ma³e narzêdzie do uaktualniania nazwy hosta w dowolnym
45 serwisie dynamicznego DNS spo¶ród:
46 - http://www.ez-ip.net/
47 - http://www.justlinux.com/
49 - http://www.dyndns.org/
51 - http://gnudip.cheapnet.net/ (GNUDip)
52 - http://www.dyn.ca/ (GNUDip)
54 - http://www.easydns.com/
57 - http://www.zoneedit.com/
59 Jest napisane w czystym C i dzia³a na Linuksie, *BSD oraz Solarisie.
61 Nie nale¿y zapomnieæ o utworzeniu w³asnego pliku konfiguracyjnego
62 (/etc/ez-ipupdate.conf). Przyk³ad mo¿na znale¼æ w katalogu
63 /usr/share/doc/%{name}-%{version}.
70 install %{_datadir}/automake/config.* .
77 rm -rf $RPM_BUILD_ROOT
78 install -d $RPM_BUILD_ROOT{/etc/rc.d/init.d,/etc/sysconfig}
81 DESTDIR=$RPM_BUILD_ROOT
83 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
84 install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/%{name}
85 touch $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.conf
87 %{__perl} -pi -e "s|/usr/local/bin|%{_bindir}|" *.conf
90 rm -rf $RPM_BUILD_ROOT
93 /sbin/chkconfig --add %{name}
94 if [ -f /var/lock/subsys/%{name} ]; then
95 /etc/rc.d/init.d/%{name} restart >&2
97 echo "Run \"/etc/rc.d/init.d/%{name} start\" to start %{name} daemon."
101 if [ "$1" = "0" ]; then
102 if [ -f /var/lock/subsys/%{name} ]; then
103 /etc/rc.d/init.d/%{name} stop >&2
105 /sbin/chkconfig --del %{name}
109 %defattr(644,root,root,755)
110 %doc README CHANGELOG *.conf
111 %attr(755,root,root) %{_bindir}/*
112 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf
113 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}
114 %attr(754,root,root) /etc/rc.d/init.d/%{name}