Name: mingw32-atk
Version: 1.25.2
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: MinGW Windows Atk library
License: LGPLv2+
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
%defattr(-,root,root,-)
%{_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
%changelog
-* Fri Jan 30 2009 Richard W.M. Jones <rjones@redhat.com> - 1.25.2-3
+* 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.