]> git.pld-linux.org Git - packages/g-wrap.git/blame - g-wrap.spec
- added srfi-35-fixes patch (to use srfi-35 in proper way)
[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
c0d93985 5Version: 1.9.9
3e0484d8 6Release: 2
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
c0d93985 11# Source0-md5: 9014d7ed8d395ff335a6a4bf5778ed4e
80984df2 12Patch0: %{name}-info.patch
3e0484d8 13Patch1: %{name}-srfi-35-fixes.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
b37613a5 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
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
3e0484d8 77%patch1 -p0
fb018e96 78
fb018e96 79%build
6687f78e
JB
80%{__libtoolize}
81%{__aclocal} -I m4
24e5f5eb 82%{__autoconf}
6687f78e
JB
83%{__autoheader}
84%{__automake}
50104bd3
JB
85%configure \
86 --disable-Werror
5e362fec 87
37783ab1 88%{__make}
fb018e96 89
90%install
91rm -rf $RPM_BUILD_ROOT
80984df2 92
6da4500b
PG
93%{__make} install \
94 DESTDIR=$RPM_BUILD_ROOT
fb018e96 95
6687f78e 96rm -f $RPM_BUILD_ROOT%{_libdir}/g-wrap/modules/libgw-*.{a,la}
e2f7d7bf 97
fb018e96 98%clean
ba8cfba6 99rm -rf $RPM_BUILD_ROOT
fb018e96 100
101%post -p /sbin/ldconfig
102%postun -p /sbin/ldconfig
103
104%post devel
eddcb997 105[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
b00a8cbf 106
fb018e96 107%postun devel
eddcb997 108[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
fb018e96 109
110%files
111%defattr(644,root,root,755)
6687f78e 112%doc AUTHORS ChangeLog NEWS README THANKS TODO
00fbba20
JB
113%attr(755,root,root) %{_libdir}/libgwrap-core-runtime.so.*.*.*
114%attr(755,root,root) %{_libdir}/libgwrap-guile-runtime.so.*.*.*
6687f78e
JB
115%dir %{_libdir}/g-wrap
116%dir %{_libdir}/g-wrap/modules
117%attr(755,root,root) %{_libdir}/g-wrap/modules/libgw-guile-gw-glib.so*
118%attr(755,root,root) %{_libdir}/g-wrap/modules/libgw-guile-standard.so*
108993c5 119%{_datadir}/guile/site/g-wrap
108993c5 120%{_datadir}/guile/site/g-wrap.scm
00fbba20 121%{_infodir}/g-wrap.info*
fb018e96 122
123%files devel
124%defattr(644,root,root,755)
fb018e96 125%attr(755,root,root) %{_bindir}/g-wrap-config
00fbba20
JB
126%attr(755,root,root) %{_libdir}/libgwrap-core-runtime.so
127%attr(755,root,root) %{_libdir}/libgwrap-guile-runtime.so
07062da7
ER
128%{_libdir}/libgwrap-core-runtime.la
129%{_libdir}/libgwrap-guile-runtime.la
00fbba20 130%{_includedir}/g-wrap
c0d93985 131%{_includedir}/g-wrap-wct.h
b37613a5 132%{_pkgconfigdir}/g-wrap-2.0-guile.pc
6687f78e 133%{_aclocaldir}/g-wrap.m4
fb018e96 134
135%files static
136%defattr(644,root,root,755)
07062da7
ER
137%{_libdir}/libgwrap-guile-runtime.a
138%{_libdir}/libgwrap-core-runtime.a
This page took 0.101973 seconds and 4 git commands to generate.