git.annexia.org
/
fedora-mingw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
be7f34c
)
- Use RPM macros from mingw-filesystem.
author
Richard W.M. Jones
<rjones@redhat.com>
Fri, 5 Sep 2008 09:22:08 +0000
(10:22 +0100)
committer
Richard W.M. Jones
<rjones@redhat.com>
Fri, 5 Sep 2008 09:22:08 +0000
(10:22 +0100)
portablexdr/mingw-portablexdr.spec
patch
|
blob
|
history
diff --git
a/portablexdr/mingw-portablexdr.spec
b/portablexdr/mingw-portablexdr.spec
index
2ca86c2
..
a853515
100644
(file)
--- a/
portablexdr/mingw-portablexdr.spec
+++ b/
portablexdr/mingw-portablexdr.spec
@@
-1,8
+1,8
@@
-%
define __os_install_post /usr/lib/rpm/brp-compress %{nil}
+%
include /usr/lib/rpm/mingw-defs
Name: mingw-portablexdr
Version: 4.0.10
Name: mingw-portablexdr
Version: 4.0.10
-Release:
2
%{?dist}
+Release:
3
%{?dist}
Summary: MinGW Windows PortableXDR XDR / RPC library
License: LGPLv2+
Summary: MinGW Windows PortableXDR XDR / RPC library
License: LGPLv2+
@@
-11,10
+11,12
@@
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)
Source0: http://et.redhat.com/~rjones/portablexdr/portablexdr-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch: noarch
+
+BuildRequires: mingw-filesystem >= 19
BuildRequires: mingw-gcc
BuildRequires: mingw-binutils
BuildRequires: mingw-gcc
BuildRequires: mingw-binutils
-Requires: mingw-runtime
%description
MinGW Windows PortableXDR XDR / RPC library.
%description
MinGW Windows PortableXDR XDR / RPC library.
@@
-25,12
+27,7
@@
MinGW Windows PortableXDR XDR / RPC library.
%build
%build
-CFLAGS="-O2 -g -Wall -pipe" \
-./configure \
- --build=%_build \
- --host=i686-pc-mingw32 \
- --prefix=%{_prefix}/i686-pc-mingw32/sys-root/mingw
-
+%{_mingw_configure}
make
make
@@
-46,13
+43,17
@@
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%files
%defattr(-,root,root)
-%{_prefix}/i686-pc-mingw32/sys-root/mingw/bin/libportablexdr-0.dll
-%{_prefix}/i686-pc-mingw32/sys-root/mingw/lib/libportablexdr.a
-%{_prefix}/i686-pc-mingw32/sys-root/mingw/lib/libportablexdr.dll.a
-%{_prefix}/i686-pc-mingw32/sys-root/mingw/lib/libportablexdr.la
-%{_prefix}/i686-pc-mingw32/sys-root/mingw/include/rpc
+%{_mingw_bindir}/libportablexdr-0.dll
+%{_mingw_libdir}/libportablexdr.a
+%{_mingw_libdir}/libportablexdr.dll.a
+%{_mingw_libdir}/libportablexdr.la
+%{_mingw_includedir}/rpc
+
%changelog
%changelog
+* Fri Sep 5 2008 Richard W.M. Jones <rjones@redhat.com> - 4.0.10-3
+- Use RPM macros from mingw-filesystem.
+
* Tue Sep 2 2008 Daniel P. Berrange <berrange@redhat.com> - 4.0.10-2
- List files explicitly and set custom CFLAGS
* Tue Sep 2 2008 Daniel P. Berrange <berrange@redhat.com> - 4.0.10-2
- List files explicitly and set custom CFLAGS