]>
Commit | Line | Data |
---|---|---|
960a58cd | 1 | Summary: A utility for automatically generating glue code to export C libraries to Guile Scheme and RScheme |
ea8321f1 ER |
2 | Summary(pl.UTF-8): Narzędzie do eksportowania bibliotek C do interpreterów Scheme |
3 | Summary(pt_BR.UTF-8): Um utilitário para geração automática de código para exportar bibliotecas C para guile scheme e rscheme | |
fb018e96 | 4 | Name: g-wrap |
2ddaf620 JB |
5 | Version: 1.9.11 |
6 | Release: 1 | |
f819e66a | 7 | Epoch: 2 |
c0d93985 | 8 | License: LGPL v2.1+ |
fb018e96 | 9 | Group: Libraries |
b37613a5 | 10 | Source0: http://download.savannah.gnu.org/releases/g-wrap/%{name}-%{version}.tar.gz |
2ddaf620 | 11 | # Source0-md5: f6f54c2a2ce3d8257ccaf19f923cbe45 |
80984df2 | 12 | Patch0: %{name}-info.patch |
ffeffb38 | 13 | Patch1: %{name}-pc.patch |
6687f78e JB |
14 | URL: http://www.nongnu.org/g-wrap/ |
15 | BuildRequires: autoconf >= 2.50 | |
1a4acdd3 | 16 | BuildRequires: automake >= 1.5 |
6687f78e | 17 | BuildRequires: glib2-devel >= 2.0 |
3e0484d8 | 18 | BuildRequires: guile-devel >= 5:1.8.3 |
2ddaf620 | 19 | BuildRequires: libffi-devel >= 7:3.0 |
e17b7a5e | 20 | BuildRequires: libtool |
6687f78e | 21 | BuildRequires: pkgconfig |
e17b7a5e | 22 | BuildRequires: texinfo |
3e0484d8 | 23 | Requires: guile >= 5:1.8.3 |
80875be3 | 24 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
fb018e96 | 25 | |
26 | %description | |
27 | This is a tool for specifying types, functions, and constants to | |
28 | import into a Scheme interpreter, and for generating code (in C) to | |
29 | interface these to the Guile and RScheme interpreters in particular. | |
30 | ||
e66753c9 JR |
31 | %description -l pl.UTF-8 |
32 | To jest narzędzie do specyfikowania typów, funkcji i stałych dla | |
33 | interpretera Scheme i generowania kodu (w C) do udostępnienia ich dla | |
34 | interpreterów Guile i RScheme. | |
69e25b94 | 35 | |
e66753c9 JR |
36 | %description -l pt_BR.UTF-8 |
37 | O g-wrap é uma ferramenta para especificar tipos, funções e constantes | |
38 | para importação em um interpretador scheme e para geração de código em | |
4f55def4 | 39 | C para fazer a interface com os interpretadores guile e rscheme. |
1ab7a7cb | 40 | |
fb018e96 | 41 | %package devel |
69e25b94 | 42 | Summary: Headers for developing programs using g-wrap |
ea8321f1 ER |
43 | Summary(pl.UTF-8): Pliki nagłówkowe do rozwijnia programów z użyciem g-wrap |
44 | Summary(pt_BR.UTF-8): Arquivos de inclusão e bibliotecas para o g-wrap | |
80875be3 | 45 | Group: Development/Libraries |
58e28dd7 | 46 | Requires: %{name} = %{epoch}:%{version}-%{release} |
6687f78e | 47 | Requires: guile-devel >= 5:1.8 |
2ddaf620 | 48 | Requires: libffi-devel >= 7:3.0 |
fb018e96 | 49 | |
50 | %description devel | |
80875be3 | 51 | headers for developing programs using g-wrap. |
fb018e96 | 52 | |
e66753c9 JR |
53 | %description devel -l pl.UTF-8 |
54 | Pliki nagłówkowe do rozwijania programów z użyciem g-wrap. | |
69e25b94 | 55 | |
e66753c9 | 56 | %description devel -l pt_BR.UTF-8 |
960a58cd | 57 | Arquivos de inclusao e bibliotecas para o g-wrap. |
1ab7a7cb | 58 | |
fb018e96 | 59 | %package static |
80875be3 | 60 | Summary: Static libraries for developing programs using g-wrap |
ea8321f1 ER |
61 | Summary(pl.UTF-8): Biblioteki statyczne g-wrap |
62 | Summary(pt_BR.UTF-8): Bibliotecas estáticas para desenvolvimento com g-wrap | |
80875be3 | 63 | Group: Development/Libraries |
58e28dd7 | 64 | Requires: %{name}-devel = %{epoch}:%{version}-%{release} |
fb018e96 | 65 | |
66 | %description static | |
67 | Static libraries for developing programs using g-wrap. | |
fb018e96 | 68 | |
e66753c9 | 69 | %description static -l pl.UTF-8 |
69e25b94 JB |
70 | Statyczne biblioteki g-wrap. |
71 | ||
e66753c9 JR |
72 | %description static -l pt_BR.UTF-8 |
73 | Bibliotecas estáticas para desenvolvimento com a biblioteca g-wrap. | |
1ab7a7cb | 74 | |
fb018e96 | 75 | %prep |
76 | %setup -q | |
960a58cd | 77 | %patch0 -p1 |
ffeffb38 | 78 | %patch1 -p1 |
fb018e96 | 79 | |
fb018e96 | 80 | %build |
6687f78e JB |
81 | %{__libtoolize} |
82 | %{__aclocal} -I m4 | |
24e5f5eb | 83 | %{__autoconf} |
6687f78e JB |
84 | %{__autoheader} |
85 | %{__automake} | |
50104bd3 JB |
86 | %configure \ |
87 | --disable-Werror | |
5e362fec | 88 | |
37783ab1 | 89 | %{__make} |
fb018e96 | 90 | |
91 | %install | |
92 | rm -rf $RPM_BUILD_ROOT | |
80984df2 | 93 | |
6da4500b PG |
94 | %{__make} install \ |
95 | DESTDIR=$RPM_BUILD_ROOT | |
fb018e96 | 96 | |
6687f78e | 97 | rm -f $RPM_BUILD_ROOT%{_libdir}/g-wrap/modules/libgw-*.{a,la} |
e2f7d7bf | 98 | |
fb018e96 | 99 | %clean |
ba8cfba6 | 100 | rm -rf $RPM_BUILD_ROOT |
fb018e96 | 101 | |
102 | %post -p /sbin/ldconfig | |
103 | %postun -p /sbin/ldconfig | |
104 | ||
2ddaf620 | 105 | %post devel -p /sbin/postshell |
632a2c56 | 106 | -/usr/sbin/fix-info-dir -c %{_infodir} |
b00a8cbf | 107 | |
2ddaf620 | 108 | %postun devel -p /sbin/postshell |
632a2c56 | 109 | -/usr/sbin/fix-info-dir -c %{_infodir} |
fb018e96 | 110 | |
111 | %files | |
112 | %defattr(644,root,root,755) | |
6687f78e | 113 | %doc AUTHORS ChangeLog NEWS README THANKS TODO |
00fbba20 | 114 | %attr(755,root,root) %{_libdir}/libgwrap-core-runtime.so.*.*.* |
2ddaf620 | 115 | %attr(755,root,root) %ghost %{_libdir}/libgwrap-core-runtime.so.2 |
00fbba20 | 116 | %attr(755,root,root) %{_libdir}/libgwrap-guile-runtime.so.*.*.* |
2ddaf620 | 117 | %attr(755,root,root) %ghost %{_libdir}/libgwrap-guile-runtime.so.2 |
6687f78e JB |
118 | %dir %{_libdir}/g-wrap |
119 | %dir %{_libdir}/g-wrap/modules | |
120 | %attr(755,root,root) %{_libdir}/g-wrap/modules/libgw-guile-gw-glib.so* | |
121 | %attr(755,root,root) %{_libdir}/g-wrap/modules/libgw-guile-standard.so* | |
108993c5 | 122 | %{_datadir}/guile/site/g-wrap |
108993c5 | 123 | %{_datadir}/guile/site/g-wrap.scm |
00fbba20 | 124 | %{_infodir}/g-wrap.info* |
fb018e96 | 125 | |
126 | %files devel | |
127 | %defattr(644,root,root,755) | |
fb018e96 | 128 | %attr(755,root,root) %{_bindir}/g-wrap-config |
00fbba20 JB |
129 | %attr(755,root,root) %{_libdir}/libgwrap-core-runtime.so |
130 | %attr(755,root,root) %{_libdir}/libgwrap-guile-runtime.so | |
07062da7 ER |
131 | %{_libdir}/libgwrap-core-runtime.la |
132 | %{_libdir}/libgwrap-guile-runtime.la | |
00fbba20 | 133 | %{_includedir}/g-wrap |
c0d93985 | 134 | %{_includedir}/g-wrap-wct.h |
b37613a5 | 135 | %{_pkgconfigdir}/g-wrap-2.0-guile.pc |
6687f78e | 136 | %{_aclocaldir}/g-wrap.m4 |
fb018e96 | 137 | |
138 | %files static | |
139 | %defattr(644,root,root,755) | |
07062da7 ER |
140 | %{_libdir}/libgwrap-guile-runtime.a |
141 | %{_libdir}/libgwrap-core-runtime.a |