mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-26 14:18:20 +00:00
New.
This commit is contained in:
6
contrib/crossrpms/cygwin/i686/target-zlib.add
Normal file
6
contrib/crossrpms/cygwin/i686/target-zlib.add
Normal file
@@ -0,0 +1,6 @@
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%dir %{_prefix}/@tool_target@
|
||||
%{_prefix}/@tool_target@/sys-root
|
||||
|
||||
|
||||
36
contrib/crossrpms/cygwin/i686/zlib.add
Normal file
36
contrib/crossrpms/cygwin/i686/zlib.add
Normal file
@@ -0,0 +1,36 @@
|
||||
%define zlib_version @ZLIB_VERS@
|
||||
%define zlib_rpmvers %{expand:%(echo @ZLIB_VERS@ | tr - _)}
|
||||
|
||||
Name: @rpmprefix@@tool_target@-zlib
|
||||
Release: @ZLIB_RPMREL@%{?dist}
|
||||
License: GPL
|
||||
Group: Development/Tools
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildArch: noarch
|
||||
|
||||
Version: %zlib_rpmvers
|
||||
Summary: Cygwin zlib Libraries
|
||||
|
||||
Source0: ftp://cygwin.com/pub/cygwin/release/zlib/zlib-%{zlib_version}.tar.bz2
|
||||
%{?_without_sources:NoSource: 0}
|
||||
|
||||
%description
|
||||
Cygwin zlib libraries.
|
||||
|
||||
%prep
|
||||
%setup -c -q
|
||||
|
||||
%build
|
||||
rm -rf @tool_target@
|
||||
|
||||
# Setup sys-root (Usable for gcc >= 3.4)
|
||||
mkdir -p @tool_target@/sys-root
|
||||
( cd @tool_target@/sys-root ; %{__tar} xvjf %{SOURCE0})
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}
|
||||
cp -a @tool_target@ $RPM_BUILD_ROOT%{_prefix}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user