URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Subversion Repositories or1k
[/] [or1k/] [trunk/] [rtems-20020807/] [contrib/] [cygwin/] [i386-cygwin-mingw.spec.in] - Rev 1765
Compare with Previous | Blame | View Log
#
# spec file for package i386-cygwin-mingw
#
%define mingw_version @MINGW_VERS@
%define mingw_rpmvers @MINGW_RPMVERS@
Vendor: Ralf Corsepius
Distribution: Linux
Name: i386-cygwin-mingw
Release: @MINGW_RPMREL@
Copyright: Red Hat Inc.
Group: cygwin
Provides: i386-cygwin-mingw
Autoreqprov: off
Packager: corsepiu@faw.uni-ulm.de
Prefix: /opt/cygwin
BuildRoot: @RPM_BUILD_ROOT@
Version: %mingw_rpmvers
Summary: Cygwin's mingw libs
Source0: ftp://sourceware.cygnus.com/pub/cygwin/latest/mingw/mingw-runtime-%{mingw_version}.tar.gz
NoSource: 0
%description
Cygwin's mingw libs
%prep
%setup -c
%build
rm -r 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