%define __find_provides %{_mingw32_findprovides}
Name: mingw32-atk
-Version: 1.24.0
-Release: 2%{?dist}
+Version: 1.25.2
+Release: 5%{?dist}
Summary: MinGW Windows Atk library
License: LGPLv2+
Group: Development/Libraries
-URL: http://developer.gnome.org/projects/gap/
-Source: http://download.gnome.org/sources/atk/1.24/atk-%{version}.tar.bz2
+URL: http://projects.gnome.org/accessibility/
+Source: http://ftp.gnome.org/pub/GNOME/sources/atk/1.25/atk-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
# Need native one too for glib-genmarshal
BuildRequires: glib2-devel
+Requires: pkgconfig
+
%description
MinGW Windows Atk library.
%build
-%{_mingw32_configure}
-make
+%{_mingw32_configure} --disable-static
+make %{?_smp_mflags}
%install
make DESTDIR=$RPM_BUILD_ROOT install
+# Native Fedora package removes this file, so we do the same.
rm -f $RPM_BUILD_ROOT/%{_mingw32_libdir}/charset.alias
+# Documentation duplicates what is in the native Fedora package.
+rm -rf $RPM_BUILD_ROOT/%{_mingw32_datadir}/gtk-doc
+
+# Remove this file, only used while creating the DLL.
+# See: https://bugzilla.redhat.com/show_bug.cgi?id=467409#c8
+rm $RPM_BUILD_ROOT%{_mingw32_libdir}/atk-1.0.def
+
+%find_lang atk10
+
%clean
rm -rf $RPM_BUILD_ROOT
-%files
-%defattr(-,root,root)
+%files -f atk10.lang
+%defattr(-,root,root,-)
+%doc COPYING
%{_mingw32_bindir}/libatk-1.0-0.dll
%{_mingw32_includedir}/atk-1.0
-%{_mingw32_libdir}/atk-1.0.def
%{_mingw32_libdir}/libatk-1.0.dll.a
%{_mingw32_libdir}/libatk-1.0.la
%{_mingw32_libdir}/pkgconfig/atk.pc
-%{_mingw32_datadir}/gtk-doc/html/atk/
-%{_mingw32_datadir}/locale/*/LC_MESSAGES/atk10.mo
%changelog
+* Fri Feb 6 2009 Richard W.M. Jones <rjones@redhat.com> - 1.25.2-5
+- Include license file.
+
+* Fri Jan 30 2009 Richard W.M. Jones <rjones@redhat.com> - 1.25.2-4
+- Remove gtk-doc.
+- Fix defattr line.
+- Requires pkgconfig.
+- Remove the atk*.def file.
+
+* Fri Jan 23 2009 Richard W.M. Jones <rjones@redhat.com> - 1.25.2-1
+- Rebase to latest Fedora native version 1.25.2.
+- Use find_lang macro.
+- Use smp_mflags.
+- Fix URL.
+- Fix Source URL.
+
* Wed Sep 24 2008 Daniel P. Berrange <berrange@redhat.com> - 1.24.0-2
- Rename mingw -> mingw32.