Initial Import (#641727).
This commit is contained in:
parent
4d3aa22ad2
commit
acac3533b4
1
.gitignore
vendored
1
.gitignore
vendored
@ -0,0 +1 @@
|
||||
/libffi-3.0.9.tar.gz
|
60
mingw32-libffi.spec
Normal file
60
mingw32-libffi.spec
Normal file
@ -0,0 +1,60 @@
|
||||
%global __strip %{_mingw32_strip}
|
||||
%global __objdump %{_mingw32_objdump}
|
||||
%global _use_internal_dependency_generator 0
|
||||
%global __find_requires %{_mingw32_findrequires}
|
||||
%global __find_provides %{_mingw32_findprovides}
|
||||
|
||||
Name: mingw32-libffi
|
||||
Version: 3.0.9
|
||||
Release: 1%{?dist}
|
||||
Summary: A portable foreign function interface library for MinGW
|
||||
|
||||
Group: System Environment/Libraries
|
||||
License: BSD
|
||||
URL: http://sourceware.org/libffi
|
||||
Source0: ftp://sourceware.org/pub/libffi/libffi-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: mingw32-filesystem >= 56
|
||||
BuildRequires: mingw32-binutils
|
||||
BuildRequires: mingw32-gcc
|
||||
|
||||
%description
|
||||
Foreign function interface library for MinGW.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n libffi-%{version}
|
||||
|
||||
|
||||
%build
|
||||
%{_mingw32_configure} --disable-static --enable-shared
|
||||
make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
rm -rf $RPM_BUILD_ROOT%{_mingw32_infodir}
|
||||
rm -rf $RPM_BUILD_ROOT%{_mingw32_mandir}
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc LICENSE README
|
||||
%{_mingw32_bindir}/libffi-5.dll
|
||||
%{_mingw32_libdir}/libffi.dll.a
|
||||
%{_mingw32_libdir}/libffi.la
|
||||
%{_mingw32_libdir}/pkgconfig/*.pc
|
||||
%{_mingw32_libdir}/libffi-%{version}
|
||||
|
||||
|
||||
%changelog
|
||||
* Sat Oct 9 2010 Paolo Bonzini <pbonzini@redhat.com> - 3.0.9-1
|
||||
- Created.
|
Loading…
Reference in New Issue
Block a user