-## TODO: how to specify the current date in .spec? Or how to run a `command`?
-#%changelog
-#
-#* Tue 23 Oct 2001 18:52:00 UTC olicha <olivier.chapuis@free.fr>
-#- added a way to handle the debian menu system on any system
-#
-#* Thu 07 Sep 2000 20:00:00 IDT FVWM Themes Developers <fvwm-themes-devel@lists.sourceforge.net>
-#- Auto building %{PACKAGE_VERSION}
-#
-#* Thu 07 Sep 2000 20:00:00 IDT Mikhael Goikhman <migo@homemail.com>
-#- First try at making the package
+%files
+%defattr(644,root,root,755)
+# COPYING is a short note, doesn't contain full GPL text
+%doc AUTHORS COPYING INSTALL NEWS README TODO
+%doc doc/FAQ doc/README.1st doc/colorsets doc/creating-themes
+%attr(755,root,root) %{_bindir}/*
+%{_mandir}/man?/*
+%{_datadir}/fvwm/images
+%dir %{_datadir}/fvwm/locale
+%{_datadir}/fvwm/locale/en
+%lang(fr) %{_datadir}/fvwm/locale/fr
+%lang(ja) %{_datadir}/fvwm/locale/ja
+%lang(ru) %{_datadir}/fvwm/locale/ru
+%{_datadir}/fvwm/menu-system
+%{_datadir}/fvwm/sounds
+%{_datadir}/fvwm/themes
+%{_datadir}/fvwm/Fvwm*