[mingw-w64-tools] Initial import
epienbro
epienbro at fedoraproject.org
Sat Mar 17 14:41:02 UTC 2012
commit fd83ccc51869d8247d950da0f6557c2697b67f60
Author: Erik van Pienbroek <epienbro at fedoraproject.org>
Date: Sat Mar 17 15:40:55 2012 +0100
Initial import
.gitignore | 1 +
mingw-w64-tools.spec | 78 ++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 80 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..875daf4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/mingw-w64-src_20120124.tar.bz2
diff --git a/mingw-w64-tools.spec b/mingw-w64-tools.spec
new file mode 100644
index 0000000..02cf473
--- /dev/null
+++ b/mingw-w64-tools.spec
@@ -0,0 +1,78 @@
+%global snapshot_date 20120124
+
+Name: mingw-w64-tools
+Version: 2.0.999
+Release: 0.2.trunk.%{snapshot_date}%{?dist}
+Summary: Supplementary tools which are part of the mingw-w64 toolchain
+
+License: Public Domain
+Group: Development/Libraries
+URL: http://mingw-w64.sourceforge.net/
+%if 0%{?snapshot_date}
+Source0: http://sourceforge.net/projects/mingw-w64/files/Toolchain%20sources/Automated%20Builds/mingw-w64-src_%{snapshot_date}.tar.bz2
+%else
+Source0: http://downloads.sourceforge.net/project/mingw-w64/mingw-w64/mingw-w64-release/mingw-w64-v%{version}.tar.gz
+%endif
+
+BuildRequires: mingw32-filesystem >= 95
+BuildRequires: mingw64-filesystem >= 95
+
+
+%description
+Supplementary tools which are part of the mingw-w64 toolchain
+It contains gendef, genidl and mingw-w64-widl
+
+
+%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}/mingw
+%else
+%setup -q -n mingw-w64-v%{version}
+%endif
+
+
+%build
+pushd mingw-w64-tools
+ pushd gendef
+ %configure
+ make %{?_smp_mflags}
+ popd
+
+ pushd genidl
+ %configure
+ make %{?_smp_mflags}
+ popd
+
+ pushd widl
+ %configure
+ make %{?_smp_mflags}
+ popd
+popd
+
+
+%install
+pushd mingw-w64-tools
+ make -C gendef DESTDIR=$RPM_BUILD_ROOT install
+ make -C genidl DESTDIR=$RPM_BUILD_ROOT install
+ make -C widl DESTDIR=$RPM_BUILD_ROOT install
+popd
+
+
+%files
+%doc COPYING
+%{_bindir}/gendef
+%{_bindir}/genidl
+%{_bindir}/mingw-w64-widl
+
+
+%changelog
+* Sun Mar 11 2012 Erik van Pienbroek <epienbro at fedoraproject.org> - 2.0.999-0.1.trunk.20120124
+- Eliminated several conditionals
+
+* Mon Jan 30 2012 Erik van Pienbroek <epienbro at fedoraproject.org> - 2.0.999-0.1.trunk.20120124
+- Initial package
+
diff --git a/sources b/sources
index e69de29..c3a96e5 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+9fc9ded15caa57b1fa451cae9aff1ac8 mingw-w64-src_20120124.tar.bz2
More information about the scm-commits
mailing list