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://download.savannah.gnu.org/releases/g-wrap/%{name}-%{version}.tar.gz
11 # Source0-md5: 4d83964f51376500eedced538c1620cb
12 Patch0: %{name}-info.patch
13 Patch1: %{name}-glib2.patch
14 BuildRequires: autoconf
15 BuildRequires: automake
16 BuildRequires: glib2-devel
17 BuildRequires: guile-devel >= 1.4.1
18 # guile-gtk for gtk wrappers
19 BuildRequires: libffi-devel
20 BuildRequires: libtool
22 BuildRequires: texinfo
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 This is a tool for specifying types, functions, and constants to
27 import into a Scheme interpreter, and for generating code (in C) to
28 interface these to the Guile and RScheme interpreters in particular.
31 To jest narzêdzie do specyfikowania typów, funkcji i sta³ych dla
32 interpretera Scheme i generowania kodu (w C) do udostêpnienia ich dla
33 interpreterów Guile i RScheme.
36 O g-wrap é uma ferramenta para especificar tipos, funções e constantes
37 para importação em um interpretador scheme e para geração de código em
38 C para fazer a interface com os interpretadores guile e rscheme.
41 Summary: Headers for developing programs using g-wrap
42 Summary(pl): Pliki nag³ówkowe do rozwijnia programów z u¿yciem g-wrap
43 Summary(pt_BR): Arquivos de inclusão e bibliotecas para o g-wrap
44 Group: Development/Libraries
45 Requires: %{name} = %{epoch}:%{version}-%{release}
46 Requires: guile-devel >= 1.4.1
49 headers for developing programs using g-wrap.
51 %description devel -l pl
52 Pliki nag³ówkowe do rozwijania programów z u¿yciem g-wrap.
54 %description devel -l pt_BR
55 Arquivos de inclusao e bibliotecas para o g-wrap.
58 Summary: Static libraries for developing programs using g-wrap
59 Summary(pl): Biblioteki statyczne g-wrap
60 Summary(pt_BR): Bibliotecas estáticas para desenvolvimento com g-wrap
61 Group: Development/Libraries
62 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
65 Static libraries for developing programs using g-wrap.
67 %description static -l pl
68 Statyczne biblioteki g-wrap.
70 %description static -l pt_BR
71 Bibliotecas estáticas para desenvolvimento com a biblioteca g-wrap.
89 rm -rf $RPM_BUILD_ROOT
92 DESTDIR=$RPM_BUILD_ROOT
95 rm -f $RPM_BUILD_ROOT%{_libdir}/libgw-*.a
98 rm -rf $RPM_BUILD_ROOT
100 %post -p /sbin/ldconfig
101 %postun -p /sbin/ldconfig
104 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
107 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
110 %defattr(644,root,root,755)
111 %doc NEWS README ChangeLog
112 %attr(755,root,root) %{_prefix}/lib/libgw-guile-standard.so.*
113 %attr(755,root,root) %{_prefix}/lib/libgwrap-core-runtime.so.*
114 %attr(755,root,root) %{_prefix}/lib/libgwrap-guile-runtime.so.*
115 /usr/share/guile/site/g-wrap
116 /usr/share/guile/site/srfi
117 %{_datadir}/info/g-wrap.info.gz
123 %defattr(644,root,root,755)
124 %attr(755,root,root) %{_bindir}/g-wrap-config
126 %{_prefix}/lib/libgw-guile-standard.la
127 %{_prefix}/lib/libgwrap-core-runtime.la
128 %{_prefix}/lib/libgwrap-guile-runtime.la
129 %{_pkgconfigdir}/g-wrap-2.0-guile.pc
132 %defattr(644,root,root,755)
133 %{_prefix}/lib/libgwrap-guile-runtime.a
134 %{_prefix}/lib/libgwrap-core-runtime.a