X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=filesystem%2Fmingw-filesystem.spec;h=a2e0fb16316dbfc7a3b60821754e3b7960891ff2;hb=9cd34bd0035429e207e427df2286857a180e530b;hp=43e39008c76f1032ec44b96266304f55d9b2c4f8;hpb=d3fa5cdce2de9b3ad074fddb40879ee861b01966;p=fedora-mingw.git diff --git a/filesystem/mingw-filesystem.spec b/filesystem/mingw-filesystem.spec index 43e3900..a2e0fb1 100644 --- a/filesystem/mingw-filesystem.spec +++ b/filesystem/mingw-filesystem.spec @@ -1,7 +1,7 @@ %define debug_package %{nil} Name: mingw-filesystem -Version: 17 +Version: 25 Release: 1%{?dist} Summary: MinGW base filesystem and environment @@ -17,7 +17,6 @@ Source2: mingw.sh Source3: mingw.csh Source4: mingw-find-requires.sh Source5: mingw-find-provides.sh -Source6: mingw-defs Requires: setup Requires: rpm @@ -25,6 +24,9 @@ Requires: rpm # These are actually provided by Windows itself, or Wine. Provides: mingw(msvcrt.dll) Provides: mingw(kernel32.dll) +Provides: mingw(user32.dll) +Provides: mingw(gdi32.dll) +Provides: mingw(ole32.dll) %description @@ -66,28 +68,34 @@ mkdir -p $RPM_BUILD_ROOT%{_prefix}/i686-pc-mingw32/bin mkdir -p $RPM_BUILD_ROOT%{_prefix}/i686-pc-mingw32/lib # The MinGW system root which will contain Windows native binaries -# and Windows-specific header files, man pages, pkgconfig, etc. +# and Windows-specific header files, pkgconfig, etc. mkdir -p $RPM_BUILD_ROOT%{_prefix}/i686-pc-mingw32/sys-root/mingw mkdir -p $RPM_BUILD_ROOT%{_prefix}/i686-pc-mingw32/sys-root/mingw/bin -mkdir -p $RPM_BUILD_ROOT%{_prefix}/i686-pc-mingw32/sys-root/mingw/doc mkdir -p $RPM_BUILD_ROOT%{_prefix}/i686-pc-mingw32/sys-root/mingw/include mkdir -p $RPM_BUILD_ROOT%{_prefix}/i686-pc-mingw32/sys-root/mingw/include/sys mkdir -p $RPM_BUILD_ROOT%{_prefix}/i686-pc-mingw32/sys-root/mingw/lib mkdir -p $RPM_BUILD_ROOT%{_prefix}/i686-pc-mingw32/sys-root/mingw/lib/pkgconfig + +mkdir -p $RPM_BUILD_ROOT%{_prefix}/i686-pc-mingw32/sys-root/mingw/share/aclocal + +# We don't normally package manual pages and info files, except +# where those are not supplied by a Fedora native package. So we +# need to create the directories. +# +# Note that some packages try to install stuff in +# /usr/i686-pc-mingw32/sys-root/mingw/man and +# /usr/i686-pc-mingw32/sys-root/mingw/doc +# but those are both packaging bugs. mkdir -p $RPM_BUILD_ROOT%{_prefix}/i686-pc-mingw32/sys-root/mingw/share mkdir -p $RPM_BUILD_ROOT%{_prefix}/i686-pc-mingw32/sys-root/mingw/share/doc +mkdir -p $RPM_BUILD_ROOT%{_prefix}/i686-pc-mingw32/sys-root/mingw/share/info mkdir -p $RPM_BUILD_ROOT%{_prefix}/i686-pc-mingw32/sys-root/mingw/share/man mkdir -p $RPM_BUILD_ROOT%{_prefix}/i686-pc-mingw32/sys-root/mingw/share/man/man{1,2,3,4,5,6,7,8,l,n} -# Note that some packages try to install in -# /usr/i686-pc-mingw32/sys-root/mingw/man and -# /usr/i686-pc-mingw32/sys-root/mingw/doc -# but these are both packaging bugs. - -mkdir -p $RPM_BUILD_ROOT%{_libdir}/rpm -install -m 0755 mingw-find-requires.sh $RPM_BUILD_ROOT%{_libdir}/rpm -install -m 0755 %{SOURCE5} $RPM_BUILD_ROOT%{_libdir}/rpm -install -m 0644 %{SOURCE6} $RPM_BUILD_ROOT%{_libdir}/rpm +# NB. NOT _libdir +mkdir -p $RPM_BUILD_ROOT/usr/lib/rpm +install -m 0755 mingw-find-requires.sh $RPM_BUILD_ROOT/usr/lib/rpm +install -m 0755 %{SOURCE5} $RPM_BUILD_ROOT/usr/lib/rpm %clean @@ -101,10 +109,35 @@ rm -rf $RPM_BUILD_ROOT %config(noreplace) %{_sysconfdir}/profile.d/mingw.sh %config(noreplace) %{_sysconfdir}/profile.d/mingw.csh %{_prefix}/i686-pc-mingw32/ -%{_libdir}/rpm/mingw-* +/usr/lib/rpm/mingw-* %changelog +* Sun Sep 21 2008 Richard W.M. Jones - 25-1 +- Add shared aclocal directory. + +* Sun Sep 21 2008 Richard W.M. Jones - 24-1 +- Remove mingw-defs, since no longer used. +- Add _mingw_infodir. + +* Thu Sep 11 2008 Daniel P. Berrange - 23-1 +- Add macros for find-provides/requires scripts + +* Wed Sep 10 2008 Richard W.M. Jones - 22-1 +- Windows provides OLE32.DLL. + +* Wed Sep 10 2008 Richard W.M. Jones - 21-1 +- Allow '.' in dll names for find-requires +- Windows provides GDI32.DLL. + +* Fri Sep 5 2008 Richard W.M. Jones - 20-1 +- On 64 bit install in /usr/lib/rpm always. + +* Thu Sep 4 2008 Richard W.M. Jones - 19-1 +- 'user32.dll' is provided by Windows. +- Allow '-' in DLL names. +- More accurate detection of DLLs in requires/provides scripts. + * Mon Sep 4 2008 Richard W.M. Jones - 17-1 - Automatically add mingw-filesystem and mingw-runtime requires. - Add --prefix to _mingw_configure macro.