File rfc.spec of Package rfc
#
# spec file for package rfc
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: rfc
AutoReqProv: off
Summary: The RFCs (Request For Comments)
License: SUSE-Permissive
Group: Documentation/Other
Source: rfc.tgz
BuildArch: noarch
Version: 2011.9.9
Release: 0
Url: ftp://ftp.isi.edu/in-notes
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This is the reference concerning Internet and Internet protocols. The
matter discussed might be a little too theoretical for the laymen, but
professionals can find all needed information.
%prep
%setup -q -n rfc
find -name "-*" | xargs --no-run-if-empty rm -f
find -type l | while read name ; do
test -e "$name" || rm -f "$name"
done
find -name "*.gz" | xargs -r chmod 644
%install
test -n "$RPM_BUILD_ROOT" && rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/usr/share/doc/rfc
cp -a * $RPM_BUILD_ROOT/usr/share/doc/rfc
%files
%defattr (644,root,root,755)
%doc /usr/share/doc/rfc
%changelog