X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;ds=sidebyside;f=atk%2Fmingw32-atk.spec;h=b5b820357f7cb44cd02f56dbd8ac076482009d02;hb=c80763b1758297e08fc2b18e767b7eb59074593c;hp=3bf0e7c90c576f670cd245a61b634c57391a7975;hpb=d988111050a06727629205fc661356742fbc4248;p=fedora-mingw.git diff --git a/atk/mingw32-atk.spec b/atk/mingw32-atk.spec index 3bf0e7c..b5b8203 100644 --- a/atk/mingw32-atk.spec +++ b/atk/mingw32-atk.spec @@ -6,7 +6,7 @@ Name: mingw32-atk Version: 1.25.2 -Release: 1%{?dist} +Release: 5%{?dist} Summary: MinGW Windows Atk library License: LGPLv2+ @@ -29,6 +29,8 @@ BuildRequires: gettext # Need native one too for glib-genmarshal BuildRequires: glib2-devel +Requires: pkgconfig + %description MinGW Windows Atk library. @@ -39,7 +41,7 @@ MinGW Windows Atk library. %build -%{_mingw32_configure} +%{_mingw32_configure} --disable-static make %{?_smp_mflags} @@ -48,26 +50,43 @@ rm -rf $RPM_BUILD_ROOT 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 -f atk10.lang -%defattr(-,root,root) +%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/ %changelog +* Fri Feb 6 2009 Richard W.M. Jones - 1.25.2-5 +- Include license file. + +* Fri Jan 30 2009 Richard W.M. Jones - 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 - 1.25.2-1 - Rebase to latest Fedora native version 1.25.2. - Use find_lang macro.