Fix small typo.
[fedora-mingw.git] / portablexdr / mingw32-portablexdr.spec
1 %define __strip %{_mingw32_strip}
2 %define __objdump %{_mingw32_objdump}
3 %define _use_internal_dependency_generator 0
4 %define __find_requires %{_mingw32_findrequires}
5 %define __find_provides %{_mingw32_findprovides}
6
7 Name:           mingw32-portablexdr
8 Version:        4.0.11
9 Release:        1%{?dist}
10 Summary:        MinGW Windows PortableXDR XDR / RPC library
11
12 License:        LGPLv2+
13 Group:          Development/Libraries
14 URL:            http://et.redhat.com/~rjones/portablexdr/
15 Source0:        http://et.redhat.com/~rjones/portablexdr/portablexdr-%{version}.tar.gz
16 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
17
18 BuildArch:      noarch
19
20 BuildRequires:  mingw32-filesystem >= 23
21 BuildRequires:  mingw32-gcc
22 BuildRequires:  mingw32-binutils
23
24
25 %description
26 MinGW Windows PortableXDR XDR / RPC library.
27
28
29 %prep
30 %setup -q -n portablexdr-%{version}
31
32
33 %build
34 %{_mingw32_configure}
35 make
36
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40
41 make DESTDIR=$RPM_BUILD_ROOT install
42
43 # Remove static library.
44 rm $RPM_BUILD_ROOT%{_mingw32_libdir}/libportablexdr.a
45
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50
51 %files
52 %defattr(-,root,root)
53 %{_mingw32_bindir}/libportablexdr-0.dll
54 %{_mingw32_libdir}/libportablexdr.dll.a
55 %{_mingw32_libdir}/libportablexdr.la
56 %{_mingw32_includedir}/rpc
57
58
59 %changelog
60 * Wed Oct 15 2008 Richard W.M. Jones <rjones@redhat.com> - 4.0.11-1
61 - New upstream version 4.0.11.
62
63 * Wed Sep 24 2008 Richard W.M. Jones <rjones@redhat.com> - 4.0.10-5
64 - Rename mingw -> mingw32.
65
66 * Wed Sep 10 2008 Richard W.M. Jones <rjones@redhat.com> - 4.0.10-4
67 - Remove static library.
68
69 * Fri Sep  5 2008 Richard W.M. Jones <rjones@redhat.com> - 4.0.10-3
70 - Use RPM macros from mingw-filesystem.
71
72 * Tue Sep  2 2008 Daniel P. Berrange <berrange@redhat.com> - 4.0.10-2
73 - List files explicitly and set custom CFLAGS
74
75 * Tue Jul  8 2008 Richard W.M. Jones <rjones@redhat.com> - 4.0.10-1
76 - New upstream release 4.0.10.
77 - No need to manually install header files in this version.
78
79 * Mon Jul  7 2008 Richard W.M. Jones <rjones@redhat.com> - 4.0.9-2
80 - Initial RPM release, largely based on earlier work from several sources.