Summary: A tool for exporting C libraries into Scheme interpreters Name: g-wrap Version: 1.1.10 Release: 2 License: GPL Group: Libraries Group(de): Libraries Group(fr): Librairies Group(pl): Biblioteki Source0: ftp://ftp.gnucash.org/pub/g-wrap/%{name}-%{version}.tar.gz Patch0: %{name}-info.patch BuildRequires: guile-devel >= 1.4 BuildRequires: texinfo BuildRequires: slib BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %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: headers for developing programs using g-wrap Group: Development/Libraries Group(de): Entwicklung/Libraries Group(fr): Development/Librairies Group(pl): Programowanie/Biblioteki Requires: %{name} = %{version} %description devel headers for developing programs using g-wrap. %package static Summary: Static libraries for developing programs using g-wrap Summary(pl): Biblioteki statyczne g-wrap Group: Development/Libraries Group(de): Entwicklung/Libraries Group(fr): Development/Librairies Group(pl): Programowanie/Biblioteki Requires: %{name}-devel = %{version} %description static Static libraries for developing programs using g-wrap. %prep %setup -q %patch -p1 %build %configure %{__make} %install rm -rf $RPM_BUILD_ROOT %{__make} install DESTDIR=$RPM_BUILD_ROOT gzip -9nf NEWS README ChangeLog %clean #rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %post devel %fix_info_dir %postun devel %fix_info_dir %files %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/lib*.so.*.* %attr(755,root,root) %{_datadir}/guile/g-wrapped/lib*.so.* %{_datadir}/guile/g-wrap %{_datadir}/guile/g-wrap.scm %{_datadir}/guile/g-wrapped/*.scm %files devel %defattr(644,root,root,755) %doc {NEWS,README,ChangeLog}.gz %attr(755,root,root) %{_bindir}/g-wrap-config %attr(755,root,root) %{_libdir}/lib*.so %attr(755,root,root) %{_libdir}/lib*.la %attr(755,root,root) %{_datadir}/guile/g-wrapped/lib*.so %attr(755,root,root) %{_datadir}/guile/g-wrapped/lib*.la %{_includedir}/*.h %{_infodir}/* %files static %defattr(644,root,root,755) %{_libdir}/lib*.a %{_datadir}/guile/g-wrapped/lib*.a