Summary: A utility for automatically generating glue code to export C libraries to Guile Scheme and RScheme Summary(pl): Narzędzie do eksportowania bibliotek C do interpreterów Scheme Summary(pt_BR): Um utilitário para geraçăo automática de código para exportar bibliotecas C para guile scheme e rscheme Name: g-wrap Version: 1.9.6 Release: 1 Epoch: 2 License: LGPL Group: Libraries Source0: http://download.savannah.gnu.org/releases/g-wrap/%{name}-%{version}.tar.gz # Source0-md5: 4d83964f51376500eedced538c1620cb Patch0: %{name}-info.patch Patch1: %{name}-glib2.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: glib2-devel BuildRequires: guile-devel >= 1.4.1 # guile-gtk for gtk wrappers BuildRequires: libffi-devel BuildRequires: libtool BuildRequires: slib BuildRequires: texinfo 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. %description -l pl To jest narzędzie do specyfikowania typów, funkcji i stałych dla interpretera Scheme i generowania kodu (w C) do udostępnienia ich dla interpreterów Guile i RScheme. %description -l pt_BR O g-wrap é uma ferramenta para especificar tipos, funçőes e constantes para importaçăo em um interpretador scheme e para geraçăo de código em C para fazer a interface com os interpretadores guile e rscheme. %package devel Summary: Headers for developing programs using g-wrap Summary(pl): Pliki nagłówkowe do rozwijnia programów z użyciem g-wrap Summary(pt_BR): Arquivos de inclusăo e bibliotecas para o g-wrap Group: Development/Libraries Requires: %{name} = %{epoch}:%{version}-%{release} Requires: guile-devel >= 1.4.1 %description devel headers for developing programs using g-wrap. %description devel -l pl Pliki nagłówkowe do rozwijania programów z użyciem g-wrap. %description devel -l pt_BR Arquivos de inclusao e bibliotecas para o g-wrap. %package static Summary: Static libraries for developing programs using g-wrap Summary(pl): Biblioteki statyczne g-wrap Summary(pt_BR): Bibliotecas estáticas para desenvolvimento com g-wrap Group: Development/Libraries Requires: %{name}-devel = %{epoch}:%{version}-%{release} %description static Static libraries for developing programs using g-wrap. %description static -l pl Statyczne biblioteki g-wrap. %description static -l pt_BR Bibliotecas estáticas para desenvolvimento com a biblioteca g-wrap. %prep %setup -q %patch0 -p1 %patch1 -p1 %build #%{__libtoolize} #%{__aclocal} %{__autoconf} #%{__autoheader} #%{__automake} %configure %{__make} %install rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT # modules rm -f $RPM_BUILD_ROOT%{_libdir}/libgw-*.a %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %post devel [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 %postun devel [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 %files %defattr(644,root,root,755) %doc NEWS README ChangeLog %attr(755,root,root) %{_prefix}/lib/libgw-guile-standard.so.* %attr(755,root,root) %{_prefix}/lib/libgwrap-core-runtime.so.* %attr(755,root,root) %{_prefix}/lib/libgwrap-guile-runtime.so.* %{_datadir}/guile/site/g-wrap %{_datadir}/guile/site/srfi %{_datadir}/guile/site/g-wrap.scm %{_datadir}/info/g-wrap.info.gz %files devel %defattr(644,root,root,755) %attr(755,root,root) %{_bindir}/g-wrap-config %{_includedir}/g-wrap %{_includedir}/g-wrap*.h %{_prefix}/lib/libgw-guile-standard.la %{_prefix}/lib/libgwrap-core-runtime.la %{_prefix}/lib/libgwrap-guile-runtime.la %{_pkgconfigdir}/g-wrap-2.0-guile.pc %files static %defattr(644,root,root,755) %{_prefix}/lib/libgwrap-guile-runtime.a %{_prefix}/lib/libgwrap-core-runtime.a