]> git.pld-linux.org Git - packages/ffcall.git/blame - ffcall.spec
- __make -j1
[packages/ffcall.git] / ffcall.spec
CommitLineData
cac2c25e 1Summary: Libraries for building foreign function call interfaces
8445a4fb 2Summary(pl.UTF-8): Biblioteki do tworzenia interfejsów wywołań obcych funkcji
cac2c25e 3Name: ffcall
d6a69793 4Version: 1.10
87c4ec88 5Release: 1
cac2c25e
JB
6Epoch: 1
7License: GPL
8Group: Libraries
d6a69793
JB
9Source0: ftp://ftp.santafe.edu/pub/gnu/%{name}-%{version}.tar.gz
10# Source0-md5: 2db95007e901f3bc2ae7e5a9fe9ebea4
cac2c25e
JB
11URL: http://www.haible.de/bruno/packages-ffcall.html
12BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14%description
15This is a collection of four libraries which can be used to build
16foreign function call interfaces in embedded interpreters.
17
18The four packages are:
19- avcall - calling C functions with variable arguments
20- vacall - C functions accepting variable argument prototypes
21- trampoline - closures as first-class C functions
22- callback - closures with variable arguments as first-class C
23 functions (a reentrant combination of vacall and trampoline)
24
25This version B includes some minor configuration changes so that files
26are installed in the proper place. Also it compiles on cygwin and
27mingw32.
28
304739ce
JR
29%description -l pl.UTF-8
30To jest zestaw czterech bibliotek, których można użyć do tworzenia
31interfejsów wywołań obcych procedur we wbudowanych interpreterach.
cac2c25e
JB
32
33Te cztery pakiety to:
304739ce
JR
34- avcall - wywoływanie funkcji w C ze zmiennymi argumentami
35- vacall - funkcje w C akceptujące prototypy ze zmiennymi argumentami
36- trampoline - domknięcia jako funkcje C pierwszej klasy
37- callback - domknięcia ze zmiennymi argumentami jako funkcje C
38 pierwszej klasy (zagnieżdżalna kombinacja vacall i trampoline)
39
40Ta wersja B zawiera trochę małych zmian w konfiguracji, dzięki którym
41pliki instalują się we właściwych miejscach. A także kompiluje się pod
cac2c25e
JB
42cygwinem i mingw32.
43
44%package devel
45Summary: Development files for ffcall libraries
8445a4fb 46Summary(pl.UTF-8): Pliki dla programistów używających bibliotek ffcall
cac2c25e 47Group: Development/Libraries
87c4ec88 48Requires: %{name} = %{epoch}:%{version}-%{release}
cac2c25e
JB
49
50%description devel
51Development files for ffcall libraries: headers and static trampoline
52and vacall libraries.
53
304739ce
JR
54%description devel -l pl.UTF-8
55Pliki dla programistów używających bibliotek ffcall: nagłówki i
cac2c25e
JB
56statyczne biblioteki trampoline oraz vacall.
57
58%package static
59Summary: Static versions of avcall and callback libraries
8445a4fb 60Summary(pl.UTF-8): Statyczne wersje bibliotek avcall i callback
cac2c25e 61Group: Development/Libraries
87c4ec88 62Requires: %{name}-devel = %{epoch}:%{version}-%{release}
cac2c25e
JB
63
64%description static
65Static versions of avcall and callback libraries.
66
304739ce 67%description static -l pl.UTF-8
cac2c25e
JB
68Statyczne wersje bibliotek avcall i callback.
69
70%prep
71%setup -q
72
73%build
87c4ec88 74%configure \
cac2c25e
JB
75 --enable-shared
76
c146f510
SS
77# with __make -j2:
78# make[1]: *** No rule to make target `vacall_r/libvacall.la', needed by `libcallback.la'. Stop.
79# make[1]: *** Waiting for unfinished jobs....
80%{__make} -j1
cac2c25e
JB
81
82%install
83rm -rf $RPM_BUILD_ROOT
84install -d $RPM_BUILD_ROOT%{_mandir}
85
86%{__make} install \
87 DESTDIR=$RPM_BUILD_ROOT
88
89%clean
90rm -r $RPM_BUILD_ROOT
91
92%post -p /sbin/ldconfig
93%postun -p /sbin/ldconfig
94
95%files
96%defattr(644,root,root,755)
87c4ec88 97%doc NEWS README
cac2c25e
JB
98%attr(755,root,root) %{_libdir}/lib*.so.*.*
99
100%files devel
101%defattr(644,root,root,755)
87c4ec88 102%doc */*.html
cac2c25e
JB
103%attr(755,root,root) %{_libdir}/lib*.so
104%{_libdir}/lib*.la
105%{_libdir}/libtrampoline.a
106%{_libdir}/libvacall.a
107%{_includedir}/*
108%{_mandir}/man?/*
109
110%files static
111%defattr(644,root,root,755)
112%{_libdir}/libavcall.a
113%{_libdir}/libcallback.a
This page took 0.108836 seconds and 4 git commands to generate.