Package rpm-build-mingw32: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 | %define debug_package %nil Name: rpm-build-mingw32 Version: 52 Release: alt2 Summary: MinGW RPM helper macros Group: Development/Other License: GPLv2+ Url: http://altlinux.org BuildArch: noarch Packager: Boris Savelev <boris@altlinux.org> Source: COPYING Source2: mingw32.prov.files.sh Source3: mingw32.req.files.sh Source4: mingw32-find-requires.sh Source5: mingw32-find-provides.sh Source6: mingw32-scripts.sh Source8: Toolchain-mingw32.cmake BuildRequires: rpm-macros-mingw32 Requires: rpm-macros-mingw32 Requires: mingw32-binutils >= 2.19 %description These helper macros provide possibility to rebuild by some Alt Linux Team Policy compatible way. Macroses from Fedora. http://fedoraproject.org/wiki/Packaging/MinGW %prep %setup -q -c -T cp %SOURCE0 COPYING sed 's/@VERSION@/%version/' < %SOURCE4 > mingw32-find-requires.sh %build # nothing %install mkdir -p %buildroot mkdir -p %buildroot%_libexecdir install -m 755 %SOURCE6 %buildroot%_libexecdir/mingw32-scripts mkdir -p %buildroot%_bindir pushd %buildroot%_bindir for i in mingw32-configure mingw32-make mingw32-pkg-config mingw32-cmake; do ln -s %_libexecdir/mingw32-scripts $i done popd # NB. NOT _libdir mkdir -p %buildroot%_rpmlibdir install -m 0755 mingw32-find-requires.sh %buildroot%_rpmlibdir/mingw32.req install -m 0755 %SOURCE5 %buildroot%_rpmlibdir/mingw32.prov install -m 0755 %SOURCE2 %buildroot%_rpmlibdir/mingw32.prov.files install -m 0755 %SOURCE3 %buildroot%_rpmlibdir/mingw32.req.files mkdir -p %buildroot%_datadir/mingw32 install -m 644 %SOURCE8 %buildroot%_datadir/mingw32 %files %doc COPYING %_bindir/mingw32-configure %_bindir/mingw32-make %_bindir/mingw32-pkg-config %_bindir/mingw32-cmake %_libexecdir/mingw32-scripts %_datadir/mingw32 %_rpmlibdir/mingw32.* %changelog * Mon Jul 27 2009 Boris Savelev <boris@altlinux.org> 52-alt2 - fix typo in req/prov scripts * Fri Jul 17 2009 Boris Savelev <boris@altlinux.org> 52-alt1 - build for Sisyphus from Fedora * Wed Jun 24 2009 Erik van Pienbroek <epienbro@fedoraproject.org> - 52-2 - Updated ChangeLog comment from previous version as the RPM variable __debug_install_post needs to be overridden instead of __os_install_post for -debuginfo subpackage generation * Mon Jun 22 2009 Erik van Pienbroek <epienbro@fedoraproject.org> - 52-1 - Add script to create -debuginfo subpackages This script was created by Fridrich Strba - All mingw32 packages now need to add these lines to their .spec files: %%define __debug_install_post %%{_mingw32_debug_install_post} %%{_mingw32_debug_package} * Thu Jun 4 2009 Adam Goode <adam@spicenitz.org> - 51-1 - Add CMake rules * Tue Apr 21 2009 Richard W.M. Jones <rjones@redhat.com> - 50-4 - Fix dependency problem with + in DLL name (Thomas Sailer). * Fri Mar 27 2009 Richard W.M. Jones <rjones@redhat.com> - 50-3 - Fix up and test mingw32-pkg-config changes. * Thu Mar 26 2009 Levente Farkas <lfarkas@lfarkas.org> - 50-1 - Add mingw32-pkg-config. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 49-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Fri Feb 20 2009 Richard W.M. Jones <rjones@redhat.com> - 49-2 - Rebuild for mingw32-gcc 4.4 * Thu Feb 19 2009 Richard W.M. Jones <rjones@redhat.com> - 49-1 - Added virtual provides for mingw32(cfgmgr32.dll) and mingw32(setupapi.dll). * Wed Feb 18 2009 Richard W.M. Jones <rjones@redhat.com> - 48-1 - Fix _mingw32_configure. * Tue Feb 17 2009 Richard W.M. Jones <rjones@redhat.com> - 47-1 - Rename mingw32-COPYING to COPYING. - Rename mingw32-macros.mingw32 to macros.mingw32. - _mingw32_configure looks for configure in "." and ".." dirs. - Added _mingw32_description. - Added mingw32(version.dll) virtual provides (rhbz#485842). * Sun Feb 1 2009 Richard W.M. Jones <rjones@redhat.com> - 46-1 - Unset PKG_CONFIG_PATH because %_libdir/rpm/macros sets it (Erik van Pienbroek). * Wed Jan 28 2009 Richard W.M. Jones <rjones@redhat.com> - 45-1 - Use PKG_CONFIG_LIBDIR instead of PKG_CONFIG_PATH so that native pkgconfig is never searched. * Mon Jan 26 2009 Richard W.M. Jones <rjones@redhat.com> - 44-1 - Install rpmlint overrides file to suppress some rpmlint warnings. * Sat Jan 24 2009 Richard W.M. Jones <rjones@redhat.com> - 43-6 - Don't claim C++ compiler exists if it's not installed, as this breaks autoconf and (in particular) libtool. * Wed Jan 14 2009 Richard W.M. Jones <rjones@redhat.com> - 42-1 - Add pseudo-provides secur32.dll * Wed Dec 17 2008 Levente Farkas <lfarkas@lfarkas.org> - 41-1 - Re-add mingw32-make * Sat Dec 6 2008 Levente Farkas <lfarkas@lfarkas.org> - 40-2 - Rewrite mingw32-scripts to run in the current shell - (Re-add mingw32-make) - Removed by RWMJ. - Add mingw32-env to mingw32.sh * Mon Nov 24 2008 Richard W.M. Jones <rjones@redhat.com> - 39-3 - Unify mingw32-filesystem packages from all three branches again, and test. - Fix mingw32-scripts so it can handle extra parameters correctly. - Remove mingw32-env & mingw32-make since neither of them actually work. * Sun Nov 23 2008 Richard Jones <rjones@redhat.com> - 38-1 - Added mingw32(glut32.dll). * Wed Nov 19 2008 Richard Jones <rjones@redhat.com> - 37-1 - Revert part of the 36-1 patch. --build option to configure was wrong. * Wed Nov 19 2008 Richard Jones <rjones@redhat.com> - 36-1 - Greatly improved macros (Levente Farkas). - Added -mms-bitfields. * Thu Nov 13 2008 Richard Jones <rjones@redhat.com> - 35-1 - Added mingw32(wldap32.dll) pseudo-provides. * Wed Oct 29 2008 Richard Jones <rjones@redhat.com> - 34-1 - Set --prefix correctly. * Wed Oct 29 2008 Richard Jones <rjones@redhat.com> - 33-1 - Remove mingw32.{sh,csh} which are unused. * Mon Oct 27 2008 Richard Jones <rjones@redhat.com> - 32-1 - Add mingw32-configure script. * Mon Oct 27 2008 Richard Jones <rjones@redhat.com> - 31-1 - Update the spec file with explanation of the 'Provides: mingw32(...)' lines for Windows system DLLs. * Mon Oct 6 2008 Richard Jones <rjones@redhat.com> - 30-1 - Added _mingw32_cxx. * Thu Sep 25 2008 Richard Jones <rjones@redhat.com> - 29-1 - Added _mingw32_as, _mingw32_dlltool, _mingw32_windres. * Wed Sep 24 2008 Richard W.M. Jones <rjones@redhat.com> - 27-1 - Begin the grand renaming of mingw -> mingw32. - Added mingw32(mscoree.dll). * Sun Sep 21 2008 Richard W.M. Jones <rjones@redhat.com> - 25-1 - Add shared aclocal directory. * Sun Sep 21 2008 Richard W.M. Jones <rjones@redhat.com> - 24-1 - Remove mingw-defs, since no longer used. - Add _mingw_infodir. * Thu Sep 11 2008 Daniel P. Berrange <berrange@redhat.com> - 23-1 - Add macros for find-provides/requires scripts * Wed Sep 10 2008 Richard W.M. Jones <rjones@redhat.com> - 22-1 - Windows provides OLE32.DLL. * Wed Sep 10 2008 Richard W.M. Jones <rjones@redhat.com> - 21-1 - Allow '.' in dll names for find-requires - Windows provides GDI32.DLL. * Fri Sep 5 2008 Richard W.M. Jones <rjones@redhat.com> - 20-1 - On 64 bit install in %_libdir/rpm always. * Thu Sep 4 2008 Richard W.M. Jones <rjones@redhat.com> - 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 <rjones@redhat.com> - 17-1 - Automatically add mingw-filesystem and mingw-runtime requires. - Add --prefix to _mingw_configure macro. - Three backslashes required on each continuation line in RPM macros. * Mon Sep 4 2008 Richard W.M. Jones <rjones@redhat.com> - 14-1 - Fix path to mingw-find-requires/provides scripts. * Mon Sep 4 2008 Richard W.M. Jones <rjones@redhat.com> - 12-1 - Put CFLAGS on a single line to avoid problems in some configure scripts. * Mon Sep 4 2008 Richard W.M. Jones <rjones@redhat.com> - 10-1 - Provides certain base Windows DLLs (not literally). * Mon Sep 4 2008 Richard W.M. Jones <rjones@redhat.com> - 9-1 - Include RPM dependency generators and definitions. * Mon Sep 4 2008 Richard W.M. Jones <rjones@redhat.com> - 4-1 - Add _mingw_cc/cflags/etc. and _mingw_configure macros. * Mon Sep 4 2008 Richard W.M. Jones <rjones@redhat.com> - 3-1 - Add _mingw_host macro. * Mon Sep 4 2008 Richard W.M. Jones <rjones@redhat.com> - 2-1 - Add _mingw_sysroot macro. - Add _mingw_target macro. * Mon Sep 4 2008 Richard W.M. Jones <rjones@redhat.com> - 1-1 - Basic filesystem layout. |