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

4.115
Last change on this file since f143baf0 was f143baf0, checked in by Ralf Corsepius <ralf.corsepius@…>, on 04/27/11 at 15:53:51

Housekeeping.

  • Property mode set to 100644
File size: 844 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
17%description
18@tool_target@ libraries.
19
20%prep
21%setup -c -q
22
23%build
24  rm -rf @tool_target@
25
26  # Setup sys-root (Usable for gcc >= 3.4)
27  mkdir -p @tool_target@/sys-root
28  %{__tar} cf - usr/lib usr/include | ( cd @tool_target@/sys-root ; %{__tar} xf -)
29
30%install
31  rm -rf $RPM_BUILD_ROOT
32  mkdir -p $RPM_BUILD_ROOT%{_prefix}
33  cp -a @tool_target@ $RPM_BUILD_ROOT%{_prefix}
34
Note: See TracBrowser for help on using the repository browser.