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}-debian.patch
13 # https://dev.openwrt.org/browser/packages/net/ez-ipupdate/patches
14 Patch1: 002-ez_ipupdate_everydns.patch
15 Patch2: 003-dnsexit.patch
16 URL: http://ez-ipupdate.com/
17 BuildRequires: autoconf
18 BuildRequires: automake
19 BuildRequires: perl-base
20 BuildRequires: rpmbuild(macros) >= 1.268
21 Requires(post,preun): /sbin/chkconfig
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 ez-ipupdate is a small utility for updating your host name for any of
27 the dynamic DNS service offered at:
28 - http://www.ez-ip.net/
29 - http://www.justlinux.com/
31 - http://www.dyndns.org/
33 - http://gnudip.cheapnet.net/ (GNUDip)
34 - http://www.dyn.ca/ (GNUDip)
36 - http://www.easydns.com/
39 - http://www.zoneedit.com/
41 It is pure C and works on Linux, *BSD and Solaris.
43 Don't forget to create your own config file (in
44 /etc/ez-ipupdate.conf). You can find some examples in
45 %{_docdir}/%{name}-%{version}.
47 %description -l pl.UTF-8
48 ez-ipupdate to małe narzędzie do uaktualniania nazwy hosta w dowolnym
49 serwisie dynamicznego DNS spośród:
50 - http://www.ez-ip.net/
51 - http://www.justlinux.com/
53 - http://www.dyndns.org/
55 - http://gnudip.cheapnet.net/ (GNUDip)
56 - http://www.dyn.ca/ (GNUDip)
58 - http://www.easydns.com/
61 - http://www.zoneedit.com/
63 Jest napisane w czystym C i działa na Linuksie, *BSD oraz Solarisie.
65 Nie należy zapomnieć o utworzeniu własnego pliku konfiguracyjnego
66 (/etc/ez-ipupdate.conf). Przykład można znaleźć w katalogu
67 %{_docdir}/%{name}-%{version}.
76 install /usr/share/automake/config.* .
83 rm -rf $RPM_BUILD_ROOT
84 install -d $RPM_BUILD_ROOT{/etc/rc.d/init.d,/etc/sysconfig}
87 DESTDIR=$RPM_BUILD_ROOT
89 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
90 install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/%{name}
91 touch $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.conf
93 %{__perl} -pi -e "s|/usr/local/bin|%{_bindir}|" *.conf
96 rm -rf $RPM_BUILD_ROOT
99 /sbin/chkconfig --add %{name}
100 %service %{name} restart "%{name} daemon"
103 if [ "$1" = "0" ]; then
104 %service %{name} stop
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}