Changeset c84b47f in rtems


Ignore:
Timestamp:
Feb 6, 2009, 11:05:02 PM (11 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, master
Children:
bdd38fe1
Parents:
95159f95
Message:

Rework.

Location:
contrib/crossrpms/cpukit
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • contrib/crossrpms/cpukit/build.add

    r95159f95 rc84b47f  
    66
    77  cd build
    8   ../rtems-%{cpukit_pkgvers}/configure \
     8  ../rtems-%{cpukit_version}/configure \
    99    --prefix=%{_prefix} \
    1010    --target=@tool_target@ \
  • contrib/crossrpms/cpukit/cpukit.add

    r95159f95 rc84b47f  
    22%define cpukit_pkgvers @CPUKIT_PKGVERS@
    33%define cpukit_version @CPUKIT_VERS@
    4 %define cpukit_rpmvers %{expand:%(echo "@CPUKIT_VERS@" | tr - _ )}
     4%define cpukit_rpmvers %{expand:%(echo "@CPUKIT_PKGVERS@" | tr - . )}
    55
    66Name:           @rpmprefix@@tool_target@-cpukit
     
    99Group:          Development/Tools
    1010Version:        %{cpukit_rpmvers}
    11 Release:        @CPUKIT_RPMREL@%{?dist}
     11Release:        @CPUKIT_RPMREL@
    1212License:        GPL
    1313URL:            http://cpukit.gnu.org
     
    1515BuildArch:      noarch
    1616
    17 %define _use_internal_dependency_generator 0
     17%define debug_package %{nil}
    1818
    1919BuildRequires:  @rpmprefix@@tool_target@-gcc
  • contrib/crossrpms/cpukit/rpm-install.add

    r95159f95 rc84b47f  
    3232
    3333
    34 cat << EOF > %{_builddir}/%{name}-%{cpukit_rpmvers}/find-provides
     34cat << EOF > %{_builddir}/%{name}-%{version}/find-provides
    3535#!/bin/sh
    3636grep -E -v '^${RPM_BUILD_ROOT}%{_exec_prefix}/@tool_target@/(lib|include|sys-root)' \
    3737  | grep -v '^${RPM_BUILD_ROOT}%{cpukitlib}/@tool_target@/' | %__find_provides
    3838EOF
    39 chmod +x %{_builddir}/%{name}-%{cpukit_rpmvers}/find-provides
    40 %define __find_provides %{_builddir}/%{name}-%{cpukit_rpmvers}/find-provides
     39chmod +x %{_builddir}/%{name}-%{version}/find-provides
     40%define __find_provides %{_builddir}/%{name}-%{version}/find-provides
    4141
    42 cat << EOF > %{_builddir}/%{name}-%{cpukit_rpmvers}/find-requires
     42cat << EOF > %{_builddir}/%{name}-%{version}/find-requires
    4343#!/bin/sh
    4444grep -E -v '^${RPM_BUILD_ROOT}%{_exec_prefix}/@tool_target@/(lib|include|sys-root)' \
    4545  | grep -v '^${RPM_BUILD_ROOT}%{cpukitlib}/@tool_target@/' | %__find_requires
    4646EOF
    47 chmod +x %{_builddir}/%{name}-%{cpukit_rpmvers}/find-requires
    48 %define __find_requires %{_builddir}/%{name}-%{cpukit_rpmvers}/find-requires
     47chmod +x %{_builddir}/%{name}-%{version}/find-requires
     48%define __find_requires %{_builddir}/%{name}-%{version}/find-requires
    4949
  • contrib/crossrpms/cpukit/target-cpukit.add

    r95159f95 rc84b47f  
    11%description -n @rpmprefix@@tool_target@-cpukit
    2 GNU cc compiler for @tool_target@.
     2RTEMS cpukit for target @tool_target@.
    33
    44%files -n @rpmprefix@@tool_target@-cpukit
     5%defattr(-,root,root)
    56%sysdir %{_prefix}
    67%{_prefix}/@tool_target@
Note: See TracChangeset for help on using the changeset viewer.