%setup
%build
-CXXFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr
+CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr
make
%install
./configure --srcdir
%files
-%attr(-,root,root) %doc ABOUT-NLS ANNOUNCE CHANGES COPYING
-%attr(-,root,root) %doc README UPGRADING WHATSNEW
+%attr(-,root,root) %doc ABOUT-NLS ANNOUNCE OLD-CHANGES COPYING
+%attr(-,root,root) %doc README UPGRADING ChangeLog NEWS
%attr(-,root,root) %doc lib/CREDITS README.reLyX
%attr(-,root,root) /usr/bin/*