1 %define __os_install_post /usr/lib/rpm/brp-compress %{nil}
3 Name: mingw-portablexdr
6 Summary: MinGW Windows PortableXDR XDR / RPC library
9 Group: Development/Libraries
10 URL: http://et.redhat.com/~rjones/portablexdr/
11 Source0: http://et.redhat.com/~rjones/portablexdr/portablexdr-%{version}.tar.gz
12 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
14 BuildRequires: mingw-gcc
15 BuildRequires: mingw-binutils
17 Requires: mingw-runtime
20 MinGW Windows PortableXDR XDR / RPC library.
24 %setup -q -n portablexdr-%{version}
28 CFLAGS="$RPM_OPT_FLAGS -fno-stack-protector" \
31 --host=i686-pc-mingw32 \
32 --prefix=%{_prefix}/i686-pc-mingw32/sys-root/mingw
38 rm -rf $RPM_BUILD_ROOT
40 make DESTDIR=$RPM_BUILD_ROOT install
44 rm -rf $RPM_BUILD_ROOT
49 %{_prefix}/i686-pc-mingw32/sys-root/mingw/lib/*
53 * Mon Jul 7 2008 Richard W.M. Jones <rjones@redhat.com> - 2.6.32-1
54 - Initial RPM release, largely based on earlier work from several sources.