ce52d91cbe1008a6f258fb514c830d7fb9a780b6
[fedora-mingw.git] / portablexdr / mingw-portablexdr.spec
1 %include /usr/lib/rpm/mingw-defs
2
3 Name:           mingw-portablexdr
4 Version:        4.0.10
5 Release:        4%{?dist}
6 Summary:        MinGW Windows PortableXDR XDR / RPC library
7
8 License:        LGPLv2+
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)
13
14 BuildArch:      noarch
15
16 BuildRequires:  mingw-filesystem >= 19
17 BuildRequires:  mingw-gcc
18 BuildRequires:  mingw-binutils
19
20
21 %description
22 MinGW Windows PortableXDR XDR / RPC library.
23
24
25 %prep
26 %setup -q -n portablexdr-%{version}
27
28
29 %build
30 %{_mingw_configure}
31 make
32
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36
37 make DESTDIR=$RPM_BUILD_ROOT install
38
39 # Remove static library.
40 rm $RPM_BUILD_ROOT%{_mingw_libdir}/libportablexdr.a
41
42
43 %clean
44 rm -rf $RPM_BUILD_ROOT
45
46
47 %files
48 %defattr(-,root,root)
49 %{_mingw_bindir}/libportablexdr-0.dll
50 %{_mingw_libdir}/libportablexdr.dll.a
51 %{_mingw_libdir}/libportablexdr.la
52 %{_mingw_includedir}/rpc
53
54
55 %changelog
56 * Wed Sep 10 2008 Richard W.M. Jones <rjones@redhat.com> - 4.0.10-4
57 - Remove static library.
58
59 * Fri Sep  5 2008 Richard W.M. Jones <rjones@redhat.com> - 4.0.10-3
60 - Use RPM macros from mingw-filesystem.
61
62 * Tue Sep  2 2008 Daniel P. Berrange <berrange@redhat.com> - 4.0.10-2
63 - List files explicitly and set custom CFLAGS
64
65 * Tue Jul  8 2008 Richard W.M. Jones <rjones@redhat.com> - 4.0.10-1
66 - New upstream release 4.0.10.
67 - No need to manually install header files in this version.
68
69 * Mon Jul  7 2008 Richard W.M. Jones <rjones@redhat.com> - 4.0.9-2
70 - Initial RPM release, largely based on earlier work from several sources.