Search
SailfishOS Open Build Service
>
Projects
>
home:johannes
:
64bit
>
libffi
> libffi.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File libffi.spec of Package libffi
# # Do NOT Edit the Auto-generated Part! # Generated by: spectacle version 0.27 # Name: libffi # >> macros # << macros Summary: A portable foreign function interface library Version: 3.0.13.skytree43 Release: 1%{?dist}.1.1 Packager: tar_nomovok_cgit;https://lm-cgit.nomovok.info/cgit.cgi/libffi;d8deb283a14deef8f57a9b65941f89ff5370aedd Group: System/Libraries License: BSD URL: https://lm-cgit.nomovok.info/cgit.cgi/libffi/snapshot/libffi-d8deb283a14deef8f57a9b65941f89ff5370aedd.tar.bz2 Source0: libffi-d8deb283a14deef8f57a9b65941f89ff5370aedd.tar.bz2 Source100: libffi.yaml Patch0: includedir.patch Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool %description Compilers for high level languages generate code that follow certain conventions. These conventions are necessary, in part, for separate compilation to work. One such convention is the "calling convention". The calling convention is a set of assumptions made by the compiler about where function arguments will be found on entry to a function. A calling convention also specifies where the return value for a function is found. Some programs may not know at the time of compilation what arguments are to be passed to a function. For instance, an interpreter may be told at run-time about the number and types of arguments used to call a given function. `Libffi' can be used in such programs to provide a bridge from the interpreter program to compiled code. The `libffi' library provides a portable, high level programming interface to various calling conventions. This allows a programmer to call any function specified by a call interface description at run time. FFI stands for Foreign Function Interface. A foreign function interface is the popular name for the interface that allows code written in one language to call code written in another language. The `libffi' library really only provides the lowest, machine dependent layer of a fully featured foreign function interface. A layer must exist above `libffi' that handles type conversions for values passed between the two languages. %package devel Summary: Development files for %{name} Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires(post): /sbin/install-info Requires(postun): /sbin/install-info %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %setup -q -n libffi-d8deb283a14deef8f57a9b65941f89ff5370aedd # includedir.patch %patch0 -p1 # >> setup # << setup %build # >> build pre # << build pre %reconfigure --disable-static \ --includedir=%{_includedir} make %{?_smp_mflags} # >> build post # << build post %install rm -rf %{buildroot} # >> install pre # << install pre %make_install # >> install post rm -f $RPM_BUILD_ROOT%{_infodir}/dir # << install post %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %post devel %install_info --info-dir=%_infodir %{_infodir}/libffi.info.gz %postun devel if [ $1 = 0 ] ;then %install_info_delete --info-dir=%{_infodir} %{_infodir}/libffi.info.gz fi %files %defattr(-,root,root,-) # >> files %doc LICENSE README %{_libdir}/*.so.* # << files %files devel %defattr(-,root,root,-) # >> files devel %{_prefix}/include/ffi.h %{_prefix}/include/ffitarget.h %{_libdir}/pkgconfig/*.pc %{_libdir}/*.so %doc %{_mandir}/man3/*.gz %{_infodir}/libffi.info.gz # << files devel %changelog * Tue Feb 4 2014 Chris Leach <cxl000@hotmail.com> - 3.0.13 - update libffi to 3.0.13 * Sun Jan 15 2012 D Wadsworth <letters.random13@gmail.com> - 3.0.10 - Fixes MER#121: update libffi to 3.0.10; delete upstreamed x86-Align patch * Mon May 2 2011 Anas Nashif <anas.nashif@intel.com> - 3.0.9 - Apply patch to fix includesdir instead of hacking in spec file * Sun May 1 2011 Anas Nashif <anas.nashif@intel.com> - 3.0.9 - Clean up spec file * Sat Apr 30 2011 Liu, Xinyun <xinyun.liu@intel.com> - 3.0.9 - Fix for BMC 16784. - Updated previous fix for libffi.pc. * Thu Apr 28 2011 Junfeng Dong <junfeng.dong@intel.com> - 3.0.9 - Fix for BMC 16784: Move the header files to standard /usr/include. * Thu Mar 4 2010 Damien Lespiau <damien.lespiau@intel.com> 3.0.9 - Really apply the alignment fix patch * Fri Feb 26 2010 Neil Roberts <neil@linux.intel.com> 3.0.9 - Add a patch to fix alignment problems This was causing problems when using libffi with gobject-introspection * Thu Jan 28 2010 Jian-feng Ding <jian-feng.ding@intel.com> 3.0.9 - Upgrade to 3.0.9, and enabled spectacle * Sun Sep 27 2009 Austin Zhang <austin.zhang@intel.com> - 3.0.8 - Update to 3.0.8 into moblin (libffi was there but was removed, now, add it back).