Blame SPECS/mingw-libffi.spec

ad49fc
%{?mingw_package_header}
9f8ca6
9f8ca6
Name:		mingw-libffi
ad49fc
Version:	3.4.2
ad49fc
Release:	1%{?dist}
9f8ca6
Summary:	A portable foreign function interface library for MinGW
9f8ca6
9f8ca6
License:	BSD
9f8ca6
URL:		http://sourceware.org/libffi
ad49fc
Source0:        https://github.com/libffi/libffi/releases/download/v%{version}/libffi-%{version}.tar.gz
9f8ca6
9f8ca6
BuildArch:	noarch
9f8ca6
ad49fc
BuildRequires:  make
ad49fc
9f8ca6
BuildRequires:	mingw32-filesystem >= 95
9f8ca6
BuildRequires:	mingw32-binutils
9f8ca6
BuildRequires:	mingw32-gcc
9f8ca6
9f8ca6
BuildRequires:	mingw64-filesystem >= 95
9f8ca6
BuildRequires:	mingw64-binutils
9f8ca6
BuildRequires:	mingw64-gcc
9f8ca6
9f8ca6
9f8ca6
%description
9f8ca6
Foreign function interface library for MinGW.
9f8ca6
9f8ca6
9f8ca6
# Win32
9f8ca6
%package -n mingw32-libffi
9f8ca6
Summary:	A portable foreign function interface library for MinGW
9f8ca6
9f8ca6
%description -n mingw32-libffi
9f8ca6
Foreign function interface library for MinGW.
9f8ca6
9f8ca6
# Win32 static
9f8ca6
%package -n mingw32-libffi-static
9f8ca6
Summary:       A portable foreign function interface static library for MinGW
9f8ca6
9f8ca6
%description -n mingw32-libffi-static
9f8ca6
Foreign function interface static library for MinGW.
9f8ca6
9f8ca6
9f8ca6
# Win64
9f8ca6
%package -n mingw64-libffi
9f8ca6
Summary:	A portable foreign function interface library for MinGW
9f8ca6
9f8ca6
%description -n mingw64-libffi
9f8ca6
Foreign function interface library for MinGW.
9f8ca6
9f8ca6
# Win64 static
9f8ca6
%package -n mingw64-libffi-static
9f8ca6
Summary:       A portable foreign function interface static library for MinGW
9f8ca6
9f8ca6
%description -n mingw64-libffi-static
9f8ca6
Foreign function interface static library for MinGW.
9f8ca6
9f8ca6
ad49fc
%{?mingw_debug_package}
9f8ca6
9f8ca6
9f8ca6
%prep
9f8ca6
%autosetup -p1 -n libffi-%{version}
9f8ca6
9f8ca6
%build
9f8ca6
%mingw_configure --enable-shared
ad49fc
%mingw_make
9f8ca6
9f8ca6
9f8ca6
%install
ad49fc
%mingw_make_install
9f8ca6
ad49fc
rm -rf %{buildroot}%{mingw32_infodir}
ad49fc
rm -rf %{buildroot}%{mingw64_infodir}
ad49fc
rm -rf %{buildroot}%{mingw32_mandir}
ad49fc
rm -rf %{buildroot}%{mingw64_mandir}
9f8ca6
9f8ca6
# Drop all .la files
ad49fc
find %{buildroot} -name "*.la" -delete
9f8ca6
9f8ca6
9f8ca6
%files -n mingw32-libffi
9f8ca6
%license LICENSE
ad49fc
%{mingw32_bindir}/libffi-8.dll
ad49fc
%{mingw32_includedir}/ffi.h
ad49fc
%{mingw32_includedir}/ffitarget.h
9f8ca6
%{mingw32_libdir}/libffi.dll.a
ad49fc
%{mingw32_libdir}/pkgconfig/libffi.pc
9f8ca6
9f8ca6
%files -n mingw32-libffi-static
9f8ca6
%{mingw32_libdir}/libffi.a
9f8ca6
9f8ca6
%files -n mingw64-libffi
9f8ca6
%license LICENSE
ad49fc
%{mingw64_bindir}/libffi-8.dll
ad49fc
%{mingw64_includedir}/ffi.h
ad49fc
%{mingw64_includedir}/ffitarget.h
9f8ca6
%{mingw64_libdir}/libffi.dll.a
ad49fc
%{mingw64_libdir}/pkgconfig/libffi.pc
9f8ca6
9f8ca6
%files -n mingw64-libffi-static
9f8ca6
%{mingw64_libdir}/libffi.a
9f8ca6
9f8ca6
9f8ca6
%changelog
ad49fc
* Fri Oct 01 2021 Richard W.M. Jones <rjones@redhat.com> - 3.4.2-1.el9
ad49fc
- Manually synch package with Fedora Rawhide
ad49fc
  resolves: rhbz#1996712
ad49fc
9f8ca6
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 3.1-13
9f8ca6
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
9f8ca6
  Related: rhbz#1991688
9f8ca6
9f8ca6
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 3.1-12
9f8ca6
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
9f8ca6
9f8ca6
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.1-11
9f8ca6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
9f8ca6
9f8ca6
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.1-10
9f8ca6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
9f8ca6
9f8ca6
* Wed Feb 12 2020 Sandro Mani <manisandro@gmail.com> - 3.1-9
9f8ca6
- Drop libffi-3.1-fix-include-path.patch, it just breaks the pkgconfig file
9f8ca6
9f8ca6
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.1-8
9f8ca6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
9f8ca6
9f8ca6
* Wed Aug 14 2019 Fabiano FidĂȘncio <fidencio@redhat.com> - 3.1-7
9f8ca6
- Add the same patches from its native counter part, rhbz#1740764
9f8ca6
9f8ca6
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.1-6
9f8ca6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
9f8ca6
9f8ca6
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.1-5
9f8ca6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
9f8ca6
9f8ca6
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.1-4
9f8ca6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
9f8ca6
9f8ca6
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.1-3
9f8ca6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
9f8ca6
9f8ca6
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.1-2
9f8ca6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
9f8ca6
9f8ca6
* Tue Jun 20 2017 Kalev Lember <klember@redhat.com> - 3.1-1
9f8ca6
- Update to 3.1
9f8ca6
- Use license macro
9f8ca6
9f8ca6
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.13-8
9f8ca6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
9f8ca6
9f8ca6
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.13-7
9f8ca6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
9f8ca6
9f8ca6
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.13-6
9f8ca6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
9f8ca6
9f8ca6
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.13-5
9f8ca6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
9f8ca6
9f8ca6
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.13-4
9f8ca6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
9f8ca6
9f8ca6
* Sat Jun 15 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 3.0.13-3
9f8ca6
- Rebuild to resolve InterlockedCompareExchange regression in mingw32 libraries
9f8ca6
9f8ca6
* Fri May 31 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 3.0.13-2
9f8ca6
- Rebuild against latest mingw-filesystem
9f8ca6
9f8ca6
* Sun May  5 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 3.0.13-1
9f8ca6
- Update to 3.0.13
9f8ca6
9f8ca6
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.11-0.5.rc2
9f8ca6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
9f8ca6
9f8ca6
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.11-0.4.rc2
9f8ca6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
9f8ca6
9f8ca6
* Fri May 11 2012 Eric Smith <eric@brouhaha.com> - 3.0.11-0.3.rc2
9f8ca6
- Added static subpackages
9f8ca6
9f8ca6
* Sat Mar 10 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 3.0.11-0.2.rc2
9f8ca6
- Added win64 support
9f8ca6
9f8ca6
* Thu Mar 08 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 3.0.11-0.1.rc2
9f8ca6
- Update to 3.0.11-rc2
9f8ca6
- Removed .la file
9f8ca6
9f8ca6
* Tue Mar 06 2012 Kalev Lember <kalevlember@gmail.com> - 3.0.9-5
9f8ca6
- Renamed the source package to mingw-libffi (#800427)
9f8ca6
- Spec clean up
9f8ca6
9f8ca6
* Mon Feb 27 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 3.0.9-4
9f8ca6
- Rebuild against the mingw-w64 toolchain
9f8ca6
9f8ca6
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.9-3
9f8ca6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
9f8ca6
9f8ca6
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.9-2
9f8ca6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
9f8ca6
9f8ca6
* Sat Oct 9 2010 Paolo Bonzini <pbonzini@redhat.com> - 3.0.9-1
9f8ca6
- Created.