-Summary: Stop Bill from loading his OS into all the computers.
-Name: xbill
-Version: 2.0
-Release: 6
-Copyright: MIT
-Group: Amusements/Games
-Source: ftp://ftp.x.org/contrib/games/xbill-2.0.tgz
-Patch0: xbill-2.0-rh.patch
-BuildRoot: /var/tmp/xbill-root
+Summary: Stop Bill from loading his OS into all the computers.
+Name: xbill
+Version: 2.0
+Release: 6
+Copyright: MIT
+Group: Amusements/Games
+Source: ftp://ftp.x.org/contrib/games/%{name}-%{version}.tgz
+Patch: xbill-2.0-rh.patch
+BuildRoot: /tmp/%{name}-%{version}-root
%description
The xbill game tests your reflexes as you seek out and destroy all forms
%prep
%setup -q
-%patch -p1 -b .rh
+%patch -p1
%build
xmkmf
rm -rf $RPM_BUILD_ROOT
%files
-%defattr(-,root,root)
+%defattr(644,root,root,755)
%attr(2755,root,games) /usr/X11R6/bin/xbill
-%attr(0775,root,games) %dir /var/lib/games/xbill
-%attr(0664,root,games) %config /var/lib/games/xbill/scores
-/var/lib/games/xbill/bitmaps
-/var/lib/games/xbill/pixmaps
+%attr(775,root,games) %dir /var/state/games/xbill
+%attr(664,root,games) %config /var/state/games/xbill/scores
+/var/state/games/xbill/bitmaps
+/var/state/games/xbill/pixmaps
/usr/lib/xbill
%config /etc/X11/wmconfig/xbill