source: rtems/contrib/crossrpms/cygwin/i686/w32api.add @ a837ab2

4.104.114.95
Last change on this file since a837ab2 was 2fc47c6, checked in by Ralf Corsepius <ralf.corsepius@…>, on 10/17/07 at 16:09:27

Update.

  • Property mode set to 100644
File size: 952 bytes
Line 
1%define w32api_version @W32API_VERS@
2%define w32api_rpmvers %{expand:%(echo @W32API_VERS@ | tr - _)}
3
4Name:         @rpmprefix@@tool_target@-w32api
5Release:      @W32API_RPMREL@
6License:      GPL
7Group:        Development/Tools
8
9BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
10BuildArch:      noarch
11
12Version:        %w32api_rpmvers
13Summary:        Cygwin w32api Libraries
14
15Source0:        ftp://cygwin.com/pub/cygwin/release/w32api/w32api-%{w32api_version}.tar.bz2
16%{?_without_sources:NoSource:   0}
17
18%description
19Cygwin w32api libraries.
20
21%prep
22%setup -c -q
23
24%build
25  rm -rf @tool_target@
26
27  mkdir -p @tool_target@
28  cp -a usr/lib usr/include @tool_target@
29
30  # Setup sys-root (Usable for gcc >= 3.4)
31  mkdir -p @tool_target@/sys-root
32  %{__tar} cf - usr/lib usr/include | ( cd @tool_target@/sys-root ; %{__tar} xf -)
33
34%install
35  rm -rf $RPM_BUILD_ROOT
36  mkdir -p $RPM_BUILD_ROOT%{_prefix}
37  cp -a @tool_target@ $RPM_BUILD_ROOT%{_prefix}
38
Note: See TracBrowser for help on using the repository browser.