Summary: A tool for creating Scheme interfaces to C libraries Name: g-wrap Version: 1.9.11 Release: 1sgt Group: Development/Libraries License: GPL Requires: guile BuildRoot: %{_tmppath}/%{name}-%{version}-root Prereq: /sbin/ldconfig Source: http://savannah.nongnu.org/download/g-wrap/g-wrap-%{version}.tar.gz Patch0: g-wrap-1.9.11.warn.patch Patch1: g-wrap-1.9.11.pkgconfig.patch BuildPrereq: guile-devel slib glib-devel pkgconfig autoconf %description This is a tool for specifying types, functions, and constants to import into a Scheme interpreter, and for generating code (in C) to interface these to the Guile and RScheme interpreters in particular. %package devel Summary: Include files and libraries needed for g-wrap development. Group: Development/Libraries Prereq: /sbin/install-info Requires: g-wrap = %{version}, guile-devel, pkgconfig %description devel g-wrap-devel contains development libraries and headers for g-wrap. You can provide access to a given C API by creating a specification file describing the interface you want published at the Scheme level. g-wrap will handle generating all the lower level library interface code so that the C library shows up as a set of Scheme functions. You should install g-wrap-devel if you need to compile programs that need to use g-wrap C<->Scheme functionality %prep %setup -n g-wrap-%{version} -q %patch0 %patch1 %build export CFLAGS="$RPM_OPT_FLAGS -fPIC" %configure --disable-static make %install rm -rf %{buildroot} make install DESTDIR=%{buildroot} %clean #rm -rf %{buildroot} %post -p /sbin/ldconfig %post devel /sbin/install-info \ --info-dir=%{_infodir} %{_infodir}/g-wrap.info.gz %postun -p /sbin/ldconfig %postun devel if [ "$1" = "0" ]; then /sbin/install-info --delete \ --info-dir=%{_infodir} %{_infodir}/g-wrap.info.gz fi %files %defattr(-,root,root) %doc AUTHORS COPYING.LIB ChangeLog INSTALL NEWS README THANKS %{_libdir}/g-wrap/modules/*.so.* %{_libdir}/g-wrap/modules/*.la %{_libdir}/*.so.* %{_libdir}/*.la %{_datadir}/guile/site/* %{_datadir}/aclocal/* %files devel %defattr(-,root,root) %{_bindir}/* %{_libdir}/*.so %{_includedir}/* %{_libdir}/pkgconfig/* %doc %{_infodir}/g-wrap.info* %changelog * Sat Dec 27 2008 Steve Tell - 1.9.11 - update to 1.9.11 * Tue May 29 2007 Steve Tell - 1.9.9-RC1.1sgt - update to 1.9.9-RC1 * Sun May 27 2007 Steve Tell - 1.9.8-1sgt - update to 1.9.8 * Sun Jan 28 2007 Steve Tell 1.9.7 - update to 1.9.7 * Mon Feb 27 2006 Bill Nottingham 1.9.6-2 - don't use an executable stack (#183287) * Sat Feb 18 2006 Bill Nottingham 1.9.6-1 - update to 1.9.6, to fix incompatiblity with gcc-4.x - disable static libs * Fri Feb 10 2006 Jesse Keating - 1.3.4-9.2.1 - bump again for double-long bug on ppc(64) * Tue Feb 07 2006 Jesse Keating - 1.3.4-9.2 - rebuilt for new gcc4.1 snapshot and glibc changes * Fri Dec 09 2005 Jesse Keating - rebuilt * Thu Jul 7 2005 Bill Nottingham 1.3.4-9 - add patch for M4 quoting (#162649, ) * Mon Mar 7 2005 Bill Nottingham 1.3.4-8 - rebuild * Tue Jun 22 2004 Than Ngo 1.3.4-7 - don't run make check on x86_64, it doesn't like new guile - fix build problem on x86_64/s390* * Tue Jun 15 2004 Elliot Lee - rebuilt * Tue Mar 02 2004 Elliot Lee - rebuilt * Fri Feb 13 2004 Elliot Lee - rebuilt * Wed Jun 18 2003 Bill Nottingham 1.3.4-4 - don't run make check on x86_64, it doesn't like new guile * Wed Jun 04 2003 Elliot Lee - rebuilt * Wed Jan 22 2003 Tim Powers - rebuilt * Tue Jan 14 2003 Bill Nottingham 1.3.4-2 - move .la files to main package (#79068) * Mon Dec 23 2002 Bill Nottingham 1.3.4-1 - update to 1.3.4 * Wed Dec 4 2002 Bill Nottingham 1.3.2-2 - rebuild (self hosting? what's that?) * Tue Dec 3 2002 Bill Nottingham 1.3.2-1 - update to 1.3.2 * Tue Dec 3 2002 Bill Nottingham 1.2.1-9 - rebuild against new guile * Mon Nov 11 2002 Tim Powers 1.2.1-8 - rebuild to fix broken deps * Wed Nov 6 2002 Bill Nottingham 1.2.1-7 - unautomated rebuild - make it self-host (#71614) * Fri Jun 21 2002 Tim Powers - automated rebuild * Thu May 23 2002 Tim Powers - automated rebuild * Mon Apr 8 2002 Bill Nottingham - rebuild against fixed guile * Thu Feb 21 2002 Bill Nottingham - rebuild * Tue Jan 29 2002 Bill Nottingham - rebuild, thwack dependencies * Fri Jan 25 2002 Bill Nottingham - rebuild against new guile, update to 1.2.1 * Thu Jan 24 2002 Bill Nottingham - rebuild * Fri Aug 9 2001 Bill Nottingham - fix builds for users without /sbin in their path * Wed Aug 8 2001 Bill Nottingham - fix build - put a .so link in the g-wrapped directory in the main package (fixes #51129) * Fri Jul 6 2001 Bill Nottingham - tweak dependencies * Wed Jun 27 2001 Bill Nottingham - add info dir entry * Wed Jun 6 2001 Bill Nottingham - update to 1.1.10 - split out devel package * Tue Aug 1 2000 Tim Powers - fixed group to be a valid one - fix bug #15038 * Mon Jul 24 2000 Prospector - rebuilt * Tue Jul 11 2000 Tim Powers - rebuilt * Wed Jul 05 2000 Preston Brown - adopted for Powertools 7.1