File testpkg.spec of Package testpkg

Summary: Test package
Name: testpkg
Version: 0.1
Release: 1%{?dist}
License: GPLv2+
Group: Development/Tools
BuildArch: noarch
Vendor: Oleg Girko <ol@infoserver.lv>
Packager: Oleg Girko <ol@infoserver.lv>
Source1: COPYING

%description
This is a test package.

%prep
%setup -n %{name}-%{version} -c -T
cat > README <<EOF
This is a test package.
EOF
%{__cp} %{SOURCE1} .

%build

%install

%files
%defattr(-,root,root)
%doc README
%license COPYING