dca3f3fc4e7eae2dfe38251edc0c0d93c082f3ec
[fedora-mingw.git] / pango / mingw-pango.spec
1 %include /usr/lib/rpm/mingw-defs
2
3 Name:           mingw-pango
4 Version:        1.21.6
5 Release:        1%{?dist}
6 Summary:        MinGW Windows Pango library
7
8 License:        LGPLv2+
9 Group:          Development/Libraries
10 URL:            http://www.pango.org
11 Source0:        http://download.gnome.org/sources/pango/1.21/pango-%{version}.tar.bz2
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 BuildRequires:  mingw-iconv
20 BuildRequires:  mingw-gettext
21 BuildRequires:  mingw-cairo
22 BuildRequires:  mingw-freetype
23 BuildRequires:  mingw-fontconfig
24
25 %description
26 MinGW Windows Pango library.
27
28
29 %prep
30 %setup -q -n pango-%{version}
31
32 %build
33 %{_mingw_configure}
34 make
35
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39
40 make DESTDIR=$RPM_BUILD_ROOT install
41
42 rm -f $RPM_BUILD_ROOT/%{_mingw_libdir}/charset.alias
43
44 %clean
45 rm -rf $RPM_BUILD_ROOT
46
47
48 %files
49 %defattr(-,root,root)
50 %{_mingw_bindir}/libpango-1.0-0.dll
51 %{_mingw_bindir}/libpangocairo-1.0-0.dll
52 %{_mingw_bindir}/libpangoft2-1.0-0.dll
53 %{_mingw_bindir}/libpangowin32-1.0-0.dll
54 %{_mingw_bindir}/pango-querymodules.exe
55 %{_mingw_includedir}/pango-1.0/
56 %{_mingw_libdir}/libpango-1.0.dll.a
57 %{_mingw_libdir}/libpango-1.0.la
58 %{_mingw_libdir}/libpangocairo-1.0.dll.a
59 %{_mingw_libdir}/libpangocairo-1.0.la
60 %{_mingw_libdir}/libpangoft2-1.0.dll.a
61 %{_mingw_libdir}/libpangoft2-1.0.la
62 %{_mingw_libdir}/libpangowin32-1.0.dll.a
63 %{_mingw_libdir}/libpangowin32-1.0.la
64 %{_mingw_libdir}/pango-1.0.def
65 %{_mingw_libdir}/pangocairo-1.0.def
66 %{_mingw_libdir}/pangoft2-1.0.def
67 %{_mingw_libdir}/pangowin32-1.0.def
68 %{_mingw_libdir}/pango/
69 %{_mingw_libdir}/pkgconfig/pango.pc
70 %{_mingw_libdir}/pkgconfig/pangocairo.pc
71 %{_mingw_libdir}/pkgconfig/pangoft2.pc
72 %{_mingw_libdir}/pkgconfig/pangowin32.pc
73 %{_mingw_datadir}/gtk-doc/html/pango/
74 %{_mingw_mandir}/man1/pango-querymodules.1*
75
76 %changelog
77 * Tue Sep  9 2008 Daniel P. Berrange <berrange@redhat.com> - 1.21.6-1
78 - Initial RPM release