|
|
cd0dfff |
%global __strip %{_mingw32_strip}
|
|
|
cd0dfff |
%global __objdump %{_mingw32_objdump}
|
|
|
cd0dfff |
%global _use_internal_dependency_generator 0
|
|
|
cd0dfff |
%global __find_requires %{_mingw32_findrequires}
|
|
|
cd0dfff |
%global __find_provides %{_mingw32_findprovides}
|
|
|
902189c |
%define __debug_install_post %{_mingw32_debug_install_post}
|
|
|
ce739c7 |
|
|
|
ce739c7 |
Name: mingw32-atk
|
|
|
7978afb |
Version: 1.32.0
|
|
|
633299a |
Release: 3%{?dist}
|
|
|
ce739c7 |
Summary: MinGW Windows Atk library
|
|
|
ce739c7 |
|
|
|
ce739c7 |
License: LGPLv2+
|
|
|
ce739c7 |
Group: Development/Libraries
|
|
|
ce739c7 |
URL: http://projects.gnome.org/accessibility/
|
|
|
7978afb |
Source: http://ftp.gnome.org/pub/GNOME/sources/atk/1.32/atk-%{version}.tar.bz2
|
|
|
ce739c7 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
ce739c7 |
|
|
|
f1b112c |
# Fix compatibility with proxy-libintl
|
|
|
f1b112c |
Patch0: atk-fix-build-against-proxy-libintl.patch
|
|
|
f1b112c |
|
|
|
633299a |
# Export the AtkHyperlinkImpl functions (already upstreamed)
|
|
|
633299a |
Patch1: atk-export-hyperlink-impl.patch
|
|
|
633299a |
|
|
|
ce739c7 |
BuildArch: noarch
|
|
|
ce739c7 |
|
|
|
cd5b1f3 |
BuildRequires: mingw32-filesystem >= 49
|
|
|
ce739c7 |
BuildRequires: mingw32-gcc
|
|
|
ce739c7 |
BuildRequires: mingw32-binutils
|
|
|
ce739c7 |
BuildRequires: mingw32-iconv
|
|
|
ce739c7 |
BuildRequires: mingw32-gettext
|
|
|
ce739c7 |
BuildRequires: mingw32-glib2
|
|
|
ce739c7 |
BuildRequires: pkgconfig
|
|
|
ce739c7 |
# Need native one too for msgfmt
|
|
|
ce739c7 |
BuildRequires: gettext
|
|
|
ce739c7 |
# Need native one too for glib-genmarshal
|
|
|
ce739c7 |
BuildRequires: glib2-devel
|
|
|
ce739c7 |
|
|
|
ce739c7 |
Requires: pkgconfig
|
|
|
ce739c7 |
|
|
|
ce739c7 |
|
|
|
ce739c7 |
%description
|
|
|
ce739c7 |
MinGW Windows Atk library.
|
|
|
ce739c7 |
|
|
|
ce739c7 |
|
|
|
cd5b1f3 |
%package static
|
|
|
cd5b1f3 |
Summary: Static version of the MinGW Windows Atk library
|
|
|
cd5b1f3 |
Requires: %{name} = %{version}-%{release}
|
|
|
3199811 |
Group: Development/Libraries
|
|
|
cd5b1f3 |
|
|
|
cd5b1f3 |
%description static
|
|
|
cd5b1f3 |
Static version of the MinGW Windows Atk library.
|
|
|
cd5b1f3 |
|
|
|
cd5b1f3 |
|
|
|
7978afb |
%{?_mingw32_debug_package}
|
|
|
902189c |
|
|
|
902189c |
|
|
|
ce739c7 |
%prep
|
|
|
ce739c7 |
%setup -q -n atk-%{version}
|
|
|
f1b112c |
%patch0 -p0
|
|
|
633299a |
%patch1 -p0
|
|
|
ce739c7 |
|
|
|
ce739c7 |
|
|
|
ce739c7 |
%build
|
|
|
cd5b1f3 |
%{_mingw32_configure} --enable-static --enable-shared
|
|
|
ce739c7 |
make %{?_smp_mflags}
|
|
|
ce739c7 |
|
|
|
ce739c7 |
|
|
|
ce739c7 |
%install
|
|
|
ce739c7 |
rm -rf $RPM_BUILD_ROOT
|
|
|
ce739c7 |
|
|
|
ce739c7 |
make DESTDIR=$RPM_BUILD_ROOT install
|
|
|
ce739c7 |
|
|
|
ce739c7 |
# Native Fedora package removes this file, so we do the same.
|
|
|
ce739c7 |
rm -f $RPM_BUILD_ROOT/%{_mingw32_libdir}/charset.alias
|
|
|
ce739c7 |
|
|
|
ce739c7 |
# Documentation duplicates what is in the native Fedora package.
|
|
|
ce739c7 |
rm -rf $RPM_BUILD_ROOT/%{_mingw32_datadir}/gtk-doc
|
|
|
ce739c7 |
|
|
|
ce739c7 |
# Remove this file, only used while creating the DLL.
|
|
|
ce739c7 |
# See: https://bugzilla.redhat.com/show_bug.cgi?id=467409#c8
|
|
|
ce739c7 |
rm $RPM_BUILD_ROOT%{_mingw32_libdir}/atk-1.0.def
|
|
|
ce739c7 |
|
|
|
f1b112c |
# The libtool files refer to libintl while they shouldn't
|
|
|
f1b112c |
# Drop this reference manually
|
|
|
f1b112c |
find $RPM_BUILD_ROOT -name \*.la -exec sed -i s@' -lintl'@@ {} \;
|
|
|
f1b112c |
|
|
|
ce739c7 |
%find_lang atk10
|
|
|
ce739c7 |
|
|
|
ce739c7 |
|
|
|
ce739c7 |
%clean
|
|
|
ce739c7 |
rm -rf $RPM_BUILD_ROOT
|
|
|
ce739c7 |
|
|
|
ce739c7 |
|
|
|
ce739c7 |
%files -f atk10.lang
|
|
|
ce739c7 |
%defattr(-,root,root,-)
|
|
|
ce739c7 |
%doc COPYING
|
|
|
ce739c7 |
%{_mingw32_bindir}/libatk-1.0-0.dll
|
|
|
ce739c7 |
%{_mingw32_includedir}/atk-1.0
|
|
|
ce739c7 |
%{_mingw32_libdir}/libatk-1.0.dll.a
|
|
|
ce739c7 |
%{_mingw32_libdir}/libatk-1.0.la
|
|
|
ce739c7 |
%{_mingw32_libdir}/pkgconfig/atk.pc
|
|
|
ce739c7 |
|
|
|
cd5b1f3 |
%files static
|
|
|
cd5b1f3 |
%defattr(-,root,root,-)
|
|
|
cd5b1f3 |
%{_mingw32_libdir}/libatk-1.0.a
|
|
|
ce739c7 |
|
|
|
cd5b1f3 |
|
|
|
ce739c7 |
%changelog
|
|
|
633299a |
* Sun Nov 14 2010 Erik van Pienbroek <epienbro@fedoraproject.org> - 1.32.0-3
|
|
|
633299a |
- Export the AtkHyperlinkImpl functions (required for webkitgtk)
|
|
|
633299a |
|
|
|
f1b112c |
* Sun Nov 7 2010 Erik van Pienbroek <epienbro@fedoraproject.org> - 1.32.0-2
|
|
|
f1b112c |
- Rebuild in order to have soft dependency on libintl
|
|
|
f1b112c |
|
|
|
7978afb |
* Mon Oct 11 2010 Erik van Pienbroek <epienbro@fedoraproject.org> - 1.32.0-1
|
|
|
7978afb |
- Update to 1.32.0
|
|
|
7978afb |
- Drop upstreamed patch
|
|
|
7978afb |
|
|
|
e6d4bd7 |
* Sun Sep 12 2010 Erik van Pienbroek <epienbro@fedoraproject.org> - 1.30.0-2
|
|
|
e6d4bd7 |
- Export the function atk_value_get_minimum_increment (required by GTK 2.21.7)
|
|
|
e6d4bd7 |
|
|
|
e5ccc79 |
* Sun Sep 12 2010 Erik van Pienbroek <epienbro@fedoraproject.org> - 1.30.0-1
|
|
|
e5ccc79 |
- Update to 1.30.0
|
|
|
e5ccc79 |
|
|
|
c205ab3 |
* Wed Dec 2 2009 Erik van Pienbroek <epienbro@fedoraproject.org> - 1.29.3-1
|
|
|
c205ab3 |
- Update to 1.29.3
|
|
|
c205ab3 |
|
|
|
902189c |
* Thu Aug 13 2009 Erik van Pienbroek <epienbro@fedoraproject.org> - 1.27.90-1
|
|
|
902189c |
- Update to 1.27.90
|
|
|
902189c |
- Automatically generate debuginfo subpackage
|
|
|
902189c |
|
|
|
6e8d1f4 |
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.26.0-1
|
|
|
6e8d1f4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
6e8d1f4 |
|
|
|
cd0dfff |
* Wed Jun 10 2009 Erik van Pienbroek <epienbro@fedoraproject.org> - 1.26.0-1
|
|
|
cd0dfff |
- Update to 1.26.0
|
|
|
cd0dfff |
- Use %%global instead of %%define
|
|
|
cd0dfff |
|
|
|
4c7c0a9 |
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.25.2-8
|
|
|
4c7c0a9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
4c7c0a9 |
|
|
|
3199811 |
* Fri Feb 20 2009 Erik van Pienbroek <info@nntpgrab.nl> - 1.25.2-7
|
|
|
cd5b1f3 |
- Added -static subpackage
|
|
|
cd5b1f3 |
- Rebuild for mingw32-gcc 4.4
|
|
|
cd5b1f3 |
|
|
|
ce739c7 |
* Fri Feb 6 2009 Richard W.M. Jones <rjones@redhat.com> - 1.25.2-5
|
|
|
ce739c7 |
- Include license file.
|
|
|
ce739c7 |
|
|
|
ce739c7 |
* Fri Jan 30 2009 Richard W.M. Jones <rjones@redhat.com> - 1.25.2-4
|
|
|
ce739c7 |
- Remove gtk-doc.
|
|
|
ce739c7 |
- Fix defattr line.
|
|
|
ce739c7 |
- Requires pkgconfig.
|
|
|
ce739c7 |
- Remove the atk*.def file.
|
|
|
ce739c7 |
|
|
|
ce739c7 |
* Fri Jan 23 2009 Richard W.M. Jones <rjones@redhat.com> - 1.25.2-1
|
|
|
ce739c7 |
- Rebase to latest Fedora native version 1.25.2.
|
|
|
ce739c7 |
- Use find_lang macro.
|
|
|
ce739c7 |
- Use smp_mflags.
|
|
|
ce739c7 |
- Fix URL.
|
|
|
ce739c7 |
- Fix Source URL.
|
|
|
ce739c7 |
|
|
|
ce739c7 |
* Wed Sep 24 2008 Daniel P. Berrange <berrange@redhat.com> - 1.24.0-2
|
|
|
ce739c7 |
- Rename mingw -> mingw32.
|
|
|
ce739c7 |
|
|
|
ce739c7 |
* Mon Sep 22 2008 Daniel P. Berrange <berrange@redhat.com> - 1.24.0-1
|
|
|
ce739c7 |
- Update to 1.24.0 release
|
|
|
ce739c7 |
|
|
|
ce739c7 |
* Thu Sep 11 2008 Daniel P. Berrange <berrange@redhat.com> - 1.23.5-2
|
|
|
ce739c7 |
- Added dep on pkgconfig and glib2-devel (native)
|
|
|
ce739c7 |
|
|
|
ce739c7 |
* Tue Sep 9 2008 Daniel P. Berrange <berrange@redhat.com> - 1.23.5-1
|
|
|
ce739c7 |
- Initial RPM release
|