mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-07 08:03:12 +00:00
* i386-cygwin-libs.spec.in, i386-cygwin-mingw.spec.in, i386-cygwin-w32api.spec.in: Modified group.
48 lines
977 B
RPMSpec
48 lines
977 B
RPMSpec
#
|
|
# 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: cygwin
|
|
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.bz2
|
|
|
|
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
|