diff options
-rw-r--r-- | cygwin-w32api-headers.spec | 23 | ||||
-rw-r--r-- | sources | 2 |
2 files changed, 19 insertions, 6 deletions
diff --git a/cygwin-w32api-headers.spec b/cygwin-w32api-headers.spec index c2fcb71..7d1b64c 100644 --- a/cygwin-w32api-headers.spec +++ b/cygwin-w32api-headers.spec @@ -1,9 +1,9 @@ -%global snapshot_rev 5747 -%global branch trunk +#%%global snapshot_rev 5747 +#%%global branch trunk Name: cygwin-w32api-headers -Version: 2.0.999 -Release: 4.%{branch}.svn%{snapshot_rev} +Version: 3.1.0 +Release: 1 Summary: Win32 header files for Cygwin toolchain License: Public Domain and LGPLv2+ and ZPLv2.1 @@ -11,12 +11,16 @@ Group: Development/Libraries URL: http://mingw-w64.sourceforge.net/ BuildArch: noarch +%if 0%{?snapshot_rev} # To regenerate a snapshot: # First, in any browser (need not be on the same machine), go to: # http://sourceforge.net/p/mingw-w64/code/%{snapshot_rev}/tarball?path=/trunk # Once the download is ready, then run: # wget http://sourceforge.net/code-snapshots/svn/m/mi/mingw-w64/code/mingw-w64-code-%{snapshot_rev}-%{branch}.zip Source0: mingw-w64-code-%{snapshot_rev}-%{branch}.zip +%else +Source0: http://downloads.sourceforge.net/mingw-w64/mingw-w64-v%{version}.tar.bz2 +%endif BuildRequires: cygwin32-filesystem BuildRequires: cygwin64-filesystem @@ -42,12 +46,18 @@ Cygwin x86_64 cross-compiler Win32 header files. %prep +%if 0%{?snapshot_rev} %setup -q -n mingw-w64-code-%{snapshot_rev}-%{branch} +%else +%setup -q -n mingw-w64-v%{version} +%endif %build pushd mingw-w64-headers - %cygwin_configure --enable-sdk=directx --enable-w32api --includedir=%{cygwin32_includedir}/w32api + CYGWIN32_CONFIGURE_ARGS="--includedir=%{cygwin32_includedir}/w32api" + CYGWIN64_CONFIGURE_ARGS="--includedir=%{cygwin64_includedir}/w32api" + %cygwin_configure --enable-w32api popd @@ -67,6 +77,9 @@ popd %changelog +* Thu Jan 14 2014 Yaakov Selkowitz <cygwin-ports-general@lists.sourceforge.net> - 3.1.0-1 +- Update to latest stable release. + * Thu Jan 27 2013 Yaakov Selkowitz <cygwin-ports-general@lists.sourceforge.net> - 2.0.999-4.trunk.svn5747 - Update to match current Cygwin package. - Update to new Cygwin packaging scheme. @@ -1 +1 @@ -348e0c6439141cc7d4ccbdb90982fb94 mingw-w64-code-5747-trunk.zip +df0e7657f46cbd59ed9cbe2a50c66e15 mingw-w64-v3.1.0.tar.bz2 |