]> git.pld-linux.org Git - packages/ddclient.git/blob - ddclient.spec
- pl, cleanup
[packages/ddclient.git] / ddclient.spec
1 %include        /usr/lib/rpm/macros.perl
2 Summary:        A dynamic IP address utility
3 Summary(pl):    Narzêdzie do dynamicznych adresów IP
4 Summary(pt_BR): Cliente para atualizar entradas DNS dinâmicas no DynDNS.org
5 Name:           ddclient
6 Epoch:          1
7 Version:        3.6.3
8 Release:        1
9 Group:          Networking
10 License:        GPL
11 Source0:        http://members.rogers.com/ddclient/pub/%{name}-%{version}.tar.gz
12 # Source0-md5:  1773aaf469a1faddd3f20d485a0fd6f2
13 Source1:        %{name}.init
14 URL:            http://burry.ca:4141/ddclient/
15 BuildRequires:  rpm-perlprov
16 BuildArch:      noarch
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 DDclient is a small full featured client with FULL DynDNS NIC2
21 support, requiring only Perl and no additional modules. It runs under
22 most UNIX OSes and has been tested under Linux and FreeBSD. Supported
23 features include: operating as a daemon, manual and automatic updates,
24 static and dynamic updates, optimized updates for multiple addresses,
25 MX, wildcards, abuse avoidance, retrying failed updates, and sending
26 update status to syslog and through e-mail. This release may now
27 obtain your IP address from any interface, web based IP detection,
28 Watchguard's SOHO router, Netopia's R910 router, SMC's Barricade
29 broadband router, Netgear's RT3xx router, Linksys' broadband routers,
30 MaxGate's UGATE-3x00 routers, ELSA's LANCOM DSL/10 routers and now
31 provides Full support for DynDNS.org's NIC2 protocol. Support is also
32 included for other dynamic DNS services. Comes with sample scripts for
33 use with DHCP, PPP, and cron. See the README for more information.
34
35 %description -l pl
36 DDclient to ma³y, w pe³ni funkcjonalny klient z PE£N¡ obs³ug± DynDNS
37 NIC2, wymagaj±cy tylko Perla bez ¿adnych dodatkowych modu³ów. Dzia³a
38 pod wiêkszo¶ci± systemów uniksowych, by³ testowany pod Linuksem i
39 FreeBSD. Jego mo¿liwo¶ci to miêdzy innymi: praca jako demon, rêczne
40 i automatyczne uaktualnienia, statyczne i dynamiczne uaktualnienia,
41 uaktualnienia zoptymalizowane dla wielu adresów, MX-y, wildcardy,
42 zapobieganie nadu¿yciom, ponawianie nieudanych uaktualnieñ, wysy³anie
43 statusu uaktualnieñ do sysloga i poczt±. Ta wersja mo¿e pobraæ adres
44 IP z dowolnego interfejsu, wykrywania przez WWW, routerów: Watchguard
45 SOGO, szerokopasmowych SMC Barricane, Netgear RT3xx, szerokopasmowych
46 Linksys, MaxGate UGATE-3x00, ELSA LANCOM DSL/10, a teraz tak¿e ma
47 pe³n± obs³ugê protoko³u DynDNS NIC2. Ma tak¿e wsparcie dla innych
48 us³ug dynamicznego DNS. Zawiera przyk³adowe skrypty do u¿ywania z
49 DHCP, PPP i cronem. Wiêcej informacji w README.
50
51 %description -l pt_BR
52 O ddclient é um cliente perl usada para atualizar entradas DNS
53 dinâmicas em contas do serviço de DNS dinâmico gratuito. Veja
54 http://www.dyndns.org para obter detalhes sobre como obter uma conta
55 gratuita.
56
57 %prep
58 %setup -q
59
60 %install
61 rm -rf $RPM_BUILD_ROOT
62 install -d $RPM_BUILD_ROOT{/etc/rc.d/init.d,%{_sbindir}}
63
64 install sample-etc_ddclient.conf $RPM_BUILD_ROOT/etc/%{name}.conf
65 install %{name} $RPM_BUILD_ROOT%{_sbindir}
66 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
67
68 %clean
69 rm -rf $RPM_BUILD_ROOT
70
71 %post
72 /sbin/chkconfig --add %{name}
73 if [ -f /var/lock/subsys/%{name} ]; then
74         /etc/rc.d/init.d/%{name} restart >&2
75 else
76         echo "Run \"/etc/rc.d/init.d/%{name} start\" to start %{name} daemon."
77 fi
78
79 %preun
80 if [ "$1" = "0" ]; then
81         if [ -f /var/lock/subsys/%{name} ]; then
82                 /etc/rc.d/init.d/%{name} stop >&2
83         fi
84         /sbin/chkconfig --del %{name}
85 fi
86
87 %files
88 %defattr(644,root,root,755)
89 %doc README*
90 %attr(755,root,root) %{_sbindir}/*
91 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/%{name}.conf
92 %attr(754,root,root) /etc/rc.d/init.d/%{name}
This page took 0.058652 seconds and 4 git commands to generate.