From 4d3aa22ad2781edb3df3e831721978a2da6d6959 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 13 Oct 2010 15:19:31 +0000 Subject: [PATCH 1/5] Initial setup of the repo --- .gitignore | 0 sources | 0 2 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 .gitignore create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/sources b/sources new file mode 100644 index 0000000..e69de29 From acac3533b4c92d3d037ba0b761179dc6a7fffb3d Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Wed, 13 Oct 2010 17:29:51 +0200 Subject: [PATCH 2/5] Initial Import (#641727). --- .gitignore | 1 + mingw32-libffi.spec | 60 +++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 62 insertions(+) create mode 100644 mingw32-libffi.spec diff --git a/.gitignore b/.gitignore index e69de29..84828ba 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/libffi-3.0.9.tar.gz diff --git a/mingw32-libffi.spec b/mingw32-libffi.spec new file mode 100644 index 0000000..2c27fac --- /dev/null +++ b/mingw32-libffi.spec @@ -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 - 3.0.9-1 +- Created. diff --git a/sources b/sources index e69de29..e2f3cb9 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +1f300a7a7f975d4046f51c3022fa5ff1 libffi-3.0.9.tar.gz From 860ae1476f6daf8ce777a43a44d2b20260b53ef6 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Tue, 8 Feb 2011 12:41:13 -0600 Subject: [PATCH 3/5] - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild --- mingw32-libffi.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mingw32-libffi.spec b/mingw32-libffi.spec index 2c27fac..468dc67 100644 --- a/mingw32-libffi.spec +++ b/mingw32-libffi.spec @@ -6,7 +6,7 @@ Name: mingw32-libffi Version: 3.0.9 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A portable foreign function interface library for MinGW Group: System Environment/Libraries @@ -56,5 +56,8 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Tue Feb 08 2011 Fedora Release Engineering - 3.0.9-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + * Sat Oct 9 2010 Paolo Bonzini - 3.0.9-1 - Created. From 7d958fed04474958addf02599c0bb30b0402391f Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Fri, 13 Jan 2012 04:01:22 -0600 Subject: [PATCH 4/5] - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild --- mingw32-libffi.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mingw32-libffi.spec b/mingw32-libffi.spec index 468dc67..fa12034 100644 --- a/mingw32-libffi.spec +++ b/mingw32-libffi.spec @@ -6,7 +6,7 @@ Name: mingw32-libffi Version: 3.0.9 -Release: 2%{?dist} +Release: 3%{?dist} Summary: A portable foreign function interface library for MinGW Group: System Environment/Libraries @@ -56,6 +56,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Fri Jan 13 2012 Fedora Release Engineering - 3.0.9-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + * Tue Feb 08 2011 Fedora Release Engineering - 3.0.9-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild From 74158890dcec7abc805cc23b0752f08dad0d42c4 Mon Sep 17 00:00:00 2001 From: Erik van Pienbroek Date: Mon, 27 Feb 2012 20:33:09 +0100 Subject: [PATCH 5/5] Rebuild against the mingw-w64 toolchain --- mingw32-libffi.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mingw32-libffi.spec b/mingw32-libffi.spec index fa12034..a20085b 100644 --- a/mingw32-libffi.spec +++ b/mingw32-libffi.spec @@ -6,7 +6,7 @@ Name: mingw32-libffi Version: 3.0.9 -Release: 3%{?dist} +Release: 4%{?dist} Summary: A portable foreign function interface library for MinGW Group: System Environment/Libraries @@ -56,6 +56,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Mon Feb 27 2012 Erik van Pienbroek - 3.0.9-4 +- Rebuild against the mingw-w64 toolchain + * Fri Jan 13 2012 Fedora Release Engineering - 3.0.9-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild