1 Summary: Client for Dynamic DNS Services
2 Summary(pl.UTF-8): 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 BuildRequires: rpmbuild(macros) >= 1.268
18 Requires(post,preun): /sbin/chkconfig
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 ez-ipupdate is a small utility for updating your host name for any of
24 the dynamic DNS service offered at:
25 - http://www.ez-ip.net/
26 - http://www.justlinux.com/
28 - http://www.dyndns.org/
30 - http://gnudip.cheapnet.net/ (GNUDip)
31 - http://www.dyn.ca/ (GNUDip)
33 - http://www.easydns.com/
36 - http://www.zoneedit.com/
38 It is pure C and works on Linux, *BSD and Solaris.
40 Don't forget to create your own config file (in
41 /etc/ez-ipupdate.conf). You can find some examples in
42 %{_docdir}/%{name}-%{version}.
44 %description -l pl.UTF-8
45 ez-ipupdate to małe narzędzie do uaktualniania nazwy hosta w dowolnym
46 serwisie dynamicznego DNS spośród:
47 - http://www.ez-ip.net/
48 - http://www.justlinux.com/
50 - http://www.dyndns.org/
52 - http://gnudip.cheapnet.net/ (GNUDip)
53 - http://www.dyn.ca/ (GNUDip)
55 - http://www.easydns.com/
58 - http://www.zoneedit.com/
60 Jest napisane w czystym C i działa na Linuksie, *BSD oraz Solarisie.
62 Nie należy zapomnieć o utworzeniu własnego pliku konfiguracyjnego
63 (/etc/ez-ipupdate.conf). Przykład można znaleźć w katalogu
64 %{_docdir}/%{name}-%{version}.
71 install /usr/share/automake/config.* .
78 rm -rf $RPM_BUILD_ROOT
79 install -d $RPM_BUILD_ROOT{/etc/rc.d/init.d,/etc/sysconfig}
82 DESTDIR=$RPM_BUILD_ROOT
84 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
85 install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/%{name}
86 touch $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.conf
88 %{__perl} -pi -e "s|/usr/local/bin|%{_bindir}|" *.conf
91 rm -rf $RPM_BUILD_ROOT
94 /sbin/chkconfig --add %{name}
95 %service %{name} restart "%{name} daemon"
98 if [ "$1" = "0" ]; then
100 /sbin/chkconfig --del %{name}
104 %defattr(644,root,root,755)
105 %doc README CHANGELOG *.conf
106 %attr(755,root,root) %{_bindir}/*
107 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf
108 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}
109 %attr(754,root,root) /etc/rc.d/init.d/%{name}