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