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