[mingw-winstorecompat] Initial import

Erik van Pienbroek epienbro at fedoraproject.org
Mon May 20 15:35:09 UTC 2013


commit 908d6dc6e61826715f0caf6de841553c006470b3
Author: Erik van Pienbroek <epienbro at fedoraproject.org>
Date:   Mon May 20 17:34:44 2013 +0200

    Initial import

 .gitignore                |    1 +
 mingw-winstorecompat.spec |  110 +++++++++++++++++++++++++++++++++++++++++++++
 sources                   |    1 +
 3 files changed, 112 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..016d86d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/mingw-w64-trunk-snapshot-20130520.tar.gz
diff --git a/mingw-winstorecompat.spec b/mingw-winstorecompat.spec
new file mode 100644
index 0000000..27fb094
--- /dev/null
+++ b/mingw-winstorecompat.spec
@@ -0,0 +1,110 @@
+%?mingw_package_header
+
+%global snapshot_date 20130520
+%global branch trunk
+
+# Run the testsuite
+%global enable_tests 0
+
+Name:           mingw-winstorecompat
+Version:        2.0.999
+Release:        0.2.%{branch}.%{snapshot_date}%{?dist}
+Summary:        MinGW library to help porting to Windows Store
+License:        MIT
+Group:          Development/Libraries
+
+URL:            http://mingw-w64.sourceforge.net/
+%if 0%{?snapshot_date}
+# To regerenate a snapshot:
+# wget http://mingw-w64.svn.sourceforge.net/viewvc/mingw-w64/%{branch}/?view=tar -O mingw-w64-%{branch}-snapshot-$(date '+%Y%m%d').tar.gz
+Source0:        mingw-w64-%{branch}-snapshot-%{snapshot_date}.tar.gz
+%else
+Source0:        http://downloads.sourceforge.net/mingw-w64/mingw-w64-v%{version}.tar.gz
+%endif
+
+BuildArch:      noarch
+
+BuildRequires:  mingw32-filesystem >= 95
+BuildRequires:  mingw64-filesystem >= 95
+BuildRequires:  mingw32-gcc
+BuildRequires:  mingw64-gcc
+BuildRequires:  mingw32-headers >= 2.0.999-0.24.trunk.20130520
+BuildRequires:  mingw64-headers >= 2.0.999-0.24.trunk.20130520
+
+
+%description
+This library can be linked to code targetting Windows Store.
+Functions that are not available anymore for Windows Store are redefined,
+using similar functions that are allowed.
+'Forbidden' functions can be found either by browsing MSDN, either by
+running WACK (Windows Application Certification Kit) on the application.
+
+%package -n mingw32-winstorecompat
+Summary:        MinGW library to help porting to Windows Store for the win32 target
+
+%description -n mingw32-winstorecompat
+This library can be linked to code targetting Windows Store.
+Functions that are not available anymore for Windows Store are redefined,
+using similar functions that are allowed.
+'Forbidden' functions can be found either by browsing MSDN, either by
+running WACK (Windows Application Certification Kit) on the application.
+
+%package -n mingw64-winstorecompat
+Summary:        MinGW library to help porting to Windows Store for the win64 target
+
+%description -n mingw64-winstorecompat
+This library can be linked to code targetting Windows Store.
+Functions that are not available anymore for Windows Store are redefined,
+using similar functions that are allowed.
+'Forbidden' functions can be found either by browsing MSDN, either by
+running WACK (Windows Application Certification Kit) on the application.
+
+
+%?mingw_debug_package
+
+
+%prep
+%if 0%{?snapshot_date}
+rm -rf mingw-w64-v%{version}
+mkdir mingw-w64-v%{version}
+cd mingw-w64-v%{version}
+tar -xf %{S:0}
+%setup -q -D -T -n mingw-w64-v%{version}/%{branch}
+%else
+%setup -q -n mingw-w64-v%{version}
+%endif
+
+
+%build
+pushd mingw-w64-libraries/winstorecompat
+    %mingw_configure
+    %mingw_make %{?smp_mflags}
+popd
+
+
+%install
+pushd mingw-w64-libraries/winstorecompat
+    %mingw_make install DESTDIR=$RPM_BUILD_ROOT
+popd
+
+# Drop all .la files
+find $RPM_BUILD_ROOT -name "*.la" -delete
+
+
+%files -n mingw32-winstorecompat
+%doc COPYING
+%{mingw32_libdir}/libwinstorecompat.a
+
+%files -n mingw64-winstorecompat
+%doc COPYING 
+%{mingw64_libdir}/libwinstorecompat.a
+
+
+%changelog
+* Mon May 20 2013 Erik van Pienbroek <epienbro at fedoraproject.org> - 2.0.999-0.2.trunk.20130520
+- Update to 20130520 snapshot
+- Bumped BR: mingw32-headers mingw64-headers to >= 2.0.999-0.24.trunk.20130520 because of combaseapi.h
+
+* Thu May  9 2013 Erik van Pienbroek <epienbro at fedoraproject.org> - 2.0.999-0.1.trunk.20130509
+- Initial package
+
diff --git a/sources b/sources
index e69de29..4b1536e 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+eb2aeffaeabd436a389377bb399a1b1f  mingw-w64-trunk-snapshot-20130520.tar.gz


More information about the scm-commits mailing list