4 Summary: Libraries for building foreign function call interfaces
5 Summary(pl.UTF-8): Biblioteki do tworzenia interfejsów wywołań obcych funkcji
8 Release: 0.%{snap}.%{rel}
12 # cvs -d:pserver:anonymous@cvs.sv.gnu.org:/sources/libffcall co .
13 Source0: %{name}-%{snap}.tar.bz2
14 # Source0-md5: a5190885da8e701a012bb282bfb3c51b
15 Patch0: %{name}-make-jN.patch
16 Patch1: %{name}-sparcv9.patch
17 # https://savannah.gnu.org/bugs/index.php?22081
18 Patch2: %{name}-sparc64.patch
19 URL: http://savannah.gnu.org/projects/libffcall
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 This is a collection of four libraries which can be used to build
26 foreign function call interfaces in embedded interpreters.
28 The four packages are:
29 - avcall - calling C functions with variable arguments
30 - vacall - C functions accepting variable argument prototypes
31 - trampoline - closures as first-class C functions
32 - callback - closures with variable arguments as first-class C
33 functions (a reentrant combination of vacall and trampoline)
35 This version B includes some minor configuration changes so that files
36 are installed in the proper place. Also it compiles on cygwin and
39 %description -l pl.UTF-8
40 To jest zestaw czterech bibliotek, których można użyć do tworzenia
41 interfejsów wywołań obcych procedur we wbudowanych interpreterach.
44 - avcall - wywoływanie funkcji w C ze zmiennymi argumentami
45 - vacall - funkcje w C akceptujące prototypy ze zmiennymi argumentami
46 - trampoline - domknięcia jako funkcje C pierwszej klasy
47 - callback - domknięcia ze zmiennymi argumentami jako funkcje C
48 pierwszej klasy (zagnieżdżalna kombinacja vacall i trampoline)
50 Ta wersja B zawiera trochę małych zmian w konfiguracji, dzięki którym
51 pliki instalują się we właściwych miejscach. A także kompiluje się pod
55 Summary: Development files for ffcall libraries
56 Summary(pl.UTF-8): Pliki dla programistów używających bibliotek ffcall
57 Group: Development/Libraries
58 Requires: %{name} = %{epoch}:%{version}-%{release}
61 Development files for ffcall libraries: headers and static trampoline
64 %description devel -l pl.UTF-8
65 Pliki dla programistów używających bibliotek ffcall: nagłówki i
66 statyczne biblioteki trampoline oraz vacall.
69 Summary: Static versions of avcall and callback libraries
70 Summary(pl.UTF-8): Statyczne wersje bibliotek avcall i callback
71 Group: Development/Libraries
72 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
75 Static versions of avcall and callback libraries.
77 %description static -l pl.UTF-8
78 Statyczne wersje bibliotek avcall i callback.
81 %setup -q -n %{name}-%{snap}
93 rm -rf $RPM_BUILD_ROOT
94 install -d $RPM_BUILD_ROOT%{_mandir}
97 DESTDIR=$RPM_BUILD_ROOT
99 # don't need those since we have man pages
100 %{__rm} $RPM_BUILD_ROOT%{_datadir}/html/*.html
103 rm -rf $RPM_BUILD_ROOT
105 %post -p /sbin/ldconfig
106 %postun -p /sbin/ldconfig
109 %defattr(644,root,root,755)
110 %doc ChangeLog NEWS PLATFORMS README
111 %attr(755,root,root) %{_libdir}/libavcall.so.*.*.*
112 %attr(755,root,root) %ghost %{_libdir}/libavcall.so.0
113 %attr(755,root,root) %{_libdir}/libcallback.so.*.*.*
114 %attr(755,root,root) %ghost %{_libdir}/libcallback.so.0
117 %defattr(644,root,root,755)
119 %attr(755,root,root) %{_libdir}/libavcall.so
120 %attr(755,root,root) %{_libdir}/libcallback.so
121 %{_libdir}/libavcall.la
122 %{_libdir}/libcallback.la
123 %{_libdir}/libtrampoline.a
124 %{_libdir}/libvacall.a
125 %{_includedir}/avcall.h
126 %{_includedir}/callback.h
127 %{_includedir}/trampoline*.h
128 %{_includedir}/vacall*.h
129 %{_mandir}/man3/avcall.3*
130 %{_mandir}/man3/callback.3*
131 %{_mandir}/man3/trampoline*.3*
132 %{_mandir}/man3/vacall.3*
135 %defattr(644,root,root,755)
136 %{_libdir}/libavcall.a
137 %{_libdir}/libcallback.a