Just whitespace changes.
[fedora-mingw.git] / libxml2 / mingw-libxml2.spec
1 %define __strip %{_mingw_strip}
2 %define __objdump %{_mingw_objdump}
3 %define _use_internal_dependency_generator 0
4 %define __find_requires %{_mingw_findrequires}
5 %define __find_provides %{_mingw_findprovides}
6
7 Name:           mingw-libxml2
8 Version:        2.6.32
9 Release:        4%{?dist}
10 Summary:        MinGW Windows libxml2 XML processing library
11
12 License:        LGPLv2+
13 Group:          Development/Libraries
14 URL:            http://www.xmlsoft.org/
15 Source0:        ftp://xmlsoft.org/libxml2/libxml2-%{version}.tar.gz
16 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
17
18 BuildArch:      noarch
19
20 BuildRequires:  mingw-filesystem >= 23
21 BuildRequires:  mingw-gcc
22 BuildRequires:  mingw-binutils
23 BuildRequires:  mingw-zlib
24 BuildRequires:  mingw-gettext
25
26
27 %description
28 MinGW Windows libxml2 XML processing library.
29
30
31 %prep
32 %setup -q -n libxml2-%{version}
33
34
35 %build
36 LDFLAGS="-no-undefined" %{_mingw_configure} --without-python
37 make
38
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42
43 make DESTDIR=$RPM_BUILD_ROOT install
44
45 rm $RPM_BUILD_ROOT%{_mingw_libdir}/libxml2.a
46
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51
52 %files
53 %defattr(-,root,root)
54 %{_mingw_bindir}/libxml2-2.dll
55 %{_mingw_bindir}/xml2-config
56 %{_mingw_bindir}/xmlcatalog.exe
57 %{_mingw_bindir}/xmllint.exe
58 %{_mingw_libdir}/libxml2.dll.a
59 %{_mingw_libdir}/libxml2.la
60 %{_mingw_libdir}/pkgconfig
61 %{_mingw_libdir}/pkgconfig/libxml-2.0.pc
62 %{_mingw_libdir}/xml2Conf.sh
63 %{_mingw_includedir}/libxml2
64 %{_mingw_datadir}/aclocal/*
65 %{_mingw_docdir}/libxml2-%{version}/
66 %{_mingw_datadir}/gtk-doc/html/libxml2/
67 %{_mingw_mandir}/man1/*
68 %{_mingw_mandir}/man3/*
69
70
71 %changelog
72 * Wed Sep 10 2008 Richard W.M. Jones <rjones@redhat.com> - 2.6.32-4
73 - Remove static libraries.
74 - List libdir files explicitly.
75
76 * Fri Sep  5 2008 Richard W.M. Jones <rjones@redhat.com> - 2.6.32-3
77 - Use RPM macros from mingw-filesystem.
78 - BuildArch is noarch.
79
80 * Mon Jul  7 2008 Richard W.M. Jones <rjones@redhat.com> - 2.6.32-1
81 - Initial RPM release, largely based on earlier work from several sources.