2012-08-27 17:06:29 +00:00
|
|
|
%{?mingw_package_header}
|
|
|
|
|
|
|
|
Name: mingw-harfbuzz
|
2013-03-24 17:31:03 +00:00
|
|
|
Version: 0.9.14
|
|
|
|
Release: 1%{?dist}
|
2012-08-27 17:06:29 +00:00
|
|
|
Summary: MinGW Windows Harfbuzz library
|
|
|
|
|
|
|
|
License: MIT
|
|
|
|
Group: Development/Libraries
|
|
|
|
URL: http://www.harfbuzz.org
|
|
|
|
Source0: http://www.freedesktop.org/software/harfbuzz/release/harfbuzz-%{version}.tar.bz2
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
BuildRequires: mingw32-filesystem >= 95
|
|
|
|
BuildRequires: mingw32-gcc
|
|
|
|
BuildRequires: mingw32-glib2
|
|
|
|
BuildRequires: mingw32-freetype
|
|
|
|
BuildRequires: mingw32-cairo
|
|
|
|
BuildRequires: mingw32-icu
|
|
|
|
|
|
|
|
BuildRequires: mingw64-filesystem >= 95
|
|
|
|
BuildRequires: mingw64-gcc
|
|
|
|
BuildRequires: mingw64-glib2
|
|
|
|
BuildRequires: mingw64-freetype
|
|
|
|
BuildRequires: mingw64-cairo
|
|
|
|
BuildRequires: mingw64-icu
|
|
|
|
|
2012-12-24 15:33:09 +00:00
|
|
|
# https://bugs.freedesktop.org/show_bug.cgi?id=55494
|
|
|
|
Patch0: GetProcAddress_Script_OpenType.diff
|
|
|
|
|
|
|
|
# Fix build failure in harfbuzz 0.9.9. Is related to the bug above
|
|
|
|
Patch1: harfbuzz-0.9.9-fix-build-failure.patch
|
|
|
|
|
2012-08-27 17:06:29 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
HarfBuzz is an implementation of the OpenType Layout engine.
|
|
|
|
|
|
|
|
|
|
|
|
# Win32
|
|
|
|
%package -n mingw32-harfbuzz
|
|
|
|
Summary: MinGW Windows Harfbuzz library
|
|
|
|
Requires: pkgconfig
|
|
|
|
|
|
|
|
%description -n mingw32-harfbuzz
|
|
|
|
HarfBuzz is an implementation of the OpenType Layout engine.
|
|
|
|
|
|
|
|
%package -n mingw32-harfbuzz-static
|
|
|
|
Summary: Static version of the MinGW Windows Harfbuzz library
|
|
|
|
Requires: mingw32-harfbuzz = %{version}-%{release}
|
|
|
|
|
|
|
|
%description -n mingw32-harfbuzz-static
|
|
|
|
Static version of the MinGW Windows Harfbuzz library.
|
|
|
|
|
|
|
|
# Win64
|
|
|
|
%package -n mingw64-harfbuzz
|
|
|
|
Summary: MinGW Windows Harfbuzz library
|
|
|
|
Requires: pkgconfig
|
|
|
|
|
|
|
|
%description -n mingw64-harfbuzz
|
|
|
|
HarfBuzz is an implementation of the OpenType Layout engine.
|
|
|
|
|
|
|
|
%package -n mingw64-harfbuzz-static
|
|
|
|
Summary: Static version of the MinGW Windows Harfbuzz library
|
|
|
|
Requires: mingw64-harfbuzz = %{version}-%{release}
|
|
|
|
|
|
|
|
%description -n mingw64-harfbuzz-static
|
|
|
|
Static version of the MinGW Windows Harfbuzz library.
|
|
|
|
|
|
|
|
|
|
|
|
%{?mingw_debug_package}
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n harfbuzz-%{version}
|
2012-12-24 15:33:09 +00:00
|
|
|
%patch0 -p1
|
|
|
|
%patch1 -p1
|
2012-08-27 17:06:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%mingw_configure --enable-shared --enable-static
|
|
|
|
%mingw_make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%mingw_make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
# Drop all .la files
|
|
|
|
find $RPM_BUILD_ROOT -name "*.la" -delete
|
|
|
|
|
|
|
|
|
|
|
|
# Win32
|
|
|
|
%files -n mingw32-harfbuzz
|
|
|
|
%doc COPYING
|
|
|
|
%{mingw32_bindir}/hb-ot-shape-closure.exe
|
|
|
|
%{mingw32_bindir}/hb-shape.exe
|
|
|
|
%{mingw32_bindir}/hb-view.exe
|
|
|
|
%{mingw32_bindir}/libharfbuzz-0.dll
|
|
|
|
%{mingw32_includedir}/harfbuzz/
|
|
|
|
%{mingw32_libdir}/libharfbuzz.dll.a
|
|
|
|
%{mingw32_libdir}/pkgconfig/harfbuzz.pc
|
|
|
|
|
|
|
|
%files -n mingw32-harfbuzz-static
|
|
|
|
%{mingw32_libdir}/libharfbuzz.a
|
|
|
|
|
|
|
|
# Win64
|
|
|
|
%files -n mingw64-harfbuzz
|
|
|
|
%doc COPYING
|
|
|
|
%{mingw64_bindir}/hb-ot-shape-closure.exe
|
|
|
|
%{mingw64_bindir}/hb-shape.exe
|
|
|
|
%{mingw64_bindir}/hb-view.exe
|
|
|
|
%{mingw64_bindir}/libharfbuzz-0.dll
|
|
|
|
%{mingw64_includedir}/harfbuzz/
|
|
|
|
%{mingw64_libdir}/libharfbuzz.dll.a
|
|
|
|
%{mingw64_libdir}/pkgconfig/harfbuzz.pc
|
|
|
|
|
|
|
|
%files -n mingw64-harfbuzz-static
|
|
|
|
%{mingw64_libdir}/libharfbuzz.a
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2013-03-24 17:31:03 +00:00
|
|
|
* Sun Mar 24 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 0.9.14-1
|
|
|
|
- Update to 0.9.14
|
|
|
|
|
2013-01-27 18:19:56 +00:00
|
|
|
* Sun Jan 27 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 0.9.9-3
|
|
|
|
- Rebuild against mingw-gcc 4.8 (win64 uses SEH exceptions now)
|
|
|
|
|
2013-01-02 23:50:53 +00:00
|
|
|
* Wed Jan 02 2013 Erik van Pienbroek <erik-fedora@vanpienbroek.nl> - 0.9.9-2
|
|
|
|
- Rebuilt against mingw-icu 49
|
|
|
|
|
2012-12-24 15:33:09 +00:00
|
|
|
* Mon Dec 24 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 0.9.9-1
|
|
|
|
- Update to 0.9.9
|
|
|
|
- Fix compatibility with WinXP (FreeDesktop Bug #55494)
|
|
|
|
|
2012-11-21 20:20:40 +00:00
|
|
|
* Wed Nov 21 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 0.9.7-1
|
|
|
|
- Update to 0.9.7
|
|
|
|
|
2012-08-27 17:06:29 +00:00
|
|
|
* Sun Aug 26 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 0.9.3-1
|
|
|
|
- Initial release
|
|
|
|
|