update to 1.10.20120424svn

should build on arm [release 1.10.20120424svn-1mamba;Sat Aug 24 2013]
This commit is contained in:
Silvan Calarco 2024-01-06 04:14:40 +01:00
parent bbef0707c5
commit b43d38a572
2 changed files with 113 additions and 0 deletions

View File

@ -1,2 +1,10 @@
# libffcall # libffcall
This is a collection of four libraries which can be used to build foreign function call interfaces in embedded interpreters.
The four packages are:
avcall - calling C functions with variable arguments
vacall - C functions accepting variable argument prototypes
trampoline - closures as first-class C functions
callback - closures with variable arguments as first-class C functions (a reentrant combination of vacall and trampoline)

105
libffcall.spec Normal file
View File

@ -0,0 +1,105 @@
Name: libffcall
Version: 1.10.20120424svn
Release: 1mamba
Summary: Libraries that can be used to build foreign function call interfaces.
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.haible.de/bruno/packages-ffcall.html
# From Fedora:
# There has been no official release for several years, and the project web
# site encourages use of a CVS snapshot. Make the tarball as follows:
# cvs -z3 -d:pserver:anonymous@cvs.savannah.gnu.org:/sources/libffcall
# export -D 2012-04-24 ffcall
# tar cJf ffcall-20120424cvs.tar.xz ffcall
Source: http://www.haible.de/bruno/gnu/ffcall-%{version}.tar.gz
License: GPL
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
This is a collection of four libraries which can be used to build foreign function call interfaces in embedded interpreters.
The four packages are:
avcall - calling C functions with variable arguments
vacall - C functions accepting variable argument prototypes
trampoline - closures as first-class C functions
callback - closures with variable arguments as first-class C functions (a reentrant combination of vacall and trampoline)
%package devel
Group: Development/Libraries
Summary: Libraries and headers for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
This is a collection of four libraries which can be used to build foreign function call interfaces in embedded interpreters.
This package contains libraries and header files need for development.
%package static
Summary: Static libraries and headers for %{name}
Group: Development/Libraries
Requires: %{name}-devel = %{?epoch:%epoch:}%{version}-%{release}
%description static
This is a collection of four libraries which can be used to build foreign function call interfaces in embedded interpreters.
This package contains static libraries for development.
%prep
%setup -q -n ffcall
%build
%configure \
--prefix=%{_prefix} \
--mandir=%{_mandir} \
--enable-shared \
--enable-static
make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__mkdir_p} %{buildroot}%{_includedir}
%{__mkdir_p} %{buildroot}%{_libdir}
%{__mkdir_p} %{buildroot}%{_mandir}
%{__mkdir_p} %{buildroot}%{_datadir}
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/*.so.*
%{_mandir}/man3/*.3.gz
%doc %{_datadir}/html/*.html
%doc COPYING
%files devel
%defattr(-,root,root)
%{_includedir}/*.h
%{_libdir}/*.so
%doc NEWS README
%files static
%defattr(-,root,root)
%{_libdir}/*.a
%{_libdir}/*.la
%changelog
* Sat Aug 24 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.10.20120424svn-1mamba
- update to 1.10.20120424svn
- should build on arm
* Sat Aug 24 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.10-2mamba
- rebuilt
* Mon Nov 10 2008 gil <puntogil@libero.it> 1.10-1mamba
- package created by autospec