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

4.104.114.95
Last change on this file since 229f500 was 229f500, checked in by Ralf Corsepius <ralf.corsepius@…>, on Mar 20, 2008 at 11:54:34 AM

New.

  • Property mode set to 100644
File size: 1.2 KB
Line 
1%define mpfr_version @MPFR_VERS@
2%define mpfr_rpmvers %{expand:%(echo @MPFR_VERS@ | tr - _)}
3
4Name:         @rpmprefix@@tool_target@-mpfr
5Release:      @MPFR_RPMREL@
6License:      GPL
7Group:        Development/Tools
8
9BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
10BuildArch:      noarch
11
12Version:        %mpfr_rpmvers
13Summary:        Cygwin mpfr Libraries
14
15Source0:        ftp://cygwin.com/pub/cygwin/release/mpfr/mpfr-%{mpfr_version}.tar.bz2
16Source1:        ftp://cygwin.com/pub/cygwin/release/mpfr/libmpfr1/libmpfr1-%{mpfr_version}.tar.bz2
17Source2:        ftp://cygwin.com/pub/cygwin/release/mpfr/libmpfr-devel/libmpfr-devel-%{mpfr_version}.tar.bz2
18
19Provides:       @rpmprefix@@tool_target@-mpfr-devel = %{version}-%{release}
20
21%description
22Cygwin mpfr libraries.
23
24%prep
25%setup -c -q
26
27%build
28  rm -rf @tool_target@
29
30  # Setup sys-root (Usable for gcc >= 3.4)
31  mkdir -p @tool_target@/sys-root
32  ( cd @tool_target@/sys-root; %{__tar} xvjf %{SOURCE0})
33  ( cd @tool_target@/sys-root; %{__tar} xvjf %{SOURCE1})
34  ( cd @tool_target@/sys-root; %{__tar} xvjf %{SOURCE2})
35
36%install
37  rm -rf $RPM_BUILD_ROOT
38  mkdir -p $RPM_BUILD_ROOT%{_prefix}
39  cp -a @tool_target@ $RPM_BUILD_ROOT%{_prefix}
40
41
Note: See TracBrowser for help on using the repository browser.