Пакет openresolv: Specfile

Name: openresolv
Version: 3.2
Release: alt2

Summary: A framework for managing DNS information 
License: %bsdstyle
Group: System/Configuration/Networking

URL: http://roy.marples.name/projects/%name
Source: %name-%version.tar
Patch0: %name-%version-%release.patch
Packager: Mikhail Efremov <sem@altlinux.org>
BuildArch: noarch

BuildRequires: rpm-build-licenses

%description
resolvconf is the middleman between the network 
configuration services and /etc/resolv.conf. 
resolvconf itself is just a script that stores, 
removes and lists a full resolv.conf generated 
for the interface. It then calls all the helper 
scripts it knows about so it can configure the real 
/etc/resolv.conf and optionally any local nameservers 
other can libc. 

%prep
%setup -q
%patch0 -p1

%build
%make_build PREFIX="" LIBEXECDIR=/lib/resolvconf

%install
%make_install PREFIX="" LIBEXECDIR=/lib/resolvconf DESTDIR=%buildroot install
install -d %buildroot%_sysconfdir/hooks/resolv.conf.d/

%files
/sbin/*
%_man5dir/*
%_man8dir/*
%dir /lib/resolvconf
/lib/resolvconf/*
%config(noreplace) %_sysconfdir/resolvconf.conf
%_sysconfdir/hooks/resolv.conf.d

%changelog
* Mon Apr 20 2009 Mikhail Efremov <sem@altlinux.org> 3.2-alt2
- fixed FILES section in man page.

* Mon Apr 20 2009 Mikhail Efremov <sem@altlinux.org> 3.2-alt1
- 3.2

* Mon Mar 30 2009 Mikhail Efremov <sem@altlinux.org> 3.1.1-alt3
- fix service restarting

* Mon Mar 23 2009 Mikhail Efremov <sem@altlinux.org> 3.1.1-alt2
- some minor changes in dnsmasq and named subscribers scripts.
- Set more quotes, masquerade dnsmasq and dbus-tools deps (thx raorn@).

* Fri Mar 20 2009 Mikhail Efremov <sem@altlinux.org> 3.1.1-alt1
- 3.1.1 

* Mon Mar 16 2009 Stanislav Ievlev <inger@altlinux.org> 2.0.1-alt2
- Build for Sisyphus

* Wed Feb 25 2009 Mikhail Efremov <sem@altlinux.org> 2.0.1-alt1
- initial build