|
|
bf587f3 |
%{?mingw_package_header}
|
|
|
bc3685d |
|
|
|
dda20b5 |
Name: mingw-freetype
|
|
|
4166969 |
# NOTE See comment for Patch2 below
|
|
|
4b7de7f |
Version: 2.10.4
|
|
|
5365c12 |
Release: 2%{?dist}
|
|
|
bc3685d |
Summary: Free and portable font rendering engine
|
|
|
bc3685d |
|
|
|
bc3685d |
License: FTL or GPLv2+
|
|
|
bc3685d |
URL: http://www.freetype.org
|
|
|
bb5781f |
Source0: http://download.savannah.gnu.org/releases/freetype/freetype-%{version}.tar.xz
|
|
|
bc3685d |
|
|
|
e6a9c1d |
# Patches from native Fedora package:
|
|
|
e6a9c1d |
|
|
|
e6a9c1d |
# Enable subpixel rendering (ClearType)
|
|
|
a276c5e |
Patch0: freetype-2.3.0-enable-spr.patch
|
|
|
a276c5e |
# Enable otvalid and gxvalid modules
|
|
|
a276c5e |
Patch1: freetype-2.2.1-enable-valid.patch
|
|
|
4166969 |
# Re-add symbol downstream for ABI compatibility only. Remove once soname has been bumped from -6.
|
|
|
4166969 |
Patch2: freetype-2.10.0-internal-outline.patch
|
|
|
bc3685d |
|
|
|
bc3685d |
BuildArch: noarch
|
|
|
bc3685d |
|
|
|
62e0534 |
BuildRequires: make
|
|
|
7b99600 |
BuildRequires: mingw32-filesystem >= 95
|
|
|
bc3685d |
BuildRequires: mingw32-gcc
|
|
|
bc3685d |
BuildRequires: mingw32-binutils
|
|
|
bc3685d |
BuildRequires: mingw32-zlib
|
|
|
bf587f3 |
BuildRequires: mingw32-bzip2
|
|
|
11facb9 |
BuildRequires: mingw32-libpng
|
|
|
7b99600 |
|
|
|
7b99600 |
BuildRequires: mingw64-filesystem >= 95
|
|
|
7b99600 |
BuildRequires: mingw64-gcc
|
|
|
7b99600 |
BuildRequires: mingw64-binutils
|
|
|
7b99600 |
BuildRequires: mingw64-zlib
|
|
|
bf587f3 |
BuildRequires: mingw64-bzip2
|
|
|
11facb9 |
BuildRequires: mingw64-libpng
|
|
|
7b99600 |
|
|
|
082b180 |
BuildRequires: gcc
|
|
|
bc3685d |
|
|
|
bc3685d |
%description
|
|
|
bc3685d |
MinGW Windows Freetype library.
|
|
|
bc3685d |
|
|
|
7b99600 |
# Win32
|
|
|
dda20b5 |
%package -n mingw32-freetype
|
|
|
7b99600 |
Summary: Free and portable font rendering engine
|
|
|
dda20b5 |
|
|
|
dda20b5 |
%description -n mingw32-freetype
|
|
|
dda20b5 |
MinGW Windows Freetype library.
|
|
|
dda20b5 |
|
|
|
a9adc1d |
%package -n mingw32-freetype-static
|
|
|
a9adc1d |
Summary: Static version of the MinGW Windows Freetype library
|
|
|
a9adc1d |
Requires: mingw32-freetype = %{version}-%{release}
|
|
|
a9adc1d |
|
|
|
a9adc1d |
%description -n mingw32-freetype-static
|
|
|
a9adc1d |
Static version of the MinGW Windows Freetype library.
|
|
|
a9adc1d |
|
|
|
7b99600 |
# Win64
|
|
|
7b99600 |
%package -n mingw64-freetype
|
|
|
7b99600 |
Summary: Free and portable font rendering engine
|
|
|
7b99600 |
|
|
|
7b99600 |
%description -n mingw64-freetype
|
|
|
7b99600 |
MinGW Windows Freetype library.
|
|
|
7b99600 |
|
|
|
a9adc1d |
%package -n mingw64-freetype-static
|
|
|
a9adc1d |
Summary: Static version of the MinGW Windows Freetype library
|
|
|
a9adc1d |
Requires: mingw64-freetype = %{version}-%{release}
|
|
|
a9adc1d |
|
|
|
a9adc1d |
%description -n mingw64-freetype-static
|
|
|
a9adc1d |
Static version of the MinGW Windows Freetype library.
|
|
|
a9adc1d |
|
|
|
bc3685d |
|
|
|
4166969 |
%{?mingw_debug_package}
|
|
|
9228ce7 |
|
|
|
9228ce7 |
|
|
|
bc3685d |
%prep
|
|
|
4166969 |
%autosetup -p1 -n freetype-%{version}
|
|
|
bc3685d |
|
|
|
bc3685d |
|
|
|
bc3685d |
%build
|
|
|
e6a9c1d |
%mingw_configure \
|
|
|
e6a9c1d |
--enable-static \
|
|
|
e6a9c1d |
--enable-shared \
|
|
|
e6a9c1d |
--with-zlib=yes \
|
|
|
e6a9c1d |
--with-bzip2=yes \
|
|
|
e6a9c1d |
--with-png=yes \
|
|
|
e6a9c1d |
--enable-freetype-config \
|
|
|
e6a9c1d |
--with-harfbuzz=no
|
|
|
e6a9c1d |
|
|
|
c4f0581 |
%mingw_make_build
|
|
|
bc3685d |
|
|
|
bc3685d |
# The ft2demos Makefile is hacky and doesn't understand
|
|
|
bc3685d |
# cross-compilation. This nearly works, but not quite, so
|
|
|
bc3685d |
# disable. it.
|
|
|
bc3685d |
#pushd ft2demos-%{version}
|
|
|
bc3685d |
#make TOP_DIR=".." PLATFORM=win32
|
|
|
bc3685d |
#popd
|
|
|
bc3685d |
|
|
|
bc3685d |
|
|
|
bc3685d |
%install
|
|
|
f029b33 |
%mingw_make_install
|
|
|
7b99600 |
|
|
|
7b99600 |
# Drop all .la files
|
|
|
f029b33 |
find %{buildroot} -name "*.la" -delete
|
|
|
bc3685d |
|
|
|
217b13b |
# Remove redundent man pages
|
|
|
f029b33 |
rm -rf %{buildroot}%{mingw32_mandir} %{buildroot}%{mingw64_mandir}
|
|
|
217b13b |
|
|
|
bc3685d |
|
|
|
dda20b5 |
%files -n mingw32-freetype
|
|
|
4a4b1d4 |
%license docs/LICENSE.TXT
|
|
|
b5de179 |
%{mingw32_bindir}/freetype-config
|
|
|
b5de179 |
%{mingw32_bindir}/libfreetype-6.dll
|
|
|
b5de179 |
%{mingw32_includedir}/freetype2
|
|
|
b5de179 |
%{mingw32_libdir}/libfreetype.dll.a
|
|
|
b5de179 |
%{mingw32_libdir}/pkgconfig/freetype2.pc
|
|
|
b5de179 |
%{mingw32_datadir}/aclocal/freetype2.m4
|
|
|
bc3685d |
|
|
|
a9adc1d |
%files -n mingw32-freetype-static
|
|
|
a9adc1d |
%{mingw32_libdir}/libfreetype.a
|
|
|
a9adc1d |
|
|
|
7b99600 |
%files -n mingw64-freetype
|
|
|
4a4b1d4 |
%license docs/LICENSE.TXT
|
|
|
7b99600 |
%{mingw64_bindir}/freetype-config
|
|
|
7b99600 |
%{mingw64_bindir}/libfreetype-6.dll
|
|
|
7b99600 |
%{mingw64_includedir}/freetype2
|
|
|
7b99600 |
%{mingw64_libdir}/libfreetype.dll.a
|
|
|
7b99600 |
%{mingw64_libdir}/pkgconfig/freetype2.pc
|
|
|
7b99600 |
%{mingw64_datadir}/aclocal/freetype2.m4
|
|
|
7b99600 |
|
|
|
a9adc1d |
%files -n mingw64-freetype-static
|
|
|
a9adc1d |
%{mingw64_libdir}/libfreetype.a
|
|
|
a9adc1d |
|
|
|
bc3685d |
|
|
|
bc3685d |
%changelog
|
|
|
5365c12 |
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.4-2
|
|
|
5365c12 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
5365c12 |
|
|
|
4b7de7f |
* Fri Oct 23 2020 Sandro Mani <manisandro@gmail.com> - 2.10.4-1
|
|
|
4b7de7f |
- Update to 2.10.4
|
|
|
4b7de7f |
|
|
|
9db03a5 |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.2-2
|
|
|
9db03a5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
9db03a5 |
|
|
|
59202b2 |
* Sat Jul 18 2020 Sandro Mani <manisandro@gmail.coM> - 2.10.2-1
|
|
|
59202b2 |
- Update to 2.10.2
|
|
|
59202b2 |
|
|
|
bb5781f |
* Fri Feb 07 2020 Sandro Mani <manisandro@gmail.com> - 2.10.1-1
|
|
|
bb5781f |
- Update to 2.10.1
|
|
|
bb5781f |
|
|
|
fd03d9a |
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.0-2
|
|
|
fd03d9a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
fd03d9a |
|
|
|
4166969 |
* Fri Aug 30 2019 Sandro Mani <manisandro@gmail.com> - 2.10.0-1
|
|
|
4166969 |
- Update to 2.10.0
|
|
|
4166969 |
|
|
|
ae38c61 |
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.1-3
|
|
|
ae38c61 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
ae38c61 |
|
|
|
9132989 |
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.1-2
|
|
|
9132989 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
9132989 |
|
|
|
e6a9c1d |
* Thu Nov 01 2018 Kalev Lember <klember@redhat.com> - 2.9.1-1
|
|
|
e6a9c1d |
- Update to 2.9.1
|
|
|
e6a9c1d |
- Sync patches with the native package
|
|
|
e6a9c1d |
- Enable ClearType code thanks to Microsoft joining OIN
|
|
|
e6a9c1d |
|
|
|
dba4a80 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.8-3
|
|
|
dba4a80 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
dba4a80 |
|
|
|
3fa169e |
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.8-2
|
|
|
3fa169e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
3fa169e |
|
|
|
5c055cf |
* Sun Oct 15 2017 Kalev Lember <klember@redhat.com> - 2.8-1
|
|
|
5c055cf |
- Update to 2.8
|
|
|
a276c5e |
- Sync patches with the native package
|
|
|
5c055cf |
|
|
|
2a413ad |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.1-2
|
|
|
2a413ad |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
2a413ad |
|
|
|
f4fedea |
* Tue Jun 20 2017 Kalev Lember <klember@redhat.com> - 2.7.1-1
|
|
|
f4fedea |
- Update to 2.7.1
|
|
|
f4fedea |
|
|
|
aee2213 |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.7-2
|
|
|
aee2213 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
aee2213 |
|
|
|
fd311b8 |
* Sun Oct 16 2016 Kalev Lember <klember@redhat.com> - 2.7-1
|
|
|
fd311b8 |
- Update to 2.7
|
|
|
fd311b8 |
- Sync patches with the native package
|
|
|
fd311b8 |
|
|
|
b133b23 |
* Mon Sep 05 2016 Kalev Lember <klember@redhat.com> - 2.6.5-1
|
|
|
b133b23 |
- Update to 2.6.5
|
|
|
6228b63 |
- Don't set group tags
|
|
|
b133b23 |
|
|
|
79ca562 |
* Tue May 03 2016 Kalev Lember <klember@redhat.com> - 2.6.3-1
|
|
|
79ca562 |
- Update to 2.6.3
|
|
|
79ca562 |
- Sync patches with the native package
|
|
|
79ca562 |
|
|
|
664c851 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.6-2
|
|
|
664c851 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
664c851 |
|
|
|
7071176 |
* Sun Aug 23 2015 Kalev Lember <klember@redhat.com> - 2.6-1
|
|
|
7071176 |
- Update to 2.6
|
|
|
7071176 |
- Sync patches with the native package
|
|
|
4a4b1d4 |
- Use license macro for license files
|
|
|
7071176 |
|
|
|
212ca6b |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.4-2
|
|
|
212ca6b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
212ca6b |
|
|
|
1b5a238 |
* Tue Dec 23 2014 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.5.4-1
|
|
|
1b5a238 |
- Update to 2.5.4
|
|
|
1b5a238 |
- Fixes RHBZ #1172635
|
|
|
1b5a238 |
|
|
|
e994213 |
* Thu Jul 10 2014 Nicola Fontana <ntd@entidi.it> - 2.5.3-3
|
|
|
e994213 |
- Update subpixel rendering patch to 2.5.3 (RHBZ #1118276)
|
|
|
e994213 |
|
|
|
dc421da |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.3-2
|
|
|
dc421da |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
dc421da |
|
|
|
217b13b |
* Thu May 29 2014 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.5.3-1
|
|
|
217b13b |
- Update to 2.5.3
|
|
|
217b13b |
|
|
|
eeb7f85 |
* Sat Sep 7 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.5.0.1-1
|
|
|
eeb7f85 |
- Update to 2.5.0.1
|
|
|
11facb9 |
- Added BR: mingw32-libpng mingw64-libpng
|
|
|
eeb7f85 |
|
|
|
5c66cb4 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.12-2
|
|
|
5c66cb4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
5c66cb4 |
|
|
|
d74a12b |
* Sat Jun 15 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.4.12-1
|
|
|
d74a12b |
- Update to 2.4.12
|
|
|
d74a12b |
|
|
|
11eee60 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.11-2
|
|
|
11eee60 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
11eee60 |
|
|
|
88b62ee |
* Wed Jan 16 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.4.11-1
|
|
|
88b62ee |
- Update to 2.4.11
|
|
|
88b62ee |
- Removed unused source tags
|
|
|
88b62ee |
|
|
|
a9adc1d |
* Wed Oct 24 2012 Nicola Fontana <ntd@entidi.it> - 2.4.10-2
|
|
|
a9adc1d |
- Added static subpackage
|
|
|
a9adc1d |
|
|
|
c037fcf |
* Sun Oct 07 2012 Kalev Lember <kalevlember@gmail.com> - 2.4.10-1
|
|
|
c037fcf |
- Update to 2.4.10
|
|
|
c037fcf |
|
|
|
63c0e04 |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.9-2
|
|
|
63c0e04 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
63c0e04 |
|
|
|
bf587f3 |
* Sun Jun 03 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.4.9-1
|
|
|
bf587f3 |
- Update to 2.4.9
|
|
|
bf587f3 |
- Added BR: mingw32-bzip2 mingw64-bzip2
|
|
|
bf587f3 |
|
|
|
7b99600 |
* Sat Mar 10 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.4.8-5
|
|
|
7b99600 |
- Added win64 support
|
|
|
7b99600 |
|
|
|
138c31d |
* Fri Mar 09 2012 Kalev Lember <kalevlember@gmail.com> - 2.4.8-4
|
|
|
138c31d |
- Remove .la files
|
|
|
138c31d |
|
|
|
dda20b5 |
* Tue Mar 06 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.4.8-3
|
|
|
dda20b5 |
- Renamed the source package to mingw-freetype (RHBZ #800380)
|
|
|
b5de179 |
- Use mingw macros without leading underscore
|
|
|
dda20b5 |
|
|
|
5fb7a93 |
* Mon Feb 27 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.4.8-2
|
|
|
5fb7a93 |
- Rebuild against the mingw-w64 toolchain
|
|
|
5fb7a93 |
|
|
|
63590df |
* Mon Jan 30 2012 Kalev Lember <kalevlember@gmail.com> - 2.4.8-1
|
|
|
63590df |
- Update to 2.4.8
|
|
|
63590df |
|
|
|
a3309a3 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.6-2
|
|
|
a3309a3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
a3309a3 |
|
|
|
4cd6310 |
* Sun Aug 07 2011 Kalev Lember <kalevlember@gmail.com> - 2.4.6-1
|
|
|
4cd6310 |
- Update to 2.4.6
|
|
|
4cd6310 |
|
|
|
699e4cb |
* Sat Jul 30 2011 Kalev Lember <kalevlember@gmail.com> - 2.4.5-1
|
|
|
699e4cb |
- Update to 2.4.5
|
|
|
699e4cb |
- Synced patches with Fedora native freetype 2.4.5-2
|
|
|
9228ce7 |
- Spec cleanup
|
|
|
9228ce7 |
- Enable automatic mingw dep extraction
|
|
|
9228ce7 |
- Create -debuginfo subpackage
|
|
|
699e4cb |
|
|
|
6adcb00 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.11-2
|
|
|
6adcb00 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
6adcb00 |
|
|
|
caaab4f |
* Tue Jan 12 2010 Richard W.M. Jones <rjones@redhat.com> - 2.3.11-1
|
|
|
caaab4f |
- New upstream version 2.3.11.
|
|
|
caaab4f |
- Match patches from Fedora native version.
|
|
|
caaab4f |
- Recheck package with rpmlint.
|
|
|
caaab4f |
|
|
|
dff443b |
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.8-4
|
|
|
dff443b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
dff443b |
|
|
|
b6eb3ff |
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.8-3
|
|
|
b6eb3ff |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
b6eb3ff |
|
|
|
23757b5 |
* Fri Feb 20 2009 Richard W.M. Jones <rjones@redhat.com> - 2.3.8-2
|
|
|
23757b5 |
- Rebuild for mingw32-gcc 4.4
|
|
|
23757b5 |
|
|
|
bc3685d |
* Fri Jan 16 2009 Richard W.M. Jones <rjones@redhat.com> - 2.3.8-1
|
|
|
bc3685d |
- New upstream version 2.3.8.
|
|
|
bc3685d |
- Use the patches from the Fedora native package.
|
|
|
bc3685d |
- Disable patented code.
|
|
|
bc3685d |
- Don't build the static library.
|
|
|
bc3685d |
- Use _smp_mflags.
|
|
|
bc3685d |
- BR mingw32-dlfcn (not required, but uses it if installed).
|
|
|
bc3685d |
- Add license file to doc section.
|
|
|
bc3685d |
|
|
|
bc3685d |
* Tue Jan 13 2009 Richard W.M. Jones <rjones@redhat.com> - 2.3.7-6
|
|
|
bc3685d |
- Requires pkgconfig.
|
|
|
bc3685d |
|
|
|
bc3685d |
* Wed Sep 24 2008 Richard W.M. Jones <rjones@redhat.com> - 2.3.7-5
|
|
|
bc3685d |
- Rename mingw -> mingw32.
|
|
|
bc3685d |
|
|
|
bc3685d |
* Mon Sep 22 2008 Daniel P. Berrange <berrange@redhat.com> - 2.3.7-4
|
|
|
bc3685d |
- Import patches from rawhide & add docs
|
|
|
bc3685d |
|
|
|
bc3685d |
* Sun Sep 21 2008 Richard W.M. Jones <rjones@redhat.com> - 2.3.7-3
|
|
|
bc3685d |
- Depends on filesystem >= 25.
|
|
|
bc3685d |
|
|
|
bc3685d |
* Wed Sep 10 2008 Richard W.M. Jones <rjones@redhat.com> - 2.3.7-2
|
|
|
bc3685d |
- Fix source URL.
|
|
|
bc3685d |
- Remove static libraries.
|
|
|
bc3685d |
|
|
|
bc3685d |
* Tue Sep 9 2008 Daniel P. Berrange <berrange@redhat.com> - 2.3.7-1
|
|
|
bc3685d |
- Initial RPM release
|