dyndnsupdate/dyndnsupdate.spec

Name: dyndnsupdate
Summary: Update dndns hosts
Version: 0.8
Release: 1.2
License: GPL
Group: Applications/Internet
URL: http://lillesvin.linux.dk/dyndnsupdate/
Description: DynDNSupdate is a small Bash-script to update your dyndns hosts at reboot or from cron. It simply consists of 2 files, dyndnsupdate and dyndns.hosts. dyndns.hosts holds information for the dyndns hosts, dyndnsupdate simply processes the URLs in dyndns.hosts.

CentOS 7 x86_64

The build could not start because the following file is missing: dyndnsupdate-0.8.tar.gz

Build Status

CentOS 6 x86_64

The build could not start because the following file is missing: dyndnsupdate-0.8.tar.gz

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dries

# Screenshot: http://lillesvin.linux.dk/dyndnsupdate_screenshot.jpg

Summary: Update dndns hosts
Name: dyndnsupdate
Version: 0.8
Release: 1.2%{?dist}
License: GPL
Group: Applications/Internet
URL: http://lillesvin.linux.dk/dyndnsupdate/

Source: http://lillesvin.linux.dk/stuff/dyndnsupdate-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

%description
DynDNSupdate is a small Bash-script to update your dyndns hosts at reboot or
from cron. It simply consists of 2 files, dyndnsupdate and dyndns.hosts.
dyndns.hosts holds information for the dyndns hosts, dyndnsupdate simply
processes the URLs in dyndns.hosts.

%prep
%setup

%build
# nothing to build...
%{__perl} -pi.orig -e 's|^some|#some|g' dyndns.hosts.example

%install
%{__rm} -rf %{buildroot}
%{__install} -Dp -m 755 dyndnsupdate %{buildroot}%{_bindir}/dyndnsupdate
%{__install} -Dp -m 644 dyndns.hosts.example %{buildroot}%{_sysconfdir}/dyndns.hosts

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc README
%{_bindir}/dyndnsupdate
%config(noreplace) %{_sysconfdir}/dyndns.hosts

%changelog
* Sat Apr 08 2006 Dries Verachtert <dries@ulyssis.org> - 0.8-1.2
- Rebuild for Fedora Core 5.

* Sat May 29 2004 Dries Verachtert <dries@ulyssis.org> - 0.8-1
- Initial package.