Please find attached the xforms.spec file. The changes I did are described in its changelog.
Best regards, -- Zvezdan Petkovic <[EMAIL PROTECTED]> http://www.cs.wm.edu/~zvezdan/
%define libname libforms %define rel release %define xdir X11R6 Summary: XForms library Name: xforms Version: 1.0 Release: %{rel} License: LGPL Group: System/Libraries Source0: ftp://ncmir.ucsd.edu/pub/xforms/OpenSource/%{name}-%{version}-%{rel}.tgz Patch: %{name}-%{version}.patch URL: http://world.std.com/~xforms/ BuildRequires: xpm BuildRequires: xpm-devel BuildRoot: %{_tmppath}/%{name}-%{version}-root Prefix: %{_prefix} %description XForms is a GUI toolkit based on Xlib for X Window Systems. It features a rich set of objects, such as buttons, sliders, menus, etc., integrated into an easy and efficient object/event callback execution model that allows fast and easy construction of X-applications. In addition, the library is extensible and new objects can easily be created and added to the library. %package -n %{libname} Summary: XForms Library Group: System/Libraries Provides: %{name} %description -n %{libname} XForms libraries. %package -n %{libname}-devel Summary: XForms development header files Group: System/Libraries Requires: %{libname} Provides: %{name} %description -n %{libname}-devel XForms header files for development. %prep %setup -q -n %{name}-%{version}-%{rel} %patch -p0 %build xmkmf -a make %install rm -rf $RPM_BUILD_ROOT #%makeinstall_std DESTDIR=$RPM_BUILD_ROOT OWNER=$UID GROUP=$GROUPS make install DESTDIR=$RPM_BUILD_ROOT make install.man DESTDIR=$RPM_BUILD_ROOT %post -n %{libname} /sbin/ldconfig %postun -n %{libname} /sbin/ldconfig %clean rm -rf $RPM_BUILD_ROOT %files -n %{libname} %defattr(-,root,root) %doc COPYING Copyright Changes 00README README.OS2 %attr(755,root,root) %{_prefix}/%{xdir}/bin/* %attr(755,root,root) %{_prefix}/%{xdir}/lib/*.so.* %files -n %{libname}-devel %defattr(-,root,root) %attr(755,root,root) %{_prefix}/%{xdir}/lib/*.a %attr(644,root,root) %{_prefix}/%{xdir}/include/X11/* %changelog * Mon Feb 10 2003 Zvezdan Petkovic <[EMAIL PROTECTED]> - Commented out makeinstall_std because of use of fg without job control error. - Fixed the permissions for include files to 644 instead of 755. - Added Requires to devel package to make it depend on libforms. - Added xdir macro so that package can be moved easier. - Used macros consistently. * Sat Dec 21 2002 Kayvan A. Sylvan <[EMAIL PROTECTED]> 1.0-release - Fixed up patch from 1.0-RC5. * Sun Oct 6 2002 Kayvan A. Sylvan <[EMAIL PROTECTED]> 1.0-RC5 - Changed /usr/local to /usr/X11R6 and set BuildGL to NO. - Added %post and %postun section for /sbin/ldconfig. * Sun Jul 14 2002 Greg Hosler <[EMAIL PROTECTED]> 1.0-RC4 - Pass DESTDIR to makeinstall_std. * Thu Jul 11 2002 Peter Galbraith <[EMAIL PROTECTED]> 1.0-RC4 - Move from libxforms to libforms to match other distros. * Tue Jul 8 2002 Chris Freeze <[EMAIL PROTECTED]> 1.0-RC4 - First stab at spec file.