Remove PKG_CONFIG_PATH since its set in mingw_cflags by default now. Misc bug other...
[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:        3%{?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
40 %clean
41 rm -rf $RPM_BUILD_ROOT
42
43
44 %files
45 %defattr(-,root,root)
46 %{_mingw_bindir}/libportablexdr-0.dll
47 %{_mingw_libdir}/libportablexdr.a
48 %{_mingw_libdir}/libportablexdr.dll.a
49 %{_mingw_libdir}/libportablexdr.la
50 %{_mingw_includedir}/rpc
51
52
53 %changelog
54 * Fri Sep  5 2008 Richard W.M. Jones <rjones@redhat.com> - 4.0.10-3
55 - Use RPM macros from mingw-filesystem.
56
57 * Tue Sep  2 2008 Daniel P. Berrange <berrange@redhat.com> - 4.0.10-2
58 - List files explicitly and set custom CFLAGS
59
60 * Tue Jul  8 2008 Richard W.M. Jones <rjones@redhat.com> - 4.0.10-1
61 - New upstream release 4.0.10.
62 - No need to manually install header files in this version.
63
64 * Mon Jul  7 2008 Richard W.M. Jones <rjones@redhat.com> - 4.0.9-2
65 - Initial RPM release, largely based on earlier work from several sources.