]> git.pld-linux.org Git - packages/ez-ipupdate.git/commitdiff
- initial pld release
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 9 Jul 2003 08:13:40 +0000 (08:13 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ez-ipupdate.spec -> 1.1

ez-ipupdate.spec [new file with mode: 0644]

diff --git a/ez-ipupdate.spec b/ez-ipupdate.spec
new file mode 100644 (file)
index 0000000..9430878
--- /dev/null
@@ -0,0 +1,85 @@
+Summary:        Client for Dynamic DNS Services
+Name:          ez-ipupdate
+Version:       3.0.11b8
+Release:       1
+Group:          Networking
+License:       GPL
+Source0:       http://www.gusnet.cx/proj/ez-ipupdate/dist/%{name}-%{version}.tar.gz
+# Source0-md5: 000211add4c4845ffa4211841bff4fb0
+Source1:       %{name}.init
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: perl
+URL:           http://www.gusnet.cx/proj/ez-ipupdate/
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+ez-ipupdate is a small utility for updating your host name for any of
+the dynamic DNS service offered at:
+
+    - http://www.ez-ip.net
+    - http://www.justlinux.com
+    - http://www.dhs.org
+    - http://www.dyndns.org
+    - http://www.ods.org
+    - http://gnudip.cheapnet.net (GNUDip)
+    - http://www.dyn.ca (GNUDip)
+    - http://www.tzo.com
+    - http://www.easydns.com
+    - http://www.dyns.cx
+    - http://www.hn.org
+    - http://www.zoneedit.com
+
+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}
+
+%prep
+%setup -q
+
+%build
+install %{_datadir}/automake/config.* .
+%{__aclocal}
+%{__autoconf}
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/%{name}
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/%{name}
+touch $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.conf
+
+perl -pi -e "s|\%{_prefix}\/local\/bin|\%{_prefix}\/bin|" *.conf
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%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
+
+%preun
+if [ "$1" = "0" ]; then
+        if [ -f /var/lock/subsys/%{name} ]; then
+                /etc/rc.d/init.d/%{name} stop >&2
+        fi
+        /sbin/chkconfig --del %{name}
+fi
+
+%files
+%defattr(644,root,root,755)
+%doc README CHANGELOG
+%doc *.conf
+%attr(755,root,root) %{_bindir}/*
+%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/%{name}.conf
+%attr(754,root,root) %{_sysconfdir}/rc.d/init.d/%{name}
This page took 0.08253 seconds and 4 git commands to generate.