Fix path to python script
[fedora-mingw.git] / atk / mingw-atk.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-atk
8 Version:        1.23.5
9 Release:        2%{?dist}
10 Summary:        MinGW Windows Atk library
11
12 License:        LGPLv2+
13 Group:          Development/Libraries
14 URL:            http://developer.gnome.org/projects/gap/
15 Source:         http://download.gnome.org/sources/atk/1.23/atk-%{version}.tar.bz2 
16 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
17 Patch1: atk-%{version}-mingw.patch
18
19 BuildArch:      noarch
20
21 BuildRequires:  mingw-filesystem >= 23
22 BuildRequires:  mingw-gcc
23 BuildRequires:  mingw-binutils
24 BuildRequires:  mingw-iconv
25 BuildRequires:  mingw-gettext
26 BuildRequires:  mingw-glib2
27 BuildRequires:  pkgconfig
28 # Need native one too for msgfmt
29 BuildRequires:  gettext
30 # Need native one too for  glib-genmarshal
31 BuildRequires:  glib2-devel
32
33 %description
34 MinGW Windows Atk library.
35
36
37 %prep
38 %setup -q -n atk-%{version}
39 %patch1 -p1
40
41 %build
42 %{_mingw_configure}
43 make
44
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48
49 make DESTDIR=$RPM_BUILD_ROOT install
50
51 rm -f $RPM_BUILD_ROOT/%{_mingw_libdir}/charset.alias
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56
57 %files
58 %defattr(-,root,root)
59 %{_mingw_bindir}/libatk-1.0-0.dll
60 %{_mingw_includedir}/atk-1.0
61 %{_mingw_libdir}/atk-1.0.def
62 %{_mingw_libdir}/libatk-1.0.dll.a
63 %{_mingw_libdir}/libatk-1.0.la
64 %{_mingw_libdir}/pkgconfig/atk.pc
65 %{_mingw_datadir}/gtk-doc/html/atk/
66 %{_mingw_datadir}/locale/*/LC_MESSAGES/atk10.mo
67
68 %changelog
69 * Thu Sep 11 2008 Daniel P. Berrange <berrange@redhat.com> - 1.23.5-2
70 - Added dep on pkgconfig and glib2-devel (native)
71
72 * Tue Sep  9 2008 Daniel P. Berrange <berrange@redhat.com> - 1.23.5-1
73 - Initial RPM release