A new user interface for you! Read more...

File mingw32-gcc.spec of Package mingw32-gcc-4.9.2

#
# spec file for package mingw32-gcc
#
# Copyright (c) 2014 SUSE LINUX Products 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 http://bugs.opensuse.org/
#


%define include_ada 0
%define include_java 1
Name:           mingw32-gcc
Version:        4.9.2
Release:        0
Summary:        MinGW Windows compiler (GCC) for C
License:        GPL-2.0+
Group:          Development/Languages
Url:            http://www.mingw.org/
Source0:        ftp://ftp.gnu.org/gnu/gcc/gcc-%{version}/gcc-%{version}.tar.bz2
Source50:       ecj.jar
Source100:      %{name}-rpmlintrc
Patch0:         gcc-4.8.0-libjava.patch
Patch1:         gcc-make-xmmintrin-header-cplusplus-compatible.patch
Patch2:         gcc-4.9.2-no_narrowing.patch
Patch3:         enable_ofstream_wchar_ctor_and_open.diff
#!BuildIgnore: post-build-checks
BuildRequires:  gcc-c++
BuildRequires:  gmp-devel
BuildRequires:  mingw32-cross-binutils
BuildRequires:  mingw32-cross-gcc >= %{version}
BuildRequires:  mingw32-cross-gcc-c++ >= %{version}
BuildRequires:  mingw32-cross-gcc-fortran >= %{version}
BuildRequires:  mingw32-cross-gcc-objc >= %{version}
BuildRequires:  mingw32-cross-pkg-config
BuildRequires:  mingw32-filesystem >= 39-3
BuildRequires:  mingw32-gmp-devel >= 4.2.0
BuildRequires:  mingw32-headers >= 3.1.0
BuildRequires:  mingw32-mpc-devel >= 0.8.0
BuildRequires:  mingw32-mpfr-devel >= 2.4.0
BuildRequires:  mingw32-runtime >= 3.1.0
BuildRequires:  mingw32-zlib-devel
BuildRequires:  mpc-devel
BuildRequires:  mpfr-devel
BuildRequires:  texinfo
BuildRequires:  unzip
BuildRequires:  zip
Requires:       mingw32-binutils
Requires:       mingw32-cpp >= %{version}
Requires:       mingw32-headers
Requires:       mingw32-runtime
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%_mingw32_package_header_debug
BuildArch:      noarch
%if %{include_java}
BuildRequires:  mingw32-cross-gcc-java >= %{version}
%endif
%if %{include_ada}
BuildRequires:  gcc-ada
BuildRequires:  mingw32-cross-gcc-ada >= %{version}
%endif

%description
MinGW Windows compiler (GCC) for C

%package -n mingw32-libgcc_s_sjlj1
Summary:        MinGW Windows compiler for C shared libraries
Group:          System/Libraries
Obsoletes:      mingw32-libgcc
Provides:       mingw32-libgcc

%description -n mingw32-libgcc_s_sjlj1
MinGW Windows compiler for C shared libraries

This libgcc build uses SJLJ, a method for exception handling based on
setjmp/longjmp. SJLJ-based EH is much slower than DWARF-2 EH,
penalizing even normal execution when no exceptions are thrown, but
can work across code that has not been compiled with GCC or that does
not have call-stack unwinding information.

[The DWARF-2 EH implementation for Windows is not at all designed to
work under 64-bit Windows applications. In Win32 mode, the exception
unwind handler cannot propagate through non-DW2 aware code, which
means that any exception going through any non-DW2-aware "foreign
frame" code will fail, including Windows system DLLs and DLLs built
with Visual Studio. DWARF-2 unwinding code in GCC inspects the x86
unwinding assembly and is unable to proceed without other DWARF-2
unwind information.]

%package -n mingw32-libssp0
Summary:        MinGW Windows compiler for C shared libraries
Group:          System/Libraries
Obsoletes:      mingw32-libssp
Provides:       mingw32-libssp

%description -n mingw32-libssp0
MinGW Windows compiler for C shared libraries

%package -n mingw32-libgomp1
Summary:        MinGW Windows compiler for C shared libraries
Group:          System/Libraries
Obsoletes:      mingw32-libgomp
Provides:       mingw32-libgomp

%description -n mingw32-libgomp1
MinGW Windows compiler for C shared libraries

%package -n mingw32-cpp
Summary:        MinGW Windows C Preprocessor
Group:          Development/Languages

%description -n mingw32-cpp
MinGW Windows C Preprocessor

%package c++
Summary:        MinGW Windows compiler for C++
Group:          Development/Languages

%description c++
MinGW Windows compiler for C++

%package -n mingw32-libstdc++6
Summary:        MinGW Windows compiler for C++ shared libraries
Group:          System/Libraries
Obsoletes:      mingw32-libstdc++
Provides:       mingw32-libstdc++

%description -n mingw32-libstdc++6
MinGW Windows compiler for C++ shared libraries

%if %{include_java}
%package java
Summary:        MinGW Windows compiler for Java
Group:          Development/Languages

%description java
MinGW Windows compiler for Java

%package -n mingw32-libgcj
Summary:        MinGW Windows compiler for Java shared libraries
Group:          Development/Languages

%description -n mingw32-libgcj
MinGW Windows compiler for Java shared libraries

%endif

%package fortran
Summary:        MinGW Windows compiler for Fortran
Group:          Development/Languages

%description fortran
MinGW Windows compiler for Fortran

%package -n mingw32-libgfortran3
Summary:        MinGW Windows compiler for Fortran shared libraries
Group:          System/Libraries
Obsoletes:      mingw32-libgfortran
Provides:       mingw32-libgfortran

%description -n mingw32-libgfortran3
MinGW Windows compiler for Fortran shared libraries

%package -n mingw32-libquadmath0
Summary:        MinGW Windows Fortran Compiler Quadmath Runtime Library
Group:          System/Libraries

%description -n mingw32-libquadmath0
The runtime library needed to run programs compiled with the Fortran
compiler of the GNU Compiler Collection (GCC) and quadruple precision
floating point operations.

%package objc
Summary:        MinGW Windows compiler for Objective-C and Objective-C++
Group:          Development/Languages

%description objc
MinGW Windows compiler for Objective-C and Objective-C++

%package -n mingw32-libobjc4
Summary:        MinGW Windows compiler for Objective-C and Objective-C++ shared libraries
Group:          System/Libraries
Obsoletes:      mingw32-libobjc
Provides:       mingw32-libobjc

%description -n mingw32-libobjc4
MinGW Windows compiler for Objective-C and Objective-C++ shared libraries

%_mingw32_debug_package

%prep
%setup -q -c
pushd gcc-%{version}
%patch0
%patch1
%patch2
%patch3 -p1
popd

%build
cd gcc-%{version}

mkdir -p build
cd build

languages="c,c++,fortran,objc,obj-c++"

%if %{include_ada}
languages+=",ada"
ada_options=-enable-libada
%else
ada_options=
%endif

%if %{include_java}
languages+=",java"
java_options='--enable-libgcj --enable-java-gc-boehm --disable-libgcj-debug --enable-interpreter'

mkdir -p %{_mingw32_target}/libjava
echo | %{_mingw32_cc} -o %{_mingw32_target}/libjava/crtmt.o -x c -c -

%else
java_options=
%endif

CC_FOR_TARGET=%{_mingw32_cc} \
CXX_FOR_TARGET=%{_mingw32_cxx} \
GFORTRAN_FOR_TARGET=%{_mingw32_target}-gfortran \
GCJ_FOR_TARGET=%{_mingw32_gcj} \
CFLAGS_FOR_TARGET="-DGC_NOT_DLL %{_mingw32_cflags}" \
CFLAGS_FOR_BUILD="-I-%{_mingw32_includedir}" \
CPPFLAGS_FOR_BUILD="-I-%{_mingw32_includedir}" \
CXXFLAGS_FOR_BUILD="-I-%{_mingw32_includedir}" \
CXXFLAGS_FOR_TARGET="-DGC_NOT_DLL %{_mingw32_cflags}" \
CPPFLAGS_FOR_TARGET="-DGC_NOT_DLL %{_mingw32_cflags}" \
../configure \
  --prefix=%{_mingw32_prefix} \
  --disable-werror \
  --disable-werror-always \
  --disable-bootstrap \
  --host=%{_mingw32_host} \
  --with-gnu-as --with-gnu-ld --verbose \
  --without-newlib \
  --disable-multilib \
  --enable-plugin \
  --with-system-zlib \
  --disable-plugin \
  --disable-nls --without-included-gettext \
  --disable-win32-registry \
  --enable-version-specific-runtime-libs \
  --with-build-sysroot=%{_mingw32_sysroot} \
  --with-sysroot=%{_mingw32_prefix} \
  --enable-languages="$languages" $optargs \
  --without-x \
  ${java_options} \
  ${ada_options} \
  --disable-gmp \
  --enable-hash-synchronization \
  --enable-fully-dynamic-strings \
  --enable-libgomp \
  --enable-linker-build-id

make %{?_smp_mflags} all || make all

%install
cd gcc-%{version}
cd build

make DESTDIR=%{buildroot} install %{?_smp_mflags}

%if %{include_java}

cp %{SOURCE50} %{buildroot}%{_mingw32_libexecdir}/gcc/%{_mingw32_target}/%{version}/

echo | %{_mingw32_cc} -o crtmt.o -x c -c -
%{_mingw32_env} ; %{_mingw32_gcj} %{SOURCE50} --main=org.eclipse.jdt.internal.compiler.batch.GCCMain \
	-o %{buildroot}%{_mingw32_libexecdir}/gcc/%{_mingw32_target}/%{version}/ecj1.exe

(cd %{buildroot}%{_mingw32_datadir}/java/; for i in libgcj libgcj-tools; \
	do ln -s $i-%{version}.jar $i.jar; done )

%endif

rm -f %{buildroot}%{_mingw32_infodir}/dir

find %{buildroot} -name \*.py -exec rm {} +

mv %{buildroot}%{_mingw32_libdir}/gcc/%{_mingw32_target}/lib/libgcc_s.a \
   %{buildroot}%{_mingw32_libdir}/gcc/%{_mingw32_target}/%{version}/

mv %{buildroot}%{_mingw32_libdir}/gcc/%{_mingw32_target}/*.dll \
   %{buildroot}%{_mingw32_bindir}

%files
%defattr(-,root,root)
%{_mingw32_bindir}/gcc*.exe
%{_mingw32_bindir}/gcov.exe
%exclude %{_mingw32_bindir}/%{_mingw32_target}-gcc*.exe
%dir %{_mingw32_libdir}/gcc/%{_mingw32_target}
%dir %{_mingw32_libdir}/gcc/%{_mingw32_target}/%{version}
%{_mingw32_libdir}/gcc/%{_mingw32_target}/%{version}/crtbegin.o
%{_mingw32_libdir}/gcc/%{_mingw32_target}/%{version}/crtend.o
%{_mingw32_libdir}/gcc/%{_mingw32_target}/%{version}/crtfastmath.o
%{_mingw32_libdir}/gcc/%{_mingw32_target}/%{version}/libcaf_single.a
%{_mingw32_libdir}/gcc/%{_mingw32_target}/%{version}/libgcc.a
%{_mingw32_libdir}/gcc/%{_mingw32_target}/%{version}/libgcc_eh.a
%{_mingw32_libdir}/gcc/%{_mingw32_target}/%{version}/libgcc_s.a
%{_mingw32_libdir}/gcc/%{_mingw32_target}/%{version}/libgcov.a
%{_mingw32_libdir}/gcc/%{_mingw32_target}/%{version}/libssp.a
%{_mingw32_libdir}/gcc/%{_mingw32_target}/%{version}/libssp.dll.a
%{_mingw32_libdir}/gcc/%{_mingw32_target}/%{version}/libssp_nonshared.a
%{_mingw32_libdir}/gcc/%{_mingw32_target}/%{version}/libgomp.a
%{_mingw32_libdir}/gcc/%{_mingw32_target}/%{version}/libgomp.dll.a
%{_mingw32_libdir}/gcc/%{_mingw32_target}/%{version}/libgomp.spec
%{_mingw32_infodir}/libgomp.info.gz
%dir %{_mingw32_libdir}/gcc/%{_mingw32_target}/%{version}/include
%dir %{_mingw32_libdir}/gcc/%{_mingw32_target}/%{version}/include-fixed
%dir %{_mingw32_libdir}/gcc/%{_mingw32_target}/%{version}/include/ssp
%{_mingw32_libdir}/gcc/%{_mingw32_target}/%{version}/include-fixed/README
%{_mingw32_libdir}/gcc/%{_mingw32_target}/%{version}/include-fixed/*.h
%{_mingw32_libdir}/gcc/%{_mingw32_target}/%{version}/include/*.h
%if %{include_java}
%exclude %{_mingw32_libdir}/gcc/%{_mingw32_target}/%{version}/include/jni*.h
%exclude %{_mingw32_libdir}/gcc/%{_mingw32_target}/%{version}/include/jawt*.h
%exclude %{_mingw32_libdir}/gcc/%{_mingw32_target}/%{version}/include/jvmpi.h
%endif
%{_mingw32_libdir}/gcc/%{_mingw32_target}/%{version}/include/ssp/*.h
%dir %{_mingw32_libdir}/gcc/%{_mingw32_target}/%{version}/install-tools
%dir %{_mingw32_libexecdir}/gcc/%{_mingw32_target}/%{version}/install-tools
%{_mingw32_libdir}/gcc/%{_mingw32_target}/%{version}/install-tools/*
%{_mingw32_libexecdir}/gcc/%{_mingw32_target}/%{version}/install-tools/*
%{_mingw32_mandir}/man1/gcc.1*
%{_mingw32_mandir}/man1/gcov.1*
%{_mingw32_mandir}/man7/fsf-funding.7.gz
%{_mingw32_mandir}/man7/gfdl.7.gz
%{_mingw32_mandir}/man7/gpl.7.gz
%{_mingw32_infodir}/gcc*.info*
%{_mingw32_libexecdir}/gcc/%{_mingw32_target}/%{version}/collect2.exe
%{_mingw32_libexecdir}/gcc/%{_mingw32_target}/%{version}/liblto_plugin-0.dll
%{_mingw32_libexecdir}/gcc/%{_mingw32_target}/%{version}/liblto_plugin.dll.a
%{_mingw32_libexecdir}/gcc/%{_mingw32_target}/%{version}/lto1.exe
%{_mingw32_libexecdir}/gcc/%{_mingw32_target}/%{version}/lto-wrapper.exe

%files -n mingw32-libgcc_s_sjlj1
%defattr(-,root,root)
%{_mingw32_bindir}/libgcc_s_sjlj-1.dll

%files -n mingw32-libssp0
%defattr(-,root,root)
%{_mingw32_bindir}/libssp-0.dll

%files -n mingw32-libgomp1
%defattr(-,root,root)
%{_mingw32_bindir}/libgomp-1.dll

%files -n mingw32-cpp
%defattr(-,root,root)
#/lib/%{_mingw32_target}-cpp
%{_mingw32_bindir}/cpp.exe
%{_mingw32_mandir}/man1/cpp.1*
%dir %{_mingw32_libdir}/gcc/%{_mingw32_target}
%dir %{_mingw32_libdir}/gcc/%{_mingw32_target}/%{version}
%{_mingw32_libexecdir}/gcc/%{_mingw32_target}/%{version}/cc1.exe
%{_mingw32_infodir}/cpp*.info*

%files c++
%defattr(-,root,root)
%{_mingw32_bindir}/g++.exe
%{_mingw32_bindir}/c++.exe
%exclude %{_mingw32_bindir}/%{_mingw32_target}-g++.exe
%exclude %{_mingw32_bindir}/%{_mingw32_target}-c++.exe
%{_mingw32_mandir}/man1/g++.1*
%{_mingw32_libdir}/gcc/%{_mingw32_target}/%{version}/include/c++/
%if %{include_java}
%exclude %{_mingw32_libdir}/gcc/%{_mingw32_target}/%{version}/include/c++/java/
%exclude %{_mingw32_libdir}/gcc/%{_mingw32_target}/%{version}/include/c++/javax/
%exclude %{_mingw32_libdir}/gcc/%{_mingw32_target}/%{version}/include/c++/gcj/
%exclude %{_mingw32_libdir}/gcc/%{_mingw32_target}/%{version}/include/c++/gnu/
%exclude %{_mingw32_libdir}/gcc/%{_mingw32_target}/%{version}/include/c++/org/
%exclude %{_mingw32_libdir}/gcc/%{_mingw32_target}/%{version}/include/c++/sun/
%endif
%{_mingw32_libdir}/gcc/%{_mingw32_target}/%{version}/libstdc++.a
%{_mingw32_libdir}/gcc/%{_mingw32_target}/%{version}/libstdc++.dll.a
%{_mingw32_libdir}/gcc/%{_mingw32_target}/%{version}/libsupc++.a
%{_mingw32_libexecdir}/gcc/%{_mingw32_target}/%{version}/cc1plus.exe

%files -n mingw32-libstdc++6
%defattr(-,root,root)
%{_mingw32_bindir}/libstdc++-6.dll

%if %{include_java}
%files java
%defattr(-,root,root)
%{_mingw32_bindir}/aot-compile
%{_mingw32_bindir}/rebuild-gcj-db
%{_mingw32_bindir}/gappletviewer.exe
%{_mingw32_bindir}/gc-analyze.exe
%{_mingw32_bindir}/gcj.exe
%exclude %{_mingw32_bindir}/%{_mingw32_target}-gcj.exe
%{_mingw32_bindir}/gcj-dbtool.exe
%{_mingw32_bindir}/gcjh.exe
%{_mingw32_bindir}/gij.exe
%{_mingw32_bindir}/gjar.exe
%{_mingw32_bindir}/gjarsigner.exe
%{_mingw32_bindir}/gjavah.exe
%{_mingw32_bindir}/gkeytool.exe
%{_mingw32_bindir}/gnative2ascii.exe
%{_mingw32_bindir}/gorbd.exe
%{_mingw32_bindir}/grmic.exe
%{_mingw32_bindir}/grmid.exe
%{_mingw32_bindir}/grmiregistry.exe
%{_mingw32_bindir}/gserialver.exe
%{_mingw32_bindir}/gtnameserv.exe
%{_mingw32_bindir}/jcf-dump.exe
%{_mingw32_bindir}/jv-convert.exe
%{_mingw32_libexecdir}/gcc/%{_mingw32_target}/%{version}/jc1.exe
%{_mingw32_libexecdir}/gcc/%{_mingw32_target}/%{version}/jvgenmain.exe
%{_mingw32_libexecdir}/gcc/%{_mingw32_target}/%{version}/ecj.jar
%{_mingw32_libexecdir}/gcc/%{_mingw32_target}/%{version}/ecj1.exe
%{_mingw32_libdir}/gcc/%{_mingw32_target}/%{version}/include/c++/java/
%{_mingw32_libdir}/gcc/%{_mingw32_target}/%{version}/include/c++/javax/
%{_mingw32_libdir}/gcc/%{_mingw32_target}/%{version}/include/c++/gcj/
%{_mingw32_libdir}/gcc/%{_mingw32_target}/%{version}/include/c++/gnu/
%{_mingw32_libdir}/gcc/%{_mingw32_target}/%{version}/include/c++/org/
%{_mingw32_libdir}/gcc/%{_mingw32_target}/%{version}/include/c++/sun/
%{_mingw32_libdir}/gcc/%{_mingw32_target}/%{version}/include/jni*.h
%{_mingw32_libdir}/gcc/%{_mingw32_target}/%{version}/include/jawt*.h
%{_mingw32_libdir}/gcc/%{_mingw32_target}/%{version}/include/jvmpi.h
%{_mingw32_libdir}/gcc/%{_mingw32_target}/%{version}/include/gcj/libgcj-config.h
%{_mingw32_libdir}/gcc/%{_mingw32_target}/%{version}/libgcj-tools.dll.a
%{_mingw32_libdir}/gcc/%{_mingw32_target}/%{version}/libgcj-noncore.dll.a
%{_mingw32_libdir}/gcc/%{_mingw32_target}/%{version}/libgcj.dll.a
%{_mingw32_libdir}/gcc/%{_mingw32_target}/%{version}/libgcj.spec
%{_mingw32_libdir}/gcc/%{_mingw32_target}/%{version}/libgij.dll.a
%{_mingw32_libdir}/gcc/%{_mingw32_target}/%{version}/gcj-%{version}-15/libjvm.dll.a
%{_mingw32_libdir}/gcc/%{_mingw32_target}/%{version}/gcj-%{version}-15/classmap.db
%{_mingw32_libdir}/gcc/%{_mingw32_target}/%{version}/pkgconfig/libgcj-4.9.pc
%{_mingw32_libdir}/gcc/%{_mingw32_target}/%{version}/security/classpath.security
%{_mingw32_libdir}/gcc/%{_mingw32_target}/%{version}/*properties
%{_mingw32_datadir}/java/libgcj*.jar
%{_mingw32_mandir}/man1/gappletviewer.1*
%{_mingw32_mandir}/man1/gcjh.1*
%{_mingw32_mandir}/man1/gjar.1*
%{_mingw32_mandir}/man1/gjarsigner.1*
%{_mingw32_mandir}/man1/gjavah.1*
%{_mingw32_mandir}/man1/gjdoc.1*
%{_mingw32_mandir}/man1/gkeytool.1*
%{_mingw32_mandir}/man1/gnative2ascii.1*
%{_mingw32_mandir}/man1/gorbd.1.gz
%{_mingw32_mandir}/man1/grmid.1.gz
%{_mingw32_mandir}/man1/grmiregistry.1.gz
%{_mingw32_mandir}/man1/gserialver.1.gz
%{_mingw32_mandir}/man1/gtnameserv.1.gz
%{_mingw32_mandir}/man1/gc-analyze.1*
%{_mingw32_mandir}/man1/gcj-dbtool.1*
%{_mingw32_mandir}/man1/gcj.1*
%{_mingw32_mandir}/man1/gij.1*
%{_mingw32_mandir}/man1/grmic.1*
%{_mingw32_mandir}/man1/jcf-dump.1*
%{_mingw32_mandir}/man1/jv-convert.1*
%{_mingw32_mandir}/man1/aot-compile.1*
%{_mingw32_mandir}/man1/rebuild-gcj-db.1*
%{_mingw32_infodir}/gcj.info*
%{_mingw32_infodir}/cp-tools.info*

%files -n mingw32-libgcj
%defattr(-,root,root)
%{_mingw32_bindir}/libgcj-15.dll
%{_mingw32_bindir}/libgcj-noncore-15.dll
%{_mingw32_bindir}/libgcj-tools-15.dll
%{_mingw32_bindir}/libgij-15.dll
%{_mingw32_bindir}/libjvm.dll

%endif

%files fortran
%defattr(-,root,root)
%{_mingw32_bindir}/gfortran.exe
%exclude %{_mingw32_bindir}/%{_mingw32_target}-gfortran.exe
%{_mingw32_mandir}/man1/gfortran.1*
%{_mingw32_libdir}/gcc/%{_mingw32_target}/%{version}/libgfortran.a
%{_mingw32_libdir}/gcc/%{_mingw32_target}/%{version}/libgfortran.dll.a
%{_mingw32_libdir}/gcc/%{_mingw32_target}/%{version}/libgfortranbegin.a
%{_mingw32_libdir}/gcc/%{_mingw32_target}/%{version}/libgfortran.spec
%{_mingw32_libdir}/gcc/%{_mingw32_target}/%{version}/libquadmath.a
%{_mingw32_libdir}/gcc/%{_mingw32_target}/%{version}/libquadmath.dll.a
%{_mingw32_infodir}/libquadmath.info.gz
%{_mingw32_libexecdir}/gcc/%{_mingw32_target}/%{version}/f951.exe
%{_mingw32_infodir}/gfortran.info*

%files -n mingw32-libgfortran3
%defattr(-,root,root)
%{_mingw32_bindir}/libgfortran-3.dll

%files -n mingw32-libquadmath0
%defattr(-,root,root)
%{_mingw32_bindir}/libquadmath-0.dll

%files objc
%defattr(-,root,root)
%{_mingw32_libdir}/gcc/%{_mingw32_target}/%{version}/include/objc
%{_mingw32_libdir}/gcc/%{_mingw32_target}/%{version}/libobjc.a
%{_mingw32_libdir}/gcc/%{_mingw32_target}/%{version}/libobjc.dll.a
%{_mingw32_libexecdir}/gcc/%{_mingw32_target}/%{version}/cc1obj*.exe

%files -n mingw32-libobjc4
%defattr(-,root,root)
%{_mingw32_bindir}/libobjc-4.dll

%changelog