1 Summary: A utility for automatically generating glue code to export C libraries to Guile Scheme and RScheme
2 Summary(pl): Narzêdzie do eksportowania bibliotek C do interpreterów Scheme
3 Summary(pt_BR): Um utilitário para geração automática de código para exportar bibliotecas C para guile scheme e rscheme
10 Source0: http://www.gnucash.org/pub/g-wrap/source/%{name}-%{version}.tar.gz
11 Patch0: %{name}-info.patch
12 Patch1: %{name}-ac_am_cflags.patch
13 BuildRequires: autoconf
14 BuildRequires: automake
15 BuildRequires: guile-devel >= 1.4.1
16 BuildRequires: libtool
18 BuildRequires: texinfo
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 This is a tool for specifying types, functions, and constants to
23 import into a Scheme interpreter, and for generating code (in C) to
24 interface these to the Guile and RScheme interpreters in particular.
27 To jest narzêdzie do specyfikowania typów, funkcji i sta³ych dla
28 interpretera Scheme i generowania kodu (w C) do udostêpnienia ich dla
29 interpreterów Guile i RScheme.
32 O g-wrap é uma ferramenta para especificar tipos, funções e constantes
33 para importação em um interpretador scheme e para geração de código em
34 C para fazer a interface com os interpretadores guile e rscheme.
37 Summary: Headers for developing programs using g-wrap
38 Summary(pl): Pliki nag³ówkowe do rozwijnia programów z u¿yciem g-wrap
39 Summary(pt_BR): Arquivos de inclusão e bibliotecas para o g-wrap
40 Group: Development/Libraries
41 Requires: %{name} = %{version}
44 headers for developing programs using g-wrap.
46 %description devel -l pl
47 Pliki nag³ówkowe do rozwijania programów z u¿yciem g-wrap.
49 %description devel -l pt_BR
50 Arquivos de inclusao e bibliotecas para o g-wrap.
53 Summary: Static libraries for developing programs using g-wrap
54 Summary(pl): Biblioteki statyczne g-wrap
55 Summary(pt_BR): Bibliotecas estáticas para desenvolvimento com g-wrap
56 Group: Development/Libraries
57 Requires: %{name}-devel = %{version}
60 Static libraries for developing programs using g-wrap.
62 %description static -l pl
63 Statyczne biblioteki g-wrap.
65 %description static -l pt_BR
66 Bibliotecas estáticas para desenvolvimento com a biblioteca g-wrap.
83 rm -rf $RPM_BUILD_ROOT
85 %{__make} install DESTDIR=$RPM_BUILD_ROOT
88 rm -rf $RPM_BUILD_ROOT
90 %post -p /sbin/ldconfig
91 %postun -p /sbin/ldconfig
94 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
97 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
100 %defattr(644,root,root,755)
101 %doc NEWS README ChangeLog
102 %attr(755,root,root) %{_libdir}/lib*.so.*.*
103 %attr(755,root,root) %{_libdir}/lib*.la
104 %attr(755,root,root) %{_datadir}/guile/g-wrapped/lib*.so.*
105 %attr(755,root,root) %{_datadir}/guile/g-wrapped/lib*.la
106 %{_datadir}/guile/g-wrap
107 %{_datadir}/guile/g-wrap.scm
108 %{_datadir}/guile/g-wrapped/*.scm
111 %defattr(644,root,root,755)
112 %attr(755,root,root) %{_bindir}/g-wrap-config
113 %attr(755,root,root) %{_libdir}/lib*.so
114 %attr(755,root,root) %{_datadir}/guile/g-wrapped/lib*.so
120 %defattr(644,root,root,755)
122 %{_datadir}/guile/g-wrapped/lib*.a