%bcond_without alsa # don't build libgcj ALSA MIDI interface
%bcond_without dssi # don't build libgcj DSSI MIDI interface
%bcond_without gtk # don't build libgcj GTK peer
+%bcond_without apidocs # do not build and package API docs
%bcond_with mozilla # don't build libgcjwebplugin (needs fix for new xulrunner)
%bcond_with qt # build libgcj Qt peer (currently doesn't build with libtool-2.x)
%bcond_without x # don't build libgcj Xlib-dependent AWTs (incl. GTK/Qt)
Summary(pt_BR.UTF-8): Coleção dos compiladores GNU: o compilador C e arquivos compartilhados
Name: gcc
Version: %{major_ver}.%{minor_ver}
-Release: 2
+Release: 4
Epoch: 6
License: GPL v3+
Group: Development/Languages
Patch10: %{name}-moresparcs.patch
Patch11: %{name}-build-id.patch
Patch12: %{name}-plugin-decl-hook.patch
+Patch13: %{name}-python-pretty-printer-bool-vector.patch
URL: http://gcc.gnu.org/
BuildRequires: autoconf
%{?with_tests:BuildRequires: autogen}
%define filterout -fwrapv -fno-strict-aliasing -fsigned-char
%define filterout_ld -Wl,--as-needed
+%define skip_post_check_so '.*(libmudflap|libmudflapth|libxmlj|lib-gnu-awt-xlib)\.so.*'
+
%description
A compiler aimed at integrating all the optimizations and features
necessary for a high-performance and stable development environment.
%description -n libstdc++-multilib-static -l pl.UTF-8
Statyczna biblioteka standardowa C++ - wersja 32-bitowa.
+%package -n libstdc++-apidocs
+Summary: C++ standard library API documentation
+Group: Documentation
+
+%description apidocs
+API and internal documentation for C++ standard library.
+
%package fortran
Summary: Fortran 95 support for gcc
Summary(es.UTF-8): Soporte de Fortran 95 para gcc
%patch10 -p0
%patch11 -p0
%patch12 -p0
+%patch13 -p0
mv ChangeLog ChangeLog.general
%files -n libstdc++-devel
%defattr(644,root,root,755)
-%doc libstdc++-v3/doc/html
%attr(755,root,root) %{_libdir}/libstdc++.so
%{_libdir}/libstdc++.la
%dir %{_includedir}/c++
%exclude %{_includedir}/c++/%{version}/sun
%endif
+%if %{with apidocs}
+%files libstdc++-apidocs
+%defattr(644,root,root,755)
+%doc libstdc++-v3/doc/html/*
+%endif
+
%if %{with multilib}
%files -n libstdc++-multilib-devel
%defattr(644,root,root,755)