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