Changeset 1dc7164 in rtems


Ignore:
Timestamp:
Feb 7, 2003, 4:04:14 PM (18 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
de819f6e
Parents:
553e297
Message:

2003-02-07 Ralf Corsepius <corsepiu@…>

  • i386-cygwin-gcc.spec.in: Use %_prefix instead of %prefix. Add gnatlib. Add %defattr(-,root,root). Provide virtual packages i386-cygwin-[c++|g++|gnat].
Location:
contrib/cygwin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • contrib/cygwin/ChangeLog

    r553e297 r1dc7164  
     12003-02-07      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * i386-cygwin-gcc.spec.in: Use %_prefix instead of %prefix.
     4        Add gnatlib.
     5        Add %defattr(-,root,root).
     6        Provide virtual packages i386-cygwin-[c++|g++|gnat].
     7
    182003-01-28      Joel Sherrill <joel@OARcorp.com>
    29
  • contrib/cygwin/i386-cygwin-gcc.spec.in

    r553e297 r1dc7164  
    33#
    44
     5%define _prefix /opt/cygwin
     6
    57%define gcc_version @GCC_VERS@
    6 %define gcc_rpmvers @GCC_RPMVERS@
     8%define gcc_rpmvers %{expand: %%(echo %gcc_version | tr - _ )}
    79
    810Vendor:         OAR Corporation
     
    1517Release:        @GCC_RPMREL@
    1618License:        gcc is GPL/LGPL
    17 Prefix:         /opt/cygwin
    1819Autoreqprov:    on
    1920Packager:       corsepiu@faw.uni-ulm.de
    2021Version:        %gcc_rpmvers
     22
     23Provides:       i386-cygwin-c++
     24Provides:       i386-cygwin-g++
     25Provides:       i386-cygwin-gnat
    2126
    2227Source0:        ftp://sourceware.cygnus.com/pub/cygwin/latest/gcc/gcc-%{gcc_version}-src.tar.bz2
     
    4550    --disable-nls --disable-win32-registry \
    4651    --with-newlib --enable-languages=c,c++,ada \
    47     --prefix=%{prefix}
     52    --prefix=%{_prefix}
    4853
    4954  make all
     55# Building with an external libc -> the nominal way to building gnat works!
    5056  make -C gcc cross-gnattools
    5157  make -C gcc ada.all.cross
     58  make -C gcc gnatlib
     59
    5260# We don't want info files
    5361#  make info
     
    5866  # If it doesn't find it, gcc doesn't install i386-cygwin/bin/gcc
    5967  ../gcc-%{gcc_version}/mkinstalldirs \
    60     $RPM_BUILD_ROOT%{prefix}/i386-cygwin/bin
     68    $RPM_BUILD_ROOT%{_prefix}/i386-cygwin/bin
    6169
    62   make prefix=$RPM_BUILD_ROOT%{prefix} install
     70  make prefix=$RPM_BUILD_ROOT%{_prefix} install
    6371  # cd back to build/
    6472  cd ../..
    6573
    6674  # We don't want info files
    67   rm -rf $RPM_BUILD_ROOT%{prefix}/info
     75  rm -rf $RPM_BUILD_ROOT%{_prefix}/info
    6876
    6977  # libiberty comes from cygwin-libs
    70   rm -f $RPM_BUILD_ROOT%{prefix}/i386-cygwin/lib/libiberty.a
     78  rm -f $RPM_BUILD_ROOT%{_prefix}/i386-cygwin/lib/libiberty.a
    7179
    7280%clean
     
    7684
    7785%files
     86%defattr(-,root,root)
     87%{_prefix}/bin/i386-cygwin-cpp
     88%{_prefix}/bin/i386-cygwin-gcov
     89%{_prefix}/bin/i386-cygwin-c++
     90%{_prefix}/bin/i386-cygwin-c++filt
     91%{_prefix}/bin/i386-cygwin-g++
     92%{_prefix}/bin/i386-cygwin-gcc
     93%{_prefix}/bin/i386-cygwin-gnat*
    7894
    79 %{prefix}/bin/i386-cygwin-cpp
    80 %{prefix}/bin/i386-cygwin-gcov
    81 %{prefix}/bin/i386-cygwin-c++
    82 %{prefix}/bin/i386-cygwin-c++filt
    83 %{prefix}/bin/i386-cygwin-g++
    84 %{prefix}/bin/i386-cygwin-gcc
     95%dir %{_prefix}/man
     96%dir %{_prefix}/man/man1
     97%doc %{_prefix}/man/man1/i386-cygwin-gcc.1*
     98%doc %{_prefix}/man/man1/i386-cygwin-g++.1*
    8599
    86 %dir %{prefix}/man
    87 %dir %{prefix}/man/man1
    88 %doc %{prefix}/man/man1/i386-cygwin-gcc.1*
    89 %doc %{prefix}/man/man1/i386-cygwin-g++.1*
     100%dir %{_prefix}/include
     101%{_prefix}/include
     102%dir %{_prefix}/bin
    90103
    91 %dir %{prefix}/include
    92 %{prefix}/include
    93 %dir %{prefix}/bin
     104# %dir %{_prefix}/lib/gcc-lib/i386-cygwin/%{gcc_version}/include
    94105
    95 # %dir %{prefix}/lib/gcc-lib/i386-cygwin/%{gcc_version}/include
    96 
    97 %{prefix}/i386-cygwin
    98 %dir %{prefix}/lib
    99 %dir %{prefix}/lib/gcc-lib
    100 %dir %{prefix}/lib/gcc-lib/i386-cygwin
    101 %{prefix}/lib/gcc-lib/i386-cygwin
     106%{_prefix}/i386-cygwin
     107%dir %{_prefix}/lib
     108%dir %{_prefix}/lib/gcc-lib
     109%dir %{_prefix}/lib/gcc-lib/i386-cygwin
     110%{_prefix}/lib/gcc-lib/i386-cygwin
Note: See TracChangeset for help on using the changeset viewer.