2021-07-30 22:20:57 +00:00
|
|
|
%{?mingw_package_header}
|
2012-03-10 17:04:01 +00:00
|
|
|
|
2012-03-06 18:59:27 +00:00
|
|
|
Name: mingw-libffi
|
2022-11-12 09:48:52 +00:00
|
|
|
Version: 3.4.4
|
2024-06-24 16:03:03 +00:00
|
|
|
Release: 6%{?dist}
|
2010-10-13 15:29:51 +00:00
|
|
|
Summary: A portable foreign function interface library for MinGW
|
|
|
|
|
2023-07-31 13:26:49 +00:00
|
|
|
License: MIT
|
2010-10-13 15:29:51 +00:00
|
|
|
URL: http://sourceware.org/libffi
|
2021-07-30 22:20:57 +00:00
|
|
|
Source0: https://github.com/libffi/libffi/releases/download/v%{version}/libffi-%{version}.tar.gz
|
2019-08-14 08:20:05 +00:00
|
|
|
|
2010-10-13 15:29:51 +00:00
|
|
|
BuildArch: noarch
|
2012-03-10 17:04:01 +00:00
|
|
|
|
2021-07-30 22:20:57 +00:00
|
|
|
BuildRequires: make
|
|
|
|
|
2012-03-10 17:04:01 +00:00
|
|
|
BuildRequires: mingw32-filesystem >= 95
|
2010-10-13 15:29:51 +00:00
|
|
|
BuildRequires: mingw32-binutils
|
|
|
|
BuildRequires: mingw32-gcc
|
|
|
|
|
2012-03-10 17:04:01 +00:00
|
|
|
BuildRequires: mingw64-filesystem >= 95
|
|
|
|
BuildRequires: mingw64-binutils
|
|
|
|
BuildRequires: mingw64-gcc
|
|
|
|
|
|
|
|
|
2010-10-13 15:29:51 +00:00
|
|
|
%description
|
|
|
|
Foreign function interface library for MinGW.
|
|
|
|
|
|
|
|
|
2012-03-10 17:04:01 +00:00
|
|
|
# Win32
|
2012-03-06 18:59:27 +00:00
|
|
|
%package -n mingw32-libffi
|
|
|
|
Summary: A portable foreign function interface library for MinGW
|
|
|
|
|
|
|
|
%description -n mingw32-libffi
|
|
|
|
Foreign function interface library for MinGW.
|
|
|
|
|
2012-05-12 11:43:57 +00:00
|
|
|
# Win32 static
|
|
|
|
%package -n mingw32-libffi-static
|
|
|
|
Summary: A portable foreign function interface static library for MinGW
|
|
|
|
|
|
|
|
%description -n mingw32-libffi-static
|
|
|
|
Foreign function interface static library for MinGW.
|
|
|
|
|
|
|
|
|
2012-03-10 17:04:01 +00:00
|
|
|
# Win64
|
|
|
|
%package -n mingw64-libffi
|
|
|
|
Summary: A portable foreign function interface library for MinGW
|
|
|
|
|
|
|
|
%description -n mingw64-libffi
|
|
|
|
Foreign function interface library for MinGW.
|
|
|
|
|
2012-05-12 11:43:57 +00:00
|
|
|
# Win64 static
|
|
|
|
%package -n mingw64-libffi-static
|
|
|
|
Summary: A portable foreign function interface static library for MinGW
|
|
|
|
|
|
|
|
%description -n mingw64-libffi-static
|
|
|
|
Foreign function interface static library for MinGW.
|
|
|
|
|
2012-03-10 17:04:01 +00:00
|
|
|
|
2021-07-30 22:20:57 +00:00
|
|
|
%{?mingw_debug_package}
|
2012-03-10 17:04:01 +00:00
|
|
|
|
2012-03-06 18:59:27 +00:00
|
|
|
|
2010-10-13 15:29:51 +00:00
|
|
|
%prep
|
2020-02-12 17:15:38 +00:00
|
|
|
%autosetup -p1 -n libffi-%{version}
|
2010-10-13 15:29:51 +00:00
|
|
|
|
|
|
|
%build
|
2012-05-12 11:43:57 +00:00
|
|
|
%mingw_configure --enable-shared
|
2021-07-30 22:20:57 +00:00
|
|
|
%mingw_make
|
2010-10-13 15:29:51 +00:00
|
|
|
|
|
|
|
|
|
|
|
%install
|
2021-07-30 22:20:57 +00:00
|
|
|
%mingw_make_install
|
2012-03-10 17:04:01 +00:00
|
|
|
|
2021-07-30 22:20:57 +00:00
|
|
|
rm -rf %{buildroot}%{mingw32_infodir}
|
|
|
|
rm -rf %{buildroot}%{mingw64_infodir}
|
|
|
|
rm -rf %{buildroot}%{mingw32_mandir}
|
|
|
|
rm -rf %{buildroot}%{mingw64_mandir}
|
2010-10-13 15:29:51 +00:00
|
|
|
|
2012-03-08 18:27:40 +00:00
|
|
|
# Drop all .la files
|
2021-07-30 22:20:57 +00:00
|
|
|
find %{buildroot} -name "*.la" -delete
|
2012-03-08 18:27:40 +00:00
|
|
|
|
2010-10-13 15:29:51 +00:00
|
|
|
|
2012-03-06 18:59:27 +00:00
|
|
|
%files -n mingw32-libffi
|
2017-06-20 10:12:16 +00:00
|
|
|
%license LICENSE
|
2021-07-30 22:20:57 +00:00
|
|
|
%{mingw32_bindir}/libffi-8.dll
|
|
|
|
%{mingw32_includedir}/ffi.h
|
|
|
|
%{mingw32_includedir}/ffitarget.h
|
2012-03-06 19:03:06 +00:00
|
|
|
%{mingw32_libdir}/libffi.dll.a
|
2021-07-30 22:20:57 +00:00
|
|
|
%{mingw32_libdir}/pkgconfig/libffi.pc
|
2010-10-13 15:29:51 +00:00
|
|
|
|
2012-05-12 11:43:57 +00:00
|
|
|
%files -n mingw32-libffi-static
|
|
|
|
%{mingw32_libdir}/libffi.a
|
|
|
|
|
2012-03-10 17:04:01 +00:00
|
|
|
%files -n mingw64-libffi
|
2017-06-20 10:12:16 +00:00
|
|
|
%license LICENSE
|
2021-07-30 22:20:57 +00:00
|
|
|
%{mingw64_bindir}/libffi-8.dll
|
|
|
|
%{mingw64_includedir}/ffi.h
|
|
|
|
%{mingw64_includedir}/ffitarget.h
|
2012-03-10 17:04:01 +00:00
|
|
|
%{mingw64_libdir}/libffi.dll.a
|
2021-07-30 22:20:57 +00:00
|
|
|
%{mingw64_libdir}/pkgconfig/libffi.pc
|
2012-03-10 17:04:01 +00:00
|
|
|
|
2012-05-12 11:43:57 +00:00
|
|
|
%files -n mingw64-libffi-static
|
|
|
|
%{mingw64_libdir}/libffi.a
|
|
|
|
|
2010-10-13 15:29:51 +00:00
|
|
|
|
|
|
|
%changelog
|
2024-06-24 16:03:03 +00:00
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 3.4.4-6
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
2024-01-25 06:40:33 +00:00
|
|
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.4-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
2024-01-21 07:45:36 +00:00
|
|
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.4-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
2023-07-20 14:44:28 +00:00
|
|
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.4-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
2023-01-19 19:48:44 +00:00
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.4-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
2022-11-12 09:48:52 +00:00
|
|
|
* Sat Nov 12 2022 Sandro Mani <manisandro@gmail.com> - 3.4.4-1
|
|
|
|
- Update to 3.4.4
|
|
|
|
|
2022-07-21 21:24:11 +00:00
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.2-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-03-25 13:20:51 +00:00
|
|
|
* Fri Mar 25 2022 Sandro Mani <manisandro@gmail.com> - 3.4.2-3
|
|
|
|
- Rebuild with mingw-gcc-12
|
|
|
|
|
2022-01-20 19:32:12 +00:00
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2021-07-30 22:20:57 +00:00
|
|
|
* Fri Jul 30 2021 Sandro Mani <manisandro@gmail.com> - 3.4.2-1
|
|
|
|
- Update to 3.4.2
|
|
|
|
|
2021-07-22 14:33:57 +00:00
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.1-12
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-01-26 20:03:09 +00:00
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.1-11
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-07-28 07:42:22 +00:00
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.1-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-02-12 17:15:38 +00:00
|
|
|
* Wed Feb 12 2020 Sandro Mani <manisandro@gmail.com> - 3.1-9
|
|
|
|
- Drop libffi-3.1-fix-include-path.patch, it just breaks the pkgconfig file
|
|
|
|
|
2020-01-29 13:07:17 +00:00
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.1-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-08-14 08:20:05 +00:00
|
|
|
* Wed Aug 14 2019 Fabiano Fidêncio <fidencio@redhat.com> - 3.1-7
|
|
|
|
- Add the same patches from its native counter part, rhbz#1740764
|
|
|
|
|
2019-07-25 16:51:43 +00:00
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.1-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-02-01 10:38:27 +00:00
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.1-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-07-13 10:27:33 +00:00
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.1-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-02-08 02:15:51 +00:00
|
|
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.1-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-07-26 21:39:00 +00:00
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-06-20 10:10:31 +00:00
|
|
|
* Tue Jun 20 2017 Kalev Lember <klember@redhat.com> - 3.1-1
|
|
|
|
- Update to 3.1
|
2017-06-20 10:12:16 +00:00
|
|
|
- Use license macro
|
2017-06-20 10:10:31 +00:00
|
|
|
|
2017-02-10 21:09:47 +00:00
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.13-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-02-04 08:14:06 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.13-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-06-17 20:23:57 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.13-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2014-06-07 09:51:09 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.13-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2013-08-03 10:46:44 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.13-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-06-15 17:48:25 +00:00
|
|
|
* Sat Jun 15 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 3.0.13-3
|
|
|
|
- Rebuild to resolve InterlockedCompareExchange regression in mingw32 libraries
|
|
|
|
|
2013-05-30 22:37:43 +00:00
|
|
|
* Fri May 31 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 3.0.13-2
|
|
|
|
- Rebuild against latest mingw-filesystem
|
|
|
|
|
2013-05-04 22:25:56 +00:00
|
|
|
* Sun May 5 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 3.0.13-1
|
|
|
|
- Update to 3.0.13
|
|
|
|
|
2013-02-14 07:03:41 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.11-0.5.rc2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-07-20 01:26:37 +00:00
|
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.11-0.4.rc2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-05-12 11:43:57 +00:00
|
|
|
* Fri May 11 2012 Eric Smith <eric@brouhaha.com> - 3.0.11-0.3.rc2
|
|
|
|
- Added static subpackages
|
|
|
|
|
2012-03-10 17:04:01 +00:00
|
|
|
* Sat Mar 10 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 3.0.11-0.2.rc2
|
|
|
|
- Added win64 support
|
|
|
|
|
2012-03-08 18:27:40 +00:00
|
|
|
* Thu Mar 08 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 3.0.11-0.1.rc2
|
|
|
|
- Update to 3.0.11-rc2
|
|
|
|
- Removed .la file
|
|
|
|
|
2012-03-06 18:59:27 +00:00
|
|
|
* Tue Mar 06 2012 Kalev Lember <kalevlember@gmail.com> - 3.0.9-5
|
|
|
|
- Renamed the source package to mingw-libffi (#800427)
|
2012-03-06 19:02:41 +00:00
|
|
|
- Spec clean up
|
2012-03-06 18:59:27 +00:00
|
|
|
|
2012-02-27 19:33:09 +00:00
|
|
|
* Mon Feb 27 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 3.0.9-4
|
|
|
|
- Rebuild against the mingw-w64 toolchain
|
|
|
|
|
2012-01-13 10:01:22 +00:00
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.9-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-02-08 18:41:13 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.9-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2010-10-13 15:29:51 +00:00
|
|
|
* Sat Oct 9 2010 Paolo Bonzini <pbonzini@redhat.com> - 3.0.9-1
|
|
|
|
- Created.
|