source: rtems/contrib/crossrpms/cygwin/i686/libs.add @ 229f500

4.104.114.95
Last change on this file since 229f500 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: 877 bytes
Line 
1%define cygwin_version @CYGWIN_VERS@
2%define cygwin_rpmvers %{expand:%(echo @CYGWIN_VERS@ | tr - _)}
3
4Name:         @rpmprefix@@tool_target@
5Release:      @CYGWIN_RPMREL@
6License:      GPL
7Group:        Development/Tools
8
9BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
10BuildArch:      noarch
11
12Version:        %cygwin_rpmvers
13Summary:        @tool_target@ libraries
14
15Source0:        ftp://cygwin.com/pub/cygwin/release/cygwin/cygwin-%{cygwin_version}.tar.bz2
16%{?_without_sources:NoSource:   0}
17
18%description
19@tool_target@ libraries.
20
21%prep
22%setup -c -q
23
24%build
25  rm -rf @tool_target@
26
27  # Setup sys-root (Usable for gcc >= 3.4)
28  mkdir -p @tool_target@/sys-root
29  %{__tar} cf - usr/lib usr/include | ( cd @tool_target@/sys-root ; %{__tar} xf -)
30
31%install
32  rm -rf $RPM_BUILD_ROOT
33  mkdir -p $RPM_BUILD_ROOT%{_prefix}
34  cp -a @tool_target@ $RPM_BUILD_ROOT%{_prefix}
35
Note: See TracBrowser for help on using the repository browser.