Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:X0F:HSF
libffi
libffi.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libffi.spec of Package libffi
# # spec file for package libffi # # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define libsoname %{name}6 %define debug_package_requires %{libsoname} = %{version}-%{release} Name: libffi Version: 3.2.1 Release: 0 Summary: A portable foreign Function Interface Library License: MIT Group: System/Libraries URL: https://sourceware.org/libffi/ Source: ftp://sourceware.org/pub/libffi/%{name}-%{version}.tar.gz Source1: baselibs.conf BuildRequires: pkgconfig BuildRoot: %{_tmppath}/%{name}-%{version}-build %description 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 -n %{libsoname} Summary: Shared library for libffi Group: System/Libraries %description -n %{libsoname} A portable foreign Function Interface Library. This package contains the shared libffi library. %package -n %{name}-devel Summary: Development package for libffi Group: Development/Libraries/C and C++ Requires: %{libsoname} = %{version} Requires: pkgconfig %description -n %{name}-devel A portable foreign Function Interface Library. This package contains the files needed to compile programs that use the libffi library. %prep %setup -q %build %configure --disable-static make %{?_smp_mflags} %install %make_install find %{buildroot} -type f -name "*.la" -delete -print mkdir -p %{buildroot}%{_includedir} mv %{buildroot}%{_libdir}/%{name}-%{version}/include/* %{buildroot}%{_includedir} %preun -n %{name}-devel %install_info_delete --info-dir="%{_infodir}" "%{_infodir}/libffi.info.gz" %post -n %{libsoname} -p /sbin/ldconfig %postun -n %{libsoname} -p /sbin/ldconfig %post -n %{name}-devel %install_info --info-dir="%{_infodir}" "%{_infodir}/libffi.info.gz" %files -n %{libsoname} %{_libdir}/%{name}.so.* %files -n %{name}-devel %license LICENSE %doc ChangeLog* README %{_includedir}/ffi* %{_libdir}/%{name}.so %{_libdir}/pkgconfig/%{name}.pc %{_infodir}/%{name}.info%{?ext_info} %{_mandir}/man3/ffi* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor