0c1e1f9
%global debug_package %{nil}
66c68a3
7611227
Name:           mingw-filesystem
c277ca3
Version:        97
c277ca3
Release:        1%{?dist}
0c1e1f9
Summary:        MinGW cross compiler base filesystem and environment
66c68a3
66c68a3
Group:          Development/Libraries
66c68a3
License:        GPLv2+
0c1e1f9
URL:            http://fedoraproject.org/wiki/MinGW
66c68a3
BuildArch:      noarch
66c68a3
b8b00ef
Source0:        COPYING
0c1e1f9
Source1:        macros.mingw
0c1e1f9
Source2:        macros.mingw32
0c1e1f9
Source3:        macros.mingw64
0c1e1f9
Source4:        mingw32.sh
0c1e1f9
Source5:        mingw64.sh
0c1e1f9
Source6:        mingw-find-debuginfo.sh
0c1e1f9
Source7:        mingw-find-requires.sh
0c1e1f9
Source8:        mingw-find-provides.sh
0c1e1f9
Source9:        mingw-scripts.sh
0c1e1f9
Source10:       mingw-rpmlint.config
0c1e1f9
Source11:       Toolchain-mingw32.cmake
0c1e1f9
Source12:       Toolchain-mingw64.cmake
0c1e1f9
Source13:       mingw-find-lang.sh
0c1e1f9
Source14:       mingw32.attr
0c1e1f9
Source15:       mingw64.attr
Erik van Pienbroek be0d63c
# generated with:
e66c6cc
# (rpm -ql mingw32-crt | grep '\.a$' | while read f ; do i686-w64-mingw32-dlltool   -I $f 2>/dev/null ; done) | sort | uniq | tr A-Z a-z > standard-dlls-mingw32
e66c6cc
Source16:       standard-dlls-mingw32
e66c6cc
# (rpm -ql mingw64-crt | grep '\.a$' | while read f ; do x86_64-w64-mingw32-dlltool -I $f 2>/dev/null ; done) | sort | uniq | tr A-Z a-z > standard-dlls-mingw64
e66c6cc
Source17:       standard-dlls-mingw64
66c68a3
7611227
7611227
%description
7611227
This package contains the base filesystem layout, RPM macros and
7611227
environment for all Fedora MinGW packages.
7611227
7611227
This environment is maintained by the Fedora MinGW SIG at:
7611227
7611227
  http://fedoraproject.org/wiki/SIGs/MinGW
7611227
7611227
0c1e1f9
%package base
528afd0
Summary:        Generic files which are needed for both mingw32-filesystem and mingw64-filesystem
0c1e1f9
0c1e1f9
# Obsolete the packages from the test repo
0c1e1f9
Obsoletes:      cross-filesystem < 67-2
0c1e1f9
Obsoletes:      cross-filesystem-scripts < 67-2
0c1e1f9
Obsoletes:      mingw-filesystem < 75-2
0c1e1f9
Obsoletes:      mingw-filesystem-scripts < 75-2
0c1e1f9
0c1e1f9
%description base
0c1e1f9
This package contains the base filesystem layout, RPM macros and
0c1e1f9
environment for all Fedora MinGW packages.
0c1e1f9
0c1e1f9
This environment is maintained by the Fedora MinGW SIG at:
0c1e1f9
0c1e1f9
  http://fedoraproject.org/wiki/SIGs/MinGW
0c1e1f9
0c1e1f9
7611227
%package -n mingw32-filesystem
528afd0
Summary:        MinGW cross compiler base filesystem and environment for the win32 target
0c1e1f9
Requires:       %{name}-base = %{version}-%{release}
66c68a3
66c68a3
# Note about 'Provides: mingw32(foo.dll)'
66c68a3
# ------------------------------------------------------------
66c68a3
#
66c68a3
# We want to be able to build & install mingw32 libraries without
66c68a3
# necessarily needing to install wine.  (And certainly not needing to
66c68a3
# install Windows!)  There is no requirement to have wine installed in
66c68a3
# order to use the mingw toolchain to develop software (ie. to
66c68a3
# compile more stuff on top of it), so why require that?
66c68a3
#
66c68a3
# So for expediency, this base package provides the "missing" DLLs
66c68a3
# from Windows.  Another way to do it would be to exclude these
66c68a3
# proprietary DLLs in our find-requires checking script - essentially
66c68a3
# it comes out the same either way.
66c68a3
#
0c1e1f9
Provides:       %(sed "s/\(.*\)/mingw32(\1) /g" %{SOURCE16} | tr "\n" " ")
b09bf88
Provides:       mingw32(mscoree.dll)
66c68a3
7611227
%description -n mingw32-filesystem
66c68a3
This package contains the base filesystem layout, RPM macros and
66c68a3
environment for all Fedora MinGW packages.
66c68a3
66c68a3
This environment is maintained by the Fedora MinGW SIG at:
66c68a3
66c68a3
  http://fedoraproject.org/wiki/SIGs/MinGW
66c68a3
66c68a3
0c1e1f9
%package -n mingw64-filesystem
528afd0
Summary:        MinGW cross compiler base filesystem and environment for the win64 target
0c1e1f9
Requires:       %{name}-base = %{version}-%{release}
0c1e1f9
e66c6cc
Provides:       %(sed "s/\(.*\)/mingw64(\1) /g" %{SOURCE17} | tr "\n" " ")
b09bf88
Provides:       mingw64(mscoree.dll)
Erik van Pienbroek 7efd7c1
0c1e1f9
%description -n mingw64-filesystem
0c1e1f9
This package contains the base filesystem layout, RPM macros and
0c1e1f9
environment for all Fedora MinGW packages.
0c1e1f9
0c1e1f9
This environment is maintained by the Fedora MinGW SIG at:
0c1e1f9
0c1e1f9
  http://fedoraproject.org/wiki/SIGs/MinGW
0c1e1f9
0c1e1f9
66c68a3
%prep
66c68a3
%setup -q -c -T
66c68a3
cp %{SOURCE0} COPYING
66c68a3
66c68a3
66c68a3
%build
66c68a3
# nothing
66c68a3
66c68a3
66c68a3
%install
66c68a3
mkdir -p $RPM_BUILD_ROOT
66c68a3
b8c5804
mkdir -p $RPM_BUILD_ROOT%{_libexecdir}
0c1e1f9
install -m 755 %{SOURCE9} $RPM_BUILD_ROOT%{_libexecdir}/mingw-scripts
b8c5804
66c68a3
mkdir -p $RPM_BUILD_ROOT%{_bindir}
b8c5804
pushd $RPM_BUILD_ROOT%{_bindir}
0c1e1f9
for i in mingw32-configure mingw32-cmake mingw32-make mingw32-pkg-config \
0c1e1f9
         mingw64-configure mingw64-cmake mingw64-make mingw64-pkg-config ; do
0c1e1f9
  ln -s %{_libexecdir}/mingw-scripts $i
b8c5804
done
b8c5804
popd
66c68a3
1ea30e6
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/profile.d
0c1e1f9
install -m 644 %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/
0c1e1f9
install -m 644 %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/
66c68a3
66c68a3
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/rpm
0c1e1f9
install -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/rpm/macros.mingw
0c1e1f9
install -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/rpm/macros.mingw32
0c1e1f9
install -m 644 %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/rpm/macros.mingw64
66c68a3
671fa62
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/rpmlint
0c1e1f9
install -m 644 %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/rpmlint/
66c68a3
0c1e1f9
# Create the folders required for gcc and binutils
0c1e1f9
mkdir -p $RPM_BUILD_ROOT%{_prefix}/i686-w64-mingw32
0c1e1f9
mkdir -p $RPM_BUILD_ROOT%{_prefix}/i686-w64-mingw32/bin
0c1e1f9
mkdir -p $RPM_BUILD_ROOT%{_prefix}/i686-w64-mingw32/lib
0c1e1f9
mkdir -p $RPM_BUILD_ROOT%{_prefix}/x86_64-w64-mingw32
0c1e1f9
mkdir -p $RPM_BUILD_ROOT%{_prefix}/x86_64-w64-mingw32/bin
0c1e1f9
mkdir -p $RPM_BUILD_ROOT%{_prefix}/x86_64-w64-mingw32/lib
66c68a3
66c68a3
# The MinGW system root which will contain Windows native binaries
66c68a3
# and Windows-specific header files, pkgconfig, etc.
0c1e1f9
mkdir -p $RPM_BUILD_ROOT%{_prefix}/i686-w64-mingw32/sys-root/mingw
0c1e1f9
mkdir -p $RPM_BUILD_ROOT%{_prefix}/i686-w64-mingw32/sys-root/mingw/bin
0c1e1f9
mkdir -p $RPM_BUILD_ROOT%{_prefix}/i686-w64-mingw32/sys-root/mingw/etc
0c1e1f9
mkdir -p $RPM_BUILD_ROOT%{_prefix}/i686-w64-mingw32/sys-root/mingw/include
0c1e1f9
mkdir -p $RPM_BUILD_ROOT%{_prefix}/i686-w64-mingw32/sys-root/mingw/include/sys
0c1e1f9
mkdir -p $RPM_BUILD_ROOT%{_prefix}/i686-w64-mingw32/sys-root/mingw/lib
0c1e1f9
mkdir -p $RPM_BUILD_ROOT%{_prefix}/i686-w64-mingw32/sys-root/mingw/lib/pkgconfig
0c1e1f9
mkdir -p $RPM_BUILD_ROOT%{_prefix}/i686-w64-mingw32/sys-root/mingw/sbin
0c1e1f9
0c1e1f9
mkdir -p $RPM_BUILD_ROOT%{_prefix}/x86_64-w64-mingw32/sys-root/mingw
0c1e1f9
mkdir -p $RPM_BUILD_ROOT%{_prefix}/x86_64-w64-mingw32/sys-root/mingw/bin
0c1e1f9
mkdir -p $RPM_BUILD_ROOT%{_prefix}/x86_64-w64-mingw32/sys-root/mingw/etc
0c1e1f9
mkdir -p $RPM_BUILD_ROOT%{_prefix}/x86_64-w64-mingw32/sys-root/mingw/include
0c1e1f9
mkdir -p $RPM_BUILD_ROOT%{_prefix}/x86_64-w64-mingw32/sys-root/mingw/include
0c1e1f9
mkdir -p $RPM_BUILD_ROOT%{_prefix}/x86_64-w64-mingw32/sys-root/mingw/lib
0c1e1f9
mkdir -p $RPM_BUILD_ROOT%{_prefix}/x86_64-w64-mingw32/sys-root/mingw/lib/pkgconfig
0c1e1f9
mkdir -p $RPM_BUILD_ROOT%{_prefix}/x86_64-w64-mingw32/sys-root/mingw/sbin
66c68a3
66c68a3
# We don't normally package manual pages and info files, except
66c68a3
# where those are not supplied by a Fedora native package.  So we
66c68a3
# need to create the directories.
66c68a3
#
66c68a3
# Note that some packages try to install stuff in
0c1e1f9
#   /usr/x86_64-pc-mingw32/sys-root/man and
0c1e1f9
#   /usr/x86_64-pc-mingw32/sys-root/doc
66c68a3
# but those are both packaging bugs.
0c1e1f9
mkdir -p $RPM_BUILD_ROOT%{_prefix}/i686-w64-mingw32/sys-root/mingw/share
0c1e1f9
mkdir -p $RPM_BUILD_ROOT%{_prefix}/i686-w64-mingw32/sys-root/mingw/share/doc
0c1e1f9
mkdir -p $RPM_BUILD_ROOT%{_prefix}/i686-w64-mingw32/sys-root/mingw/share/info
0c1e1f9
mkdir -p $RPM_BUILD_ROOT%{_prefix}/i686-w64-mingw32/sys-root/mingw/share/man
0c1e1f9
mkdir -p $RPM_BUILD_ROOT%{_prefix}/i686-w64-mingw32/sys-root/mingw/share/man/man{1,2,3,4,5,6,7,8,l,n}
0c1e1f9
mkdir -p $RPM_BUILD_ROOT%{_prefix}/i686-w64-mingw32/sys-root/mingw/share/aclocal
0c1e1f9
mkdir -p $RPM_BUILD_ROOT%{_prefix}/i686-w64-mingw32/sys-root/mingw/share/themes
0c1e1f9
mkdir -p $RPM_BUILD_ROOT%{_prefix}/i686-w64-mingw32/sys-root/mingw/share/cmake
0c1e1f9
mkdir -p $RPM_BUILD_ROOT%{_prefix}/i686-w64-mingw32/sys-root/mingw/share/pkgconfig
0c1e1f9
mkdir -p $RPM_BUILD_ROOT%{_prefix}/i686-w64-mingw32/sys-root/mingw/share/xml
0c1e1f9
0c1e1f9
mkdir -p $RPM_BUILD_ROOT%{_prefix}/x86_64-w64-mingw32/sys-root/mingw/share
0c1e1f9
mkdir -p $RPM_BUILD_ROOT%{_prefix}/x86_64-w64-mingw32/sys-root/mingw/share/doc
0c1e1f9
mkdir -p $RPM_BUILD_ROOT%{_prefix}/x86_64-w64-mingw32/sys-root/mingw/share/info
0c1e1f9
mkdir -p $RPM_BUILD_ROOT%{_prefix}/x86_64-w64-mingw32/sys-root/mingw/share/man
0c1e1f9
mkdir -p $RPM_BUILD_ROOT%{_prefix}/x86_64-w64-mingw32/sys-root/mingw/share/man/man{1,2,3,4,5,6,7,8,l,n}
0c1e1f9
mkdir -p $RPM_BUILD_ROOT%{_prefix}/x86_64-w64-mingw32/sys-root/mingw/share/aclocal
0c1e1f9
mkdir -p $RPM_BUILD_ROOT%{_prefix}/x86_64-w64-mingw32/sys-root/mingw/share/themes
0c1e1f9
mkdir -p $RPM_BUILD_ROOT%{_prefix}/x86_64-w64-mingw32/sys-root/mingw/share/cmake
0c1e1f9
mkdir -p $RPM_BUILD_ROOT%{_prefix}/x86_64-w64-mingw32/sys-root/mingw/share/pkgconfig
0c1e1f9
mkdir -p $RPM_BUILD_ROOT%{_prefix}/x86_64-w64-mingw32/sys-root/mingw/share/xml
66c68a3
66c68a3
# NB. NOT _libdir
66c68a3
mkdir -p $RPM_BUILD_ROOT/usr/lib/rpm
0c1e1f9
install -m 0755 %{SOURCE6} $RPM_BUILD_ROOT%{_rpmconfigdir}
0c1e1f9
install -m 0755 %{SOURCE7} $RPM_BUILD_ROOT%{_rpmconfigdir}
0c1e1f9
install -m 0755 %{SOURCE8} $RPM_BUILD_ROOT%{_rpmconfigdir}
0c1e1f9
install -m 0755 %{SOURCE13} $RPM_BUILD_ROOT%{_rpmconfigdir}
66c68a3
Kalev Lember b4298c0
mkdir -p $RPM_BUILD_ROOT/usr/lib/rpm/fileattrs
0c1e1f9
install -m 0644 %{SOURCE14} $RPM_BUILD_ROOT%{_rpmconfigdir}/fileattrs/
0c1e1f9
install -m 0644 %{SOURCE15} $RPM_BUILD_ROOT%{_rpmconfigdir}/fileattrs/
Kalev Lember b4298c0
0c1e1f9
mkdir -p $RPM_BUILD_ROOT%{_datadir}/mingw
0c1e1f9
install -m 0644 %{SOURCE11} $RPM_BUILD_ROOT%{_datadir}/mingw/
0c1e1f9
install -m 0644 %{SOURCE12} $RPM_BUILD_ROOT%{_datadir}/mingw/
7cf0edd
66c68a3
0c1e1f9
%files base
66c68a3
%doc COPYING
0c1e1f9
%dir %{_sysconfdir}/rpmlint/
0c1e1f9
%config(noreplace) %{_sysconfdir}/rpmlint/mingw-rpmlint.config
0c1e1f9
%config(noreplace) %{_sysconfdir}/rpm/macros.mingw
0c1e1f9
%{_libexecdir}/mingw-scripts
0c1e1f9
%{_rpmconfigdir}/mingw*
0c1e1f9
%dir %{_datadir}/mingw/
0c1e1f9
0c1e1f9
%files -n mingw32-filesystem
66c68a3
%config(noreplace) %{_sysconfdir}/rpm/macros.mingw32
1ea30e6
%config(noreplace) %{_sysconfdir}/profile.d/mingw32.sh
66c68a3
%{_bindir}/mingw32-configure
7cf0edd
%{_bindir}/mingw32-cmake
0c1e1f9
%{_bindir}/mingw32-make
0c1e1f9
%{_bindir}/mingw32-pkg-config
0c1e1f9
%{_prefix}/i686-w64-mingw32
0c1e1f9
%{_rpmconfigdir}/fileattrs/mingw32.attr
0c1e1f9
%{_datadir}/mingw/Toolchain-mingw32.cmake
0c1e1f9
0c1e1f9
%files -n mingw64-filesystem
0c1e1f9
%config(noreplace) %{_sysconfdir}/rpm/macros.mingw64
0c1e1f9
%config(noreplace) %{_sysconfdir}/profile.d/mingw64.sh
0c1e1f9
%{_bindir}/mingw64-configure
0c1e1f9
%{_bindir}/mingw64-cmake
0c1e1f9
%{_bindir}/mingw64-make
0c1e1f9
%{_bindir}/mingw64-pkg-config
0c1e1f9
%{_prefix}/x86_64-w64-mingw32
0c1e1f9
%{_rpmconfigdir}/fileattrs/mingw64.attr
0c1e1f9
%{_datadir}/mingw/Toolchain-mingw64.cmake
66c68a3
66c68a3
66c68a3
%changelog
c277ca3
* Sun Dec 16 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 97-1
c277ca3
- Added support for using the environment variables MINGW32_MAKE_ARGS and
c277ca3
  MINGW64_MAKE_ARGS. These environment variables can be used to  provide
c277ca3
  additional target-specific arguments when using the %%mingw_make macro
c277ca3
ac04067
* Mon Dec  3 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 96-3
ac04067
- Added support for RHEL6
ac04067
b09bf88
* Sat Nov 10 2012 Kalev Lember <kalevlember@gmail.com> - 96-2
b09bf88
- Add provides for mscoree.dll and regenerate the standard-dlls file
b09bf88
4c049af
* Mon Sep 17 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 96-1
4c049af
- Added new macros for Qt5 support, %%mingw32_qmake_qt5, %%mingw64_qmake_qt5,
4c049af
  %%mingw_qmake_qt4 and %%mingw_qmake_qt5
4c049af
- It isn't necessary to call %%mingw32_env / %%mingw64_env any more
4c049af
  in the %%mingw32_qmake_qt4 and %%mingw64_qmake_qt4 macros
4c049af
328f054
* Mon Aug 13 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 95-14
328f054
- Fix the handling of quoted arguments in the cmake macros
328f054
7b07576
* Tue Jul 24 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 95-13
7b07576
- Make sure the %%mingw_cmake and %%mingw_cmake_kde4 macros respect the
7b07576
  environment variable MINGW_BUILDDIR_SUFFIX
7b07576
7b07576
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 95-12
f5f39d3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
f5f39d3
fcb9178
* Wed Jun 13 2012 Kalev Lember <kalevlember@gmail.com> - 95-11
fcb9178
- Fix syntax error in mingw64_env macro, thanks to Akira TAGOH (#831534)
fcb9178
0cec28d
* Wed Jun  6 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 95-10
0cec28d
- Prevent errors when the folders %%{mingw32_prefix} or %%{mingw64_prefix} are missing
0cec28d
- Fix parse error when -config files containing a . are available
0cec28d
  in %%{mingw32_bindir} or %%{mingw64_bindir} (RHBZ #657478)
0cec28d
57554d3
* Thu Apr 19 2012 Kalev Lember <kalevlember@gmail.com> - 95-9
57554d3
- Fix whitespace handling in %%mingw_configure and friends
57554d3
e66c6cc
* Sat Mar 17 2012 Kalev Lember <kalevlember@gmail.com> - 95-8
e66c6cc
- Generate the list of mingw32(...) and mingw64(...) DLL name provides from
e66c6cc
  mingw-crt import libraries
e66c6cc
9dad08a
* Sat Mar 17 2012 Kalev Lember <kalevlember@gmail.com> - 95-7
9dad08a
- Define mingw_build_win32/win64 in system macros, so that each
9dad08a
  individual package wouldn't have to
9dad08a
3fc8958
* Fri Mar 16 2012 Kalev Lember <kalevlember@gmail.com> - 95-6
3fc8958
- Fix warnings during debuginfo generation
3fc8958
f14297d
* Fri Mar 16 2012 Kalev Lember <kalevlember@gmail.com> - 95-5
f14297d
- Simplify the mingw_make_install macro, also moving it to the deprecated
f14297d
  section
f14297d
Erik van Pienbroek 7efd7c1
* Mon Mar 12 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 95-4
Erik van Pienbroek 7efd7c1
- Added a manual provides for the native windows library ksuser.dll as
Erik van Pienbroek 7efd7c1
  wine doesn't have an implementation for this library at the moment
Erik van Pienbroek 7efd7c1
f5e6db3
* Tue Mar 06 2012 Kalev Lember <kalevlember@gmail.com> - 95-3
f5e6db3
- Merge copy-n-paste duplicate %%mingw32_debug_package code
f3b87dd
- Get rid of the USE_OLD_METHOD hack in mingw-find-debuginfo.sh
276307b
- Add missing %mingw32_debug_install_post
f5e6db3
528afd0
* Tue Feb 28 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 95-2
528afd0
- Fixed broken summary tags
528afd0
0c1e1f9
* Sat Feb 25 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 95-1
0c1e1f9
- Added support for both win32 and win64 targets
0c1e1f9
- Fixed rpmlint issues
0c1e1f9
- Fixed permissions of the scripts (775 -> 755)
0c1e1f9
- Fixed description of the various subpackages
0c1e1f9
- Make the various macros compliant with the new packaging guidelines:
0c1e1f9
  https://fedorahosted.org/fpc/ticket/71
0c1e1f9
- Suppress arch-independent-package-contains-binary-or-object rpmlint
0c1e1f9
  errors for static libraries
0c1e1f9
- Improved the mingw_configure, mingw_make, mingw_make_install,
0c1e1f9
  mingw_cmake and mingw_cmake_kde4 RPM macros so packagers don't need
0c1e1f9
  to use quotes anymore when using arguments. Thanks to Kalev Lember
0c1e1f9
  for the initial proof of concept
0c1e1f9
- Dropped the -mms-bitfields argument from the default CFLAGS as
0c1e1f9
  it is enabled by default as of gcc 4.7
0c1e1f9
- Replaced the CMake defines QT_HEADERS_DIR and QT_LIBRARY_DIR
0c1e1f9
  with QT_BINARY_DIR which is a more proper method to make CMake
0c1e1f9
  aware of the location of Qt. Thx to Dominik Schmidt for the hint
0c1e1f9
- Make sure CMake can detect the qmake-qt4 binary in /usr/$target/bin
0c1e1f9
- Make sure CMake can also detect the (native) Qt tools
0c1e1f9
  qdbuscpp2xml and qdbusxml2cpp
0c1e1f9
- Added new RPM macros mingw_cmake_kde4, mingw32_cmake_kde4 and mingw64_cmake_kde4
0c1e1f9
- Added three new environment variables which can be set to
0c1e1f9
  influence the behaviour of the cmake macros:
0c1e1f9
  MINGW_CMAKE_ARGS, MINGW32_CMAKE_ARGS and MINGW64_CMAKE_ARGS
0c1e1f9
- Dropped the mingw32-qmake-qt4 and mingw64-qmake-qt4 wrapper scripts
0c1e1f9
  as they're now provided by the mingw{32,64}-qt-qmake packages
0c1e1f9
- Added a new RPM macro: %%{?mingw_package_header}
0c1e1f9
  Packagers can use this macro instead of the original boilerplate
0c1e1f9
  code which is needed for all mingw packages
0c1e1f9
- Made argument passing using the backwards compatibility macro %%{_mingw32_cmake} work
0c1e1f9
- Fixed an issue in the mingw_cmake macro where it could point to
0c1e1f9
  a non-existant CMakeLists.txt file
0c1e1f9
- Fixed a bug in the find-requires script which causes all packages to depend
0c1e1f9
  on both the mingw32 and the mingw64 toolchains
0c1e1f9
- Split out the RPM macros which require both the mingw{32,64}-filesystem
0c1e1f9
  packages in a new file and put it in the mingw-filesystem-base package
0c1e1f9
- Generate seperate debuginfo packages for mingw32 and mingw64
0c1e1f9
- Set the minimum version of R: mingw{32,64}-filesystem to 70
0c1e1f9
- Use the correct FSF-address in some scripts
0c1e1f9
- Thanks to all the contributors: Erik van Pienbroek, Kalev Lember, Levente
0c1e1f9
  Farkas, Marc-Andre Lureau.
0c1e1f9
7611227
* Thu Feb 23 2012 Kalev Lember <kalevlember@gmail.com> - 69-15
7611227
- Rename the source package to mingw-filesystem (#673784)
7611227
Erik van Pienbroek be0d63c
* Sun Feb  5 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 69-14
Erik van Pienbroek be0d63c
- Use a more complete list of Win32 default dlls based on the
Erik van Pienbroek be0d63c
  dlls exported by wine (thanks to Levente Farkas). RHBZ #787486
Erik van Pienbroek be0d63c
32d1194
* Tue Jan 31 2012 Kalev Lember <kalevlember@gmail.com> - 69-13
32d1194
- Remove the mingw32-pkg-config wrapper as well, now that we have separate
32d1194
  mingw32-pkg-config package
32d1194
92ccc6e
* Tue Jan 31 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 69-12
92ccc6e
- Don't provide the wrapper i686-pc-mingw32-pkg-config anymore as we now
92ccc6e
  have a mingw32-pkg-config package
92ccc6e
Erik van Pienbroek 2a5fde2
* Tue Jan 10 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 69-11
Erik van Pienbroek 2a5fde2
- Set Boost_COMPILER to -gcc47 in cmake toolchain file
Erik van Pienbroek 2a5fde2
aa32785
* Tue Nov 22 2011 Erik van Pienbroek <epienbro@fedoraproject.org> - 69-10
aa32785
- Fixed a small regression introduced by the previous release which caused an
aa32785
  FTBFS for mingw32-matahari as indicated on the fedora-mingw mailing list
aa32785
f1b5041
* Wed Nov 16 2011 Erik van Pienbroek <epienbro@fedoraproject.org> - 69-9
f1b5041
- Added various definitions to the CMake toolchain file (RHBZ #753906)
f1b5041
926da27
* Tue Aug 02 2011 Kalev Lember <kalevlember@gmail.com> - 69-8
926da27
- Added avicap32.dll and psapi.dll to the list of Win32 default DLLs
926da27
  (thanks to Farkas Levente)
926da27
444f8dd
* Wed Jul 13 2011 Erik van Pienbroek <epienbro@fedoraproject.org> - 69-7
444f8dd
- Added glu32.dll and wsock32.dll to the list of Win32 default dll's
444f8dd
31e3471
* Wed Jul  6 2011 Erik van Pienbroek <epienbro@fedoraproject.org> - 69-6
31e3471
- Use a more complete list of Win32 default dll's
31e3471
6d7bab8
* Wed Jul 06 2011 Kalev Lember <kalevlember@gmail.com> - 69-5
6d7bab8
- Fixed dep gen with upper case dll names
6d7bab8
4269348
* Fri Jul  1 2011 Erik van Pienbroek <epienbro@fedoraproject.org> - 69-4
4269348
- The %%{_mingw32_qmake_qt4} macro pointed to an invalid mkspecs name. Fixed
4269348
Kalev Lember f88e1d8
* Tue Jun 28 2011 Kalev Lember <kalev@smartlink.ee> - 69-3
Kalev Lember f88e1d8
- Set Boost_COMPILER to -gcc46 in cmake toolchain file
Kalev Lember f88e1d8
Kalev Lember 7476133
* Sun May 29 2011 Kalev Lember <kalev@smartlink.ee> - 69-2
Kalev Lember 7476133
- Make sure the -debuginfo subpackages are mingw32- prefixed
Kalev Lember 7476133
  even if the base package is mingw-
Kalev Lember 7476133
Kalev Lember 9781763
* Tue May 24 2011 Kalev Lember <kalev@smartlink.ee> - 69-1
Kalev Lember 9781763
- Adjusted PKG_CONFIG_LIBDIR to also search in _mingw32_datadir/pkgconfig/
Kalev Lember 15eccff
- Own the sbin/ directory
Kalev Lember 82ecebc
- Fixed the -n option with _mingw32_debug_package macro
Kalev Lember 9781763
Kalev Lember e9ebc71
* Mon May 23 2011 Kalev Lember <kalev@smartlink.ee> - 68-3
Kalev Lember e9ebc71
- Own etc/, share/pkgconfig/, share/xml/ directories
Kalev Lember e9ebc71
Kalev Lember 750c540
* Sat May 21 2011 Kalev Lember <kalev@smartlink.ee> - 68-2
Kalev Lember 750c540
- Own the _mingw32_datadir/cmake/ directory
Kalev Lember 750c540
Kalev Lember b4298c0
* Fri May 20 2011 Kalev Lember <kalev@smartlink.ee> - 68-1
Kalev Lember b4298c0
- Support RPM 4.9 new "fileattr" dep extraction system
Kalev Lember 11c4c8f
- Cleaned up the spec file from cruft not needed with latest rpm
Kalev Lember 2de8bb6
- Generate versionless mingw32-filesystem Requires
Kalev Lember b4298c0
2c67134
* Sat May 14 2011 Erik van Pienbroek <epienbro@fedoraproject.org> - 67-1
2c67134
- Don't unset PKG_CONFIG_PATH in the wrapper scripts
2c67134
  mingw32-pkg-config and i686-pc-mingw32-pkg-config (BZ #688171)
2c67134
Kalev Lember a3f272c
* Sun May 01 2011 Kalev Lember <kalev@smartlink.ee> - 66-1
Kalev Lember a3f272c
- Override boost library suffix in cmake toolchain file
Kalev Lember a3f272c
Kalev Lember 5b66efd
* Thu Mar 17 2011 Kalev Lember <kalev@smartlink.ee> - 65-1
Kalev Lember 5b66efd
- Don't error out trying to set illegal LD.BFD variable name
Kalev Lember 5b66efd
36b5a23
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 64-3
36b5a23
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
36b5a23
1dddd1e
* Wed Jan 12 2011 Erik van Pienbroek <epienbro@fedoraproject.org> - 64-2
1dddd1e
- Own the directory %%{_mingw32_datadir}/themes
1dddd1e
1dddd1e
* Sun Nov 14 2010 Ivan Romanov <drizt@land.ru> - 64-1
97e2f31
- Removed -win32 option for mingw32-qmake-qt4 (is obsoletes since qt version 4.7.0)
97e2f31
- Using win32-g++-fedora-cross instead fedora-win32-cross spec file
97e2f31
dd7c74f
* Thu Nov 11 2010 Erik van Pienbroek <epienbro@fedoraproject.org> - 63-1
dd7c74f
- Set the CMAKE_RC_COMPILER variable in the CMake toolchain file (RHBZ #652435)
dd7c74f
a921aa1
* Tue Oct 19 2010 Ivan Romanov <drizt@land.ru> - 62-2
a921aa1
- Added mingw32-qmake-qt4
a921aa1
bd51a55
* Mon Oct 11 2010 Erik van Pienbroek <epienbro@fedoraproject.org> - 62-1
bd51a55
- Provide mingw32(odbc32.dll) for Qt
bd51a55
3eb87c9
* Sun Sep 12 2010 Erik van Pienbroek <epienbro@fedoraproject.org> - 61-1
3eb87c9
- Provide mingw32(gdiplus.dll) for gdk-pixbuf
3eb87c9
9844c01
* Thu Sep  9 2010 Richard W.M. Jones <rjones@redhat.com> - 60-1
9844c01
- Provide virtual mingw32(ws2_32.dll) for libvirt.
9844c01
Kalev Lember 7034ac8
* Mon Sep 06 2010 Kalev Lember <kalev@smartlink.ee> - 59-1
Kalev Lember 7034ac8
- Own /etc/rpmlint/ dir instead of depending on rpmlint package (RHBZ#629791)
Kalev Lember 7034ac8
d8bcc2f
* Fri Sep  3 2010 Richard W.M. Jones <rjones@redhat.com> - 58-1
d8bcc2f
- Remove requires setup and rpm (RHBZ#629791).
d8bcc2f
0444662
* Tue Jun  8 2010 Richard W.M. Jones <rjones@redhat.com> - 57-1
0444662
- Add provides mingw32(rpcrt4.dll) (RHBZ#594581).
0444662
144b0e9
* Mon May 24 2010 Kalev Lember <kalev@smartlink.ee> - 56-2
144b0e9
- Work around cmake's Qt detection in the toolchain file
144b0e9
8bb36e0
* Fri Sep 18 2009 Erik van Pienbroek 
8bb36e0
- Prevented a circular dependency which caused the i686-pc-mingw32-pkg-config
8bb36e0
  script to be broken. Thanks to Kalev Lember for spotting this bug
8bb36e0
5051797
* Tue Sep  1 2009 Erik van Pienbroek <epienbro@fedoraproject.org> - 55-1
5051797
- The wrapper scripts i686-pc-mingw32-pkg-config, mingw32-pkg-config,
5051797
  mingw32-configure, mingw32-make and mingw32-cmake had a bug where
5051797
  quoted arguments could get interpreted incorrect.
5051797
  Thanks to Michael Ploujnikov for helping out with this issue
5051797
3dbb343
* Sat Aug 29 2009 Erik van Pienbroek <epienbro@fedoraproject.org> - 54-1
3dbb343
- Added the file /usr/bin/i686-pc-mingw32-pkg-config which is a wrapper script
3dbb343
  which calls pkg-config with the right environment variables set (BZ #513825)
3dbb343
dc67d06
* Sun Aug 23 2009 Erik van Pienbroek <epienbro@fedoraproject.org> - 53-1
dc67d06
- Fixed a small rpmlint warning caused by the debuginfo generation macro
dc67d06
  Thanks to Kalev Lember for spotting this
dc67d06
ad998c6
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 52-3
ad998c6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
ad998c6
c95a721
* Wed Jun 24 2009 Erik van Pienbroek <epienbro@fedoraproject.org> - 52-2
c95a721
- Updated ChangeLog comment from previous version as the RPM variable
c95a721
  __debug_install_post needs to be overridden instead of __os_install_post
c95a721
  for -debuginfo subpackage generation
c95a721
c95a721
* Mon Jun 22 2009 Erik van Pienbroek <epienbro@fedoraproject.org> - 52-1
d9bad00
- Add script to create -debuginfo subpackages
d9bad00
  This script was created by Fridrich Strba
d9bad00
- All mingw32 packages now need to add these lines to their .spec files:
c95a721
  %%define __debug_install_post %%{_mingw32_debug_install_post}
d9bad00
  %%{_mingw32_debug_package}
d9bad00
7cf0edd
* Thu Jun  4 2009 Adam Goode <adam@spicenitz.org> - 51-1
7cf0edd
- Add CMake rules
7cf0edd
c6360f8
* Tue Apr 21 2009 Richard W.M. Jones <rjones@redhat.com> - 50-4
c6360f8
- Fix dependency problem with + in DLL name (Thomas Sailer).
c6360f8
7a18fb8
* Fri Mar 27 2009 Richard W.M. Jones <rjones@redhat.com> - 50-3
7a18fb8
- Fix up and test mingw32-pkg-config changes.
7a18fb8
7a18fb8
* Thu Mar 26 2009 Levente Farkas <lfarkas@lfarkas.org> - 50-1
7a18fb8
- Add mingw32-pkg-config.
7a18fb8
5f29aa3
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 49-3
5f29aa3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
5f29aa3
5a16e31
* Fri Feb 20 2009 Richard W.M. Jones <rjones@redhat.com> - 49-2
5a16e31
- Rebuild for mingw32-gcc 4.4
5a16e31
da91edc
* Thu Feb 19 2009 Richard W.M. Jones <rjones@redhat.com> - 49-1
da91edc
- Added virtual provides for mingw32(cfgmgr32.dll) and mingw32(setupapi.dll).
da91edc
3f88d62
* Wed Feb 18 2009 Richard W.M. Jones <rjones@redhat.com> - 48-1
3f88d62
- Fix _mingw32_configure.
3f88d62
b8b00ef
* Tue Feb 17 2009 Richard W.M. Jones <rjones@redhat.com> - 47-1
b8b00ef
- Rename mingw32-COPYING to COPYING.
b8b00ef
- Rename mingw32-macros.mingw32 to macros.mingw32.
b8b00ef
- _mingw32_configure looks for configure in "." and ".." dirs.
b8b00ef
- Added _mingw32_description.
b8b00ef
- Added mingw32(version.dll) virtual provides (rhbz#485842).
b8b00ef
2e732f3
* Sun Feb  1 2009 Richard W.M. Jones <rjones@redhat.com> - 46-1
2e732f3
- Unset PKG_CONFIG_PATH because /usr/lib/rpm/macros sets it (Erik van
2e732f3
  Pienbroek).
2e732f3
853dfe4
* Wed Jan 28 2009 Richard W.M. Jones <rjones@redhat.com> - 45-1
853dfe4
- Use PKG_CONFIG_LIBDIR instead of PKG_CONFIG_PATH so that native pkgconfig
853dfe4
  is never searched.
853dfe4
671fa62
* Mon Jan 26 2009 Richard W.M. Jones <rjones@redhat.com> - 44-1
671fa62
- Install rpmlint overrides file to suppress some rpmlint warnings.
671fa62
c0320ed
* Sat Jan 24 2009 Richard W.M. Jones <rjones@redhat.com> - 43-6
c0320ed
- Don't claim C++ compiler exists if it's not installed, as this
c0320ed
  breaks autoconf and (in particular) libtool.
c0320ed
f65d0b0
* Wed Jan 14 2009 Richard W.M. Jones <rjones@redhat.com> - 42-1
f65d0b0
- Add pseudo-provides secur32.dll
f65d0b0
2caed6f
* Wed Dec 17 2008 Levente Farkas <lfarkas@lfarkas.org> - 41-1
2caed6f
- Re-add mingw32-make
2caed6f
1ea30e6
* Sat Dec  6 2008 Levente Farkas <lfarkas@lfarkas.org> - 40-2
1ea30e6
- Rewrite mingw32-scripts to run in the current shell
1ea30e6
- (Re-add mingw32-make) - Removed by RWMJ.
1ea30e6
- Add mingw32-env to mingw32.sh
1ea30e6
b8c5804
* Mon Nov 24 2008 Richard W.M. Jones <rjones@redhat.com> - 39-3
b8c5804
- Unify mingw32-filesystem packages from all three branches again, and test.
b8c5804
- Fix mingw32-scripts so it can handle extra parameters correctly.
b8c5804
- Remove mingw32-env & mingw32-make since neither of them actually work.
b8c5804
4b7d674
* Sun Nov 23 2008 Richard Jones <rjones@redhat.com> - 38-1
4b7d674
- Added mingw32(glut32.dll).
4b7d674
03e2b36
* Wed Nov 19 2008 Richard Jones <rjones@redhat.com> - 37-1
03e2b36
- Revert part of the 36-1 patch.  --build option to configure was wrong.
03e2b36
c52d9aa
* Wed Nov 19 2008 Richard Jones <rjones@redhat.com> - 36-1
c52d9aa
- Greatly improved macros (Levente Farkas).
c52d9aa
- Added -mms-bitfields.
c52d9aa
61787a4
* Thu Nov 13 2008 Richard Jones <rjones@redhat.com> - 35-1
61787a4
- Added mingw32(wldap32.dll) pseudo-provides.
61787a4
66c68a3
* Wed Oct 29 2008 Richard Jones <rjones@redhat.com> - 34-1
66c68a3
- Set --prefix correctly.
66c68a3
66c68a3
* Wed Oct 29 2008 Richard Jones <rjones@redhat.com> - 33-1
66c68a3
- Remove mingw32.{sh,csh} which are unused.
66c68a3
66c68a3
* Mon Oct 27 2008 Richard Jones <rjones@redhat.com> - 32-1
66c68a3
- Add mingw32-configure script.
66c68a3
66c68a3
* Mon Oct 27 2008 Richard Jones <rjones@redhat.com> - 31-1
66c68a3
- Update the spec file with explanation of the 'Provides: mingw32(...)'
66c68a3
  lines for Windows system DLLs.
66c68a3
66c68a3
* Mon Oct  6 2008 Richard Jones <rjones@redhat.com> - 30-1
66c68a3
- Added _mingw32_cxx.
66c68a3
66c68a3
* Thu Sep 25 2008 Richard Jones <rjones@redhat.com> - 29-1
66c68a3
- Added _mingw32_as, _mingw32_dlltool, _mingw32_windres.
66c68a3
66c68a3
* Wed Sep 24 2008 Richard W.M. Jones <rjones@redhat.com> - 27-1
66c68a3
- Begin the grand renaming of mingw -> mingw32.
66c68a3
- Added mingw32(mscoree.dll).
66c68a3
66c68a3
* Sun Sep 21 2008 Richard W.M. Jones <rjones@redhat.com> - 25-1
66c68a3
- Add shared aclocal directory.
66c68a3
66c68a3
* Sun Sep 21 2008 Richard W.M. Jones <rjones@redhat.com> - 24-1
66c68a3
- Remove mingw-defs, since no longer used.
66c68a3
- Add _mingw_infodir.
66c68a3
66c68a3
* Thu Sep 11 2008 Daniel P. Berrange <berrange@redhat.com> - 23-1
66c68a3
- Add macros for find-provides/requires scripts
66c68a3
66c68a3
* Wed Sep 10 2008 Richard W.M. Jones <rjones@redhat.com> - 22-1
66c68a3
- Windows provides OLE32.DLL.
66c68a3
66c68a3
* Wed Sep 10 2008 Richard W.M. Jones <rjones@redhat.com> - 21-1
66c68a3
- Allow '.' in dll names for find-requires
66c68a3
- Windows provides GDI32.DLL.
66c68a3
66c68a3
* Fri Sep  5 2008 Richard W.M. Jones <rjones@redhat.com> - 20-1
66c68a3
- On 64 bit install in /usr/lib/rpm always.
66c68a3
66c68a3
* Thu Sep  4 2008 Richard W.M. Jones <rjones@redhat.com> - 19-1
66c68a3
- 'user32.dll' is provided by Windows.
66c68a3
- Allow '-' in DLL names.
66c68a3
- More accurate detection of DLLs in requires/provides scripts.
66c68a3
66c68a3
* Mon Sep  4 2008 Richard W.M. Jones <rjones@redhat.com> - 17-1
66c68a3
- Automatically add mingw-filesystem and mingw-runtime requires.
66c68a3
- Add --prefix to _mingw_configure macro.
66c68a3
- Three backslashes required on each continuation line in RPM macros.
66c68a3
66c68a3
* Mon Sep  4 2008 Richard W.M. Jones <rjones@redhat.com> - 14-1
66c68a3
- Fix path to mingw-find-requires/provides scripts.
66c68a3
66c68a3
* Mon Sep  4 2008 Richard W.M. Jones <rjones@redhat.com> - 12-1
66c68a3
- Put CFLAGS on a single line to avoid problems in some configure scripts.
66c68a3
66c68a3
* Mon Sep  4 2008 Richard W.M. Jones <rjones@redhat.com> - 10-1
66c68a3
- Provides certain base Windows DLLs (not literally).
66c68a3
66c68a3
* Mon Sep  4 2008 Richard W.M. Jones <rjones@redhat.com> - 9-1
66c68a3
- Include RPM dependency generators and definitions.
66c68a3
66c68a3
* Mon Sep  4 2008 Richard W.M. Jones <rjones@redhat.com> - 4-1
66c68a3
- Add _mingw_cc/cflags/etc. and _mingw_configure macros.
66c68a3
66c68a3
* Mon Sep  4 2008 Richard W.M. Jones <rjones@redhat.com> - 3-1
66c68a3
- Add _mingw_host macro.
66c68a3
66c68a3
* Mon Sep  4 2008 Richard W.M. Jones <rjones@redhat.com> - 2-1
66c68a3
- Add _mingw_sysroot macro.
66c68a3
- Add _mingw_target macro.
66c68a3
66c68a3
* Mon Sep  4 2008 Richard W.M. Jones <rjones@redhat.com> - 1-1
66c68a3
- Basic filesystem layout.