Summary: Client for Dynamic DNS Services
-Summary(pl): Klient dla serwisów dynamicznego DNS
+Summary(pl.UTF-8): Klient dla serwisów dynamicznego DNS
Name: ez-ipupdate
Version: 3.0.11b8
-Release: 4
-Group: Networking
+Release: 5
License: GPL
+Group: Networking
Source0: http://ez-ipupdate.com/dist/%{name}-%{version}.tar.gz
# Source0-md5: 000211add4c4845ffa4211841bff4fb0
Source1: %{name}.init
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: perl-base
+BuildRequires: rpmbuild(macros) >= 1.268
Requires(post,preun): /sbin/chkconfig
Requires: rc-scripts
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
It is pure C and works on Linux, *BSD and Solaris.
Don't forget to create your own config file (in
-/etc/ez-ipupdate.conf). You can find some example in
-/usr/share/doc/%{name}-%{version}.
+/etc/ez-ipupdate.conf). You can find some examples in
+%{_docdir}/%{name}-%{version}.
-%description -l pl
-ez-ipupdate to ma³e narzêdzie do uaktualniania nazwy hosta w dowolnym
-serwisie dynamicznego DNS spo¶ród:
+%description -l pl.UTF-8
+ez-ipupdate to małe narzędzie do uaktualniania nazwy hosta w dowolnym
+serwisie dynamicznego DNS spośród:
- http://www.ez-ip.net/
- http://www.justlinux.com/
- http://www.dhs.org/
- http://www.hn.org/
- http://www.zoneedit.com/
-Jest napisane w czystym C i dzia³a na Linuksie, *BSD oraz Solarisie.
+Jest napisane w czystym C i działa na Linuksie, *BSD oraz Solarisie.
-Nie nale¿y zapomnieæ o utworzeniu w³asnego pliku konfiguracyjnego
-(/etc/ez-ipupdate.conf). Przyk³ad mo¿na znale¼æ w katalogu
-/usr/share/doc/%{name}-%{version}.
+Nie należy zapomnieć o utworzeniu własnego pliku konfiguracyjnego
+(/etc/ez-ipupdate.conf). Przykład można znaleźć w katalogu
+%{_docdir}/%{name}-%{version}.
%prep
%setup -q
%patch0 -p0
%build
-install %{_datadir}/automake/config.* .
+install /usr/share/automake/config.* .
%{__aclocal}
%{__autoconf}
%configure
%post
/sbin/chkconfig --add %{name}
-if [ -f /var/lock/subsys/%{name} ]; then
- /etc/rc.d/init.d/%{name} restart >&2
-else
- echo "Run \"/etc/rc.d/init.d/%{name} start\" to start %{name} daemon."
-fi
+%service %{name} restart "%{name} daemon"
%preun
if [ "$1" = "0" ]; then
- if [ -f /var/lock/subsys/%{name} ]; then
- /etc/rc.d/init.d/%{name} stop >&2
- fi
+ %service %{name} stop
/sbin/chkconfig --del %{name}
fi