Projects
home:pandora:RobinOS23
libffi
_service:download_src_package:libffi.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:download_src_package:libffi.spec of Package libffi
%define anolis_release 2 %bcond_with bootstrap Name: libffi Version: 3.4.2 Release: %{anolis_release}%{?dist} Summary: A portable foreign function interface library License: MIT URL: http://sourceware.org/libffi Source0: https://github.com/libffi/libffi/releases/download/v3.4.2/libffi-3.4.2.tar.gz BuildRequires: make BuildRequires: gcc %if %{without bootstrap} BuildRequires: gcc-c++ BuildRequires: dejagnu %endif %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. %package doc Summary: Documentation files for %{name} Requires: %{name} = %{version}-%{release} BuildArch: noarch %description doc The %{name}-doc package contains documentation files for %{name}. %package devel Summary: Development files for %{name} Requires: %{name} = %{version}-%{release} Requires: pkgconfig %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %setup -q %build # For now we disable the static templates to avoid ghc and # gobject-introspection failures: # https://gitlab.haskell.org/ghc/ghc/-/issues/20051 # https://gitlab.gnome.org/GNOME/gobject-introspection/-/merge_requests/283 %configure --disable-static --disable-exec-static-tramp %make_build %check %if %{without bootstrap} %make_build check %endif %install %make_install find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' rm -f $RPM_BUILD_ROOT%{_infodir}/dir mkdir -p $RPM_BUILD_ROOT%{_includedir} %ldconfig_scriptlets %files %license LICENSE %{_libdir}/libffi.so.8 %{_libdir}/libffi.so.8.1.0 %files doc %doc README.md %files devel %{_libdir}/pkgconfig/*.pc %{_includedir}/ffi*.h %{_libdir}/*.so %{_mandir}/man3/*.gz %{_infodir}/libffi.info.* %changelog * Sun Oct 09 2022 mgb01105731 <mgb01105731@alibaba-inc.com> - 3.4.2-2 - add doc package * Tue Mar 08 2022 liuzhilin <liuzhilin@uniontech.com> - 3.4.2-1 - Init for Anolis OS
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2