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