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