| t@@ -36,23 +36,27 @@ ${RPM_BUILD_ROOT}/usr/bin/dopewars -C ${RPM_BUILD_ROOT}/usr/share/dopewars.sco
rm -rf ${RPM_BUILD_ROOT}
%files
-%doc ChangeLog LICENCE README
-%doc doc/aiplayer.html doc/clientplay.html doc/configfile.html doc/credits.html
-%doc doc/developer.html doc/example-cfg doc/i18n.html doc/index.html
-%doc doc/installation.html doc/metaserver.html doc/server.html
-%doc doc/servercommands.html doc/windows.html
-/usr/bin/dopewars
-%config /usr/share/dopewars.sco
-/usr/man/man6/dopewars.6.gz
-/usr/share/gnome/apps/Games/dopewars.desktop
-/usr/share/pixmaps/dopewars-pill.png
-/usr/share/pixmaps/dopewars-weed.png
-/usr/share/pixmaps/dopewars-shot.png
-/usr/share/locale/de/LC_MESSAGES/dopewars.mo
-/usr/share/locale/pl/LC_MESSAGES/dopewars.mo
-/usr/share/locale/pt_BR/LC_MESSAGES/dopewars.mo
-/usr/share/locale/fr/LC_MESSAGES/dopewars.mo
+%attr(-,root,root) %doc ChangeLog LICENCE README
+%attr(-,root,root) %doc doc/aiplayer.html doc/clientplay.html
+%attr(-,root,root) %doc doc/configfile.html doc/credits.html doc/developer.html
+%attr(-,root,root) %doc doc/example-cfg doc/i18n.html doc/index.html
+%attr(-,root,root) %doc doc/installation.html doc/metaserver.html
+%attr(-,root,root) %doc doc/server.html doc/servercommands.html
+%attr(-,root,root) %doc doc/windows.html
+%attr(2755,root,games) /usr/bin/dopewars
+%attr(0660,root,games) %config /usr/share/dopewars.sco
+%attr(-,root,root) /usr/man/man6/dopewars.6.gz
+%attr(-,root,root) /usr/share/gnome/apps/Games/dopewars.desktop
+%attr(-,root,root) /usr/share/pixmaps/dopewars-pill.png
+%attr(-,root,root) /usr/share/pixmaps/dopewars-weed.png
+%attr(-,root,root) /usr/share/pixmaps/dopewars-shot.png
+%attr(-,root,root) /usr/share/locale/de/LC_MESSAGES/dopewars.mo
+%attr(-,root,root) /usr/share/locale/pl/LC_MESSAGES/dopewars.mo
+%attr(-,root,root) /usr/share/locale/pt_BR/LC_MESSAGES/dopewars.mo
+%attr(-,root,root) /usr/share/locale/fr/LC_MESSAGES/dopewars.mo
%changelog
* Wed Sep 26 2001 Ben Webb
- Added support for a buildroot
+* Wed Oct 17 2001 Ben Webb
+ - Added in %attrs to allow building by non-root users |