summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorundefine2003-09-25 22:43:30 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commit3c349925b175bf53db6fd36db6694955e317fe12 (patch)
treebd3ecd889d65ae68115e413a5697cb1c7be40dbb
parent81ebc01d785ea84174f60f508a81cc1493ce50d4 (diff)
downloadupdatedd-3c349925b175bf53db6fd36db6694955e317fe12.zip
updatedd-3c349925b175bf53db6fd36db6694955e317fe12.tar.gz
- adapterized
Changed files: updatedd.spec -> 1.2
-rw-r--r--updatedd.spec39
1 files changed, 18 insertions, 21 deletions
diff --git a/updatedd.spec b/updatedd.spec
index 607a1cb..1d41481 100644
--- a/updatedd.spec
+++ b/updatedd.spec
@@ -5,44 +5,41 @@ Version: 1.7
Release: 1
License: GPL
Group: Networking/Admin
-Group(pl): Sieciowe/Administracyjne
-Vendor: Philipp Benner <philipp@philippb.tk>
+Vendor: Philipp Benner <philipp@philippb.tk>
Source0: http://dl.sourceforge.net/sourceforge/updatedd/%{name}-%{version}.tar.gz
# Source0-md5: 5b0c4ce09da203dbe28a7318aed3c7f3
-Patch0: updatedd_config.patch
+Patch0: %{name}-config.patch
+BuildRequires: autoconf
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-%define sbindir /usr/sbin
-%define libdir /usr/lib
%define etc /etc/updatedd
%description
-This client supports dyndns/statdns/custom, backmx, mx host, wildcard,
-offline mode and sysloging. It uses the web based IP detection and a script
-is included which can be used to run updatedd by the ppp daemon. Ovh.net,
-ods.org, no-ip.org and hn.org are also supported
+This client supports dyndns/statdns/custom, backmx, mx host, wildcard,
+offline mode and sysloging. It uses the web based IP detection and a
+script is included which can be used to run updatedd by the ppp
+daemon. Ovh.net, ods.org, no-ip.org and hn.org are also supported
%description -l pl
-Program do automatycznego aktualizowania ip w systemie dynamicznych domen
-dyndns.org, Ovh.net, ods.org, no-ip.org, hn.org
+Program do automatycznego aktualizowania ip w systemie dynamicznych
+domen dyndns.org, Ovh.net, ods.org, no-ip.org, hn.org
%prep
%setup -q
%patch0 -p1
%build
+%{__autoconf}
%configure
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{libdir}/updatedd
-install -d $RPM_BUILD_ROOT%{sbindir}
-install -d $RPM_BUILD_ROOT%{etc}
-install bin/*.so $RPM_BUILD_ROOT%{libdir}/updatedd
-install bin/updatedd $RPM_BUILD_ROOT%{sbindir}
-install Documentation/rc_updatedd* $RPM_BUILD_ROOT%{etc}
-ln -s %{libdir}/updatedd/dyndns.so $RPM_BUILD_ROOT%{libdir}/updatedd/default.so
+install -d $RPM_BUILD_ROOT{{%{_sysconfdir},%{_libdir}}/%{name},%{_sbindir}}
+install bin/*.so $RPM_BUILD_ROOT%{_libdir}/%{name}
+install bin/updatedd $RPM_BUILD_ROOT%{_sbindir}
+install Documentation/rc_updatedd* $RPM_BUILD_ROOT%{_sysconfdir}/%{name}
+ln -s %{_libdir}/%{name}/dyndns.so $RPM_BUILD_ROOT%{_libdir}/%{name}/default.so
%clean
rm -rf $RPM_BUILD_ROOT
@@ -50,6 +47,6 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc Documentation/README.german
-%attr(700,root,root) %{etc}/*
-%attr(700,root,root) %{sbindir}/*
-%{libdir}/updatedd/*
+%attr(700,root,root) %{_sysconfdir}/%{name}
+%attr(755,root,root) %{_sbindir}/*
+%{_libdir}/%{name}/*