File vrfy.spec of Package vrfy

#
# spec file for package vrfy (Version 990522)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:           vrfy
License:        Other License(s), see package
Group:          Productivity/Networking/Email/Utilities
Autoreqprov:    on
Version:        990522
Release:        478
Source:         %{name}_%{version}.tar.bz2
Patch0:         %{name}_%{version}-makefile.patch   
Patch1:         %{name}_%{version}-varargs.diff	
Patch2:         %{name}_%{version}-strerror.diff
URL:            http://www.nikhef.nl/user/e07
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Summary:        Tool to verify e-mail addresses and mailing lists

%description
'vrfy' is a tool to verify e-mail addresses and mailing lists. In its
simplest form, it takes an address "user@domain", figures out the MX
hosts for "domain", and issues the SMTP command VRFY at the primary MX
host (optionally all) or at "domain" itself if no MX hosts exist.
Without "domain" it goes to "localhost".



Authors:
--------
    Eric Wassenaar (e07@nikhef.nl)

%prep
%setup  -c -n %{name}_%{version}
%patch0
%patch1
%patch2    

%build
make COPTS="$RPM_OPT_FLAGS"

%install
mkdir -p $RPM_BUILD_ROOT/usr/bin 
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1/
make DESTDIR=$RPM_BUILD_ROOT STRIP= install
make DESTDIR=$RPM_BUILD_ROOT man

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc RELEASE_NOTES 
%doc %{_mandir}/man1/vrfy*
/usr/bin/*

%changelog -n vrfy
* Sun Feb 11 2007 - ro@suse.de
- fix build as non-root (no chown in install)
* Mon Jul 10 2006 - anicka@suse.cz
- rewrite functions with optional arguments, fixes [#188991]
- use strerror instead of errlist
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Sun Jan 15 2006 - schwab@suse.de
- Use RPM_OPT_FLAGS.
- Don't strip binaries.
* Thu Sep 20 2001 - adostal@suse.cz
- fix manual pages in patch and spec file
* Mon Jun 04 2001 - adostal@suse.cz
- creation a new package and patch the makefile (DESTBIN, DESTMAN, GROUP, PROG)
openSUSE Build Service is sponsored by