c64b359a57d77a1308190a55755fe1645a4b7200
[fedora-mingw.git] / libglade2 / mingw32-libglade2.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-libglade2
8 Version:        2.6.3
9 Release:        4%{?dist}
10 Summary:        MinGW Windows Libglade2 library
11
12 License:        LGPLv2+
13 Group:          Development/Libraries
14 URL:            http://www.gnome.org
15 Source0:        http://download.gnome.org/sources/libglade/2.6/libglade-%{version}.tar.bz2
16 Patch1:         libglade-2.0.1-nowarning.patch
17 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
18
19 BuildArch:      noarch
20
21 BuildRequires:  mingw32-filesystem >= 23
22 BuildRequires:  mingw32-gcc
23 BuildRequires:  mingw32-binutils
24 BuildRequires:  mingw32-gtk2
25 BuildRequires:  mingw32-fontconfig
26 BuildRequires:  mingw32-pango
27 BuildRequires:  mingw32-gettext
28 BuildRequires:  mingw32-libxml2
29
30 # Native one for msgfmt
31 BuildRequires:  gettext
32
33 Requires:       pkgconfig
34
35 %description
36 MinGW Windows Libglade2 library.
37
38
39 %prep
40 %setup -q -n libglade-%{version}
41 %patch1 -p1
42
43 %build
44 %{_mingw32_configure} --disable-gtk-doc
45 make %{?_smp_mflags}
46
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50
51 make DESTDIR=$RPM_BUILD_ROOT install
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56
57 %files
58 %defattr(-,root,root)
59 %doc COPYING
60 %{_mingw32_bindir}/libglade-2.0-0.dll
61 %{_mingw32_bindir}/libglade-convert
62 %{_mingw32_includedir}/libglade-2.0
63 %{_mingw32_libdir}/libglade-2.0.a
64 %{_mingw32_libdir}/libglade-2.0.dll.a
65 %{_mingw32_libdir}/libglade-2.0.la
66 %{_mingw32_libdir}/pkgconfig/libglade-2.0.pc
67
68 %{_mingw32_datadir}/gtk-doc/html/libglade
69 %dir %{_mingw32_datadir}/xml/libglade
70 %{_mingw32_datadir}/xml/libglade/glade-2.0.dtd
71
72
73 %changelog
74 * Fri Feb  6 2009 Richard W.M. Jones <rjones@redhat.com> - 2.6.3-4
75 - Include license file.
76
77 * Fri Jan 23 2009 Richard W.M. Jones <rjones@redhat.com> - 2.6.3-3
78 - Use _smp_mflags.
79 - +BR mingw32-libxml2.
80
81 * Tue Jan 13 2009 Richard W.M. Jones <rjones@redhat.com> - 2.6.3-2
82 - Requires pkgconfig.
83
84 * Fri Nov 28 2008 Daniel P. Berrange <berrange@redhat.com> - 2.6.3-1
85 - Initial build
86