|
|
bf587f3 |
%{?mingw_package_header}
|
|
|
bc3685d |
|
|
|
699e4cb |
# Patented subpixel rendering disabled by default.
|
|
|
699e4cb |
# Pass '--with subpixel_rendering' on rpmbuild command-line to enable.
|
|
|
bc3685d |
%{!?_with_subpixel_rendering: %{!?_without_subpixel_rendering: %define _without_subpixel_rendering --without-subpixel_rendering}}
|
|
|
bc3685d |
|
|
|
dda20b5 |
Name: mingw-freetype
|
|
|
1b5a238 |
Version: 2.5.4
|
|
|
212ca6b |
Release: 2%{?dist}
|
|
|
bc3685d |
Summary: Free and portable font rendering engine
|
|
|
bc3685d |
|
|
|
bc3685d |
License: FTL or GPLv2+
|
|
|
bc3685d |
URL: http://www.freetype.org
|
|
|
699e4cb |
Source0: http://download.savannah.gnu.org/releases/freetype/freetype-%{version}.tar.bz2
|
|
|
bc3685d |
Group: Development/Libraries
|
|
|
bc3685d |
|
|
|
bc3685d |
# Patches from native Fedora package.
|
|
|
e994213 |
Patch21: freetype-2.5.3-enable-spr.patch
|
|
|
bc3685d |
Patch46: freetype-2.2.1-enable-valid.patch
|
|
|
caaab4f |
#Patch47: freetype-2.3.11-more-demos.patch
|
|
|
bc3685d |
|
|
|
bc3685d |
BuildArch: noarch
|
|
|
bc3685d |
|
|
|
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 |
|
|
|
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 |
Group: Development/Libraries
|
|
|
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 |
Group: Development/Libraries
|
|
|
a9adc1d |
|
|
|
a9adc1d |
%description -n mingw64-freetype-static
|
|
|
a9adc1d |
Static version of the MinGW Windows Freetype library.
|
|
|
a9adc1d |
|
|
|
bc3685d |
|
|
|
7b99600 |
%?mingw_debug_package
|
|
|
9228ce7 |
|
|
|
9228ce7 |
|
|
|
bc3685d |
%prep
|
|
|
88b62ee |
%setup -q -n freetype-%{version}
|
|
|
bc3685d |
|
|
|
bc3685d |
%if %{?_with_subpixel_rendering:1}%{!?_with_subpixel_rendering:0}
|
|
|
bc3685d |
%patch21 -p1 -b .enable-spr
|
|
|
bc3685d |
%endif
|
|
|
bc3685d |
|
|
|
bc3685d |
%patch46 -p1 -b .enable-valid
|
|
|
caaab4f |
#%patch47 -p1 -b .more-demos
|
|
|
bc3685d |
|
|
|
bc3685d |
|
|
|
bc3685d |
%build
|
|
|
a9adc1d |
%mingw_configure --enable-static --enable-shared
|
|
|
7b99600 |
%mingw_make %{?_smp_mflags}
|
|
|
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
|
|
|
c037fcf |
%mingw_make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
7b99600 |
|
|
|
7b99600 |
# Drop all .la files
|
|
|
7b99600 |
find $RPM_BUILD_ROOT -name "*.la" -delete
|
|
|
bc3685d |
|
|
|
217b13b |
# Remove redundent man pages
|
|
|
217b13b |
rm -rf $RPM_BUILD_ROOT%{mingw32_mandir} $RPM_BUILD_ROOT%{mingw64_mandir}
|
|
|
217b13b |
|
|
|
bc3685d |
|
|
|
dda20b5 |
%files -n mingw32-freetype
|
|
|
bc3685d |
%doc 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
|
|
|
7b99600 |
%doc 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
|
|
|
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
|