summaryrefslogtreecommitdiffstats
path: root/contrib/cygwin/i386-cygwin-w32api.spec.in
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2001-08-31 15:25:18 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2001-08-31 15:25:18 +0000
commit93688eba9ad2dbf655a5a98da1ff45dffb0aa782 (patch)
tree7ebc074653b248b3db9b2c78386fa02fea54eb2c /contrib/cygwin/i386-cygwin-w32api.spec.in
parent2001-08-31 Eric Valette <valette@crf.canon.fr> (diff)
downloadrtems-93688eba9ad2dbf655a5a98da1ff45dffb0aa782.tar.bz2
2001-08-31 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am, .cvsignore, configure.in, i386-cygwin-binutils.spec.in, i386-cygwin-gcc.spec.in, i386-cygwin-libs.spec.in, i386-cygwin-w32api.spec.in, i386-cygwin-mingw.spec.in, setup, setup.def: New files that support building RPMs for Linux hosted cross compilers targeting Cygwin.
Diffstat (limited to 'contrib/cygwin/i386-cygwin-w32api.spec.in')
-rw-r--r--contrib/cygwin/i386-cygwin-w32api.spec.in47
1 files changed, 47 insertions, 0 deletions
diff --git a/contrib/cygwin/i386-cygwin-w32api.spec.in b/contrib/cygwin/i386-cygwin-w32api.spec.in
new file mode 100644
index 0000000000..1136215153
--- /dev/null
+++ b/contrib/cygwin/i386-cygwin-w32api.spec.in
@@ -0,0 +1,47 @@
+#
+# spec file for package i386-cygwin-w32api
+#
+
+%define w32api_version @W32API_VERS@
+%define w32api_rpmvers @W32API_RPMVERS@
+
+Vendor: Ralf Corsepius
+Distribution: Linux
+Name: i386-cygwin-w32api
+Release: @W32API_RPMREL@
+Copyright: Red Hat Inc.
+Group: Development/Libraries
+Provides: i386-cygwin-w32api
+
+Autoreqprov: off
+Packager: corsepiu@faw.uni-ulm.de
+Prefix: /opt/cygwin
+BuildRoot: @RPM_BUILD_ROOT@
+
+Version: %w32api_rpmvers
+Summary: Cygwin's w32api libs
+Source0: ftp://sourceware.cygnus.com/pub/cygwin/latest/w32api/w32api-%{w32api_version}.tar.gz
+
+NoSource: 0
+
+%description
+Cygwin's w32api libs
+
+%prep
+%setup -c
+
+%build
+ rm -rf usr/bin
+ mv usr i386-cygwin
+
+%install
+ mkdir -p $RPM_BUILD_ROOT%{prefix}
+ cp -a i386-cygwin $RPM_BUILD_ROOT%{prefix}
+
+%clean
+# let rpm --clean remove BuildRoot iff using the default BuildRoot
+ test "$RPM_BUILD_ROOT" = "@RPM_BUILD_ROOT@" && \
+ rm -rf $RPM_BUILD_ROOT
+
+%files
+%{prefix}/i386-cygwin