From: Richard W.M. Jones <"Richard W.M. Jones "> Date: Mon, 7 Jul 2008 23:52:15 +0000 (+0100) Subject: Package for PortableXDR - not dynamically linked at the moment. X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=aa497882ba22ac4a6aeb693cfcebdd9e4b580448;p=fedora-mingw.git Package for PortableXDR - not dynamically linked at the moment. --- diff --git a/portablexdr/mingw-portablexdr.spec b/portablexdr/mingw-portablexdr.spec new file mode 100644 index 0000000..36c95b4 --- /dev/null +++ b/portablexdr/mingw-portablexdr.spec @@ -0,0 +1,54 @@ +%define __os_install_post /usr/lib/rpm/brp-compress %{nil} + +Name: mingw-portablexdr +Version: 4.0.9 +Release: 1%{?dist} +Summary: MinGW Windows PortableXDR XDR / RPC library + +License: LGPLv2+ +Group: Development/Libraries +URL: http://et.redhat.com/~rjones/portablexdr/ +Source0: http://et.redhat.com/~rjones/portablexdr/portablexdr-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: mingw-gcc +BuildRequires: mingw-binutils + +Requires: mingw-runtime + +%description +MinGW Windows PortableXDR XDR / RPC library. + + +%prep +%setup -q -n portablexdr-%{version} + + +%build +CFLAGS="$RPM_OPT_FLAGS -fno-stack-protector" \ +./configure \ + --build=%_build \ + --host=i686-pc-mingw32 \ + --prefix=%{_prefix}/i686-pc-mingw32/sys-root/mingw + +make + + +%install +rm -rf $RPM_BUILD_ROOT + +make DESTDIR=$RPM_BUILD_ROOT install + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root) +%{_prefix}/i686-pc-mingw32/sys-root/mingw/lib/* + + +%changelog +* Mon Jul 7 2008 Richard W.M. Jones - 2.6.32-1 +- Initial RPM release, largely based on earlier work from several sources.