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