From 77d17fff71764c904c121cfcfdef3a86cbc03076 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Sat, 10 May 2008 03:12:31 +0000 Subject: New. --- contrib/crossrpms/cygwin/i686/expat.add | 38 ++++++++++++++++++++++++++ contrib/crossrpms/cygwin/i686/target-expat.add | 6 ++++ 2 files changed, 44 insertions(+) create mode 100644 contrib/crossrpms/cygwin/i686/expat.add create mode 100644 contrib/crossrpms/cygwin/i686/target-expat.add (limited to 'contrib') diff --git a/contrib/crossrpms/cygwin/i686/expat.add b/contrib/crossrpms/cygwin/i686/expat.add new file mode 100644 index 0000000000..1f2e73f5aa --- /dev/null +++ b/contrib/crossrpms/cygwin/i686/expat.add @@ -0,0 +1,38 @@ +%define expat_version @EXPAT_VERS@ +%define expat_rpmvers %{expand:%(echo @EXPAT_VERS@ | tr - _)} + +Name: @rpmprefix@@tool_target@-expat +Release: @EXPAT_RPMREL@ +License: GPL +Group: Development/Tools + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch + +Version: %expat_rpmvers +Summary: Cygwin expat Libraries + +Source0: ftp://cygwin.com/pub/cygwin/release/expat/expat-%{expat_version}.tar.bz2 +Source1: ftp://cygwin.com/pub/cygwin/release/expat/libexpat0/libexpat0-%{expat_version}.tar.bz2 + +Provides: @rpmprefix@@tool_target@-expat-devel = %{version}-%{release} + +%description +Cygwin expat 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}) + ( cd @tool_target@/sys-root ; %{__tar} xvjf %{SOURCE1}) + +%install + rm -rf $RPM_BUILD_ROOT + mkdir -p $RPM_BUILD_ROOT%{_prefix} + cp -a @tool_target@ $RPM_BUILD_ROOT%{_prefix} + diff --git a/contrib/crossrpms/cygwin/i686/target-expat.add b/contrib/crossrpms/cygwin/i686/target-expat.add new file mode 100644 index 0000000000..693e50e255 --- /dev/null +++ b/contrib/crossrpms/cygwin/i686/target-expat.add @@ -0,0 +1,6 @@ +%files +%defattr(-,root,root,-) +%dir %{_prefix}/@tool_target@ +%{_prefix}/@tool_target@/sys-root + + -- cgit v1.2.3