Blame SPECS/mingw-freetype.spec

689293
%{?mingw_package_header}
689293
689293
# Patented subpixel rendering disabled by default.
689293
# Pass '--with subpixel_rendering' on rpmbuild command-line to enable.
689293
%{!?_with_subpixel_rendering: %{!?_without_subpixel_rendering: %define _without_subpixel_rendering --without-subpixel_rendering}}
689293
689293
Name:           mingw-freetype
689293
Version:        2.8
689293
Release:        3%{?dist}
689293
Summary:        Free and portable font rendering engine
689293
689293
License:        FTL or GPLv2+
689293
URL:            http://www.freetype.org
689293
Source0:        http://download.savannah.gnu.org/releases/freetype/freetype-%{version}.tar.bz2
689293
689293
# Patches from native Fedora package.
689293
Patch0:         freetype-2.3.0-enable-spr.patch
689293
# Enable otvalid and gxvalid modules
689293
Patch1:         freetype-2.2.1-enable-valid.patch
689293
# Enable additional demos
689293
#Patch2:        freetype-2.5.2-more-demos.patch
689293
Patch3:         freetype-2.6.5-libtool.patch
689293
Patch4:         freetype-2.8-pcf-encoding.patch
689293
Patch5:         freetype-2.8-loop-counter.patch
689293
Patch6:         0077-truetype-Fix-loading-of-named-instances.patch
689293
Patch7:         0079-src-truetype-ttgxvar.c-TT_Get_MM_Var-Fix-thinko.patch
689293
Patch8:         freetype-2.8-multilib.patch
689293
689293
BuildArch:      noarch
689293
ExclusiveArch:  %{ix86} x86_64
689293
689293
BuildRequires:  mingw32-filesystem >= 95
689293
BuildRequires:  mingw32-gcc
689293
BuildRequires:  mingw32-binutils
689293
BuildRequires:  mingw32-zlib
689293
BuildRequires:  mingw32-bzip2
689293
BuildRequires:  mingw32-libpng
689293
689293
BuildRequires:  mingw64-filesystem >= 95
689293
BuildRequires:  mingw64-gcc
689293
BuildRequires:  mingw64-binutils
689293
BuildRequires:  mingw64-zlib
689293
BuildRequires:  mingw64-bzip2
689293
BuildRequires:  mingw64-libpng
689293
689293
689293
%description
689293
MinGW Windows Freetype library.
689293
689293
# Win32
689293
%package -n mingw32-freetype
689293
Summary:        Free and portable font rendering engine
689293
689293
%description -n mingw32-freetype
689293
MinGW Windows Freetype library.
689293
689293
%package -n mingw32-freetype-static
689293
Summary:        Static version of the MinGW Windows Freetype library
689293
Requires:       mingw32-freetype = %{version}-%{release}
689293
689293
%description -n mingw32-freetype-static
689293
Static version of the MinGW Windows Freetype library.
689293
689293
# Win64
689293
%package -n mingw64-freetype
689293
Summary:        Free and portable font rendering engine
689293
689293
%description -n mingw64-freetype
689293
MinGW Windows Freetype library.
689293
689293
%package -n mingw64-freetype-static
689293
Summary:        Static version of the MinGW Windows Freetype library
689293
Requires:       mingw64-freetype = %{version}-%{release}
689293
689293
%description -n mingw64-freetype-static
689293
Static version of the MinGW Windows Freetype library.
689293
689293
689293
%?mingw_debug_package
689293
689293
689293
%prep
689293
%setup -q -n freetype-%{version}
689293
689293
%if %{?_with_subpixel_rendering:1}%{!?_with_subpixel_rendering:0}
689293
%patch0  -p1 -b .enable-spr
689293
%endif
689293
689293
%patch1  -p1 -b .enable-valid
689293
689293
#pushd ft2demos-%{version}
689293
#%patch2  -p1 -b .more-demos
689293
#popd
689293
689293
%patch3 -p1 -b .libtool
689293
%patch4 -p1 -b .pcf-encoding
689293
%patch5 -p1 -b .loop-counter
689293
%patch6 -p1 -b .named-instances
689293
%patch7 -p1 -b .named-instances2
689293
%patch8 -p1 -b .multilib
689293
689293
689293
%build
689293
%mingw_configure --enable-static --enable-shared
689293
%mingw_make %{?_smp_mflags}
689293
689293
# The ft2demos Makefile is hacky and doesn't understand
689293
# cross-compilation.  This nearly works, but not quite, so
689293
# disable. it.
689293
#pushd ft2demos-%{version}
689293
#make TOP_DIR=".." PLATFORM=win32
689293
#popd
689293
689293
689293
%install
689293
%mingw_make install DESTDIR=$RPM_BUILD_ROOT
689293
689293
# Drop all .la files
689293
find $RPM_BUILD_ROOT -name "*.la" -delete
689293
689293
# Remove redundent man pages
689293
rm -rf $RPM_BUILD_ROOT%{mingw32_mandir} $RPM_BUILD_ROOT%{mingw64_mandir}
689293
689293
689293
%files -n mingw32-freetype
689293
%license docs/LICENSE.TXT
689293
%{mingw32_bindir}/freetype-config
689293
%{mingw32_bindir}/libfreetype-6.dll
689293
%{mingw32_includedir}/freetype2
689293
%{mingw32_libdir}/libfreetype.dll.a
689293
%{mingw32_libdir}/pkgconfig/freetype2.pc
689293
%{mingw32_datadir}/aclocal/freetype2.m4
689293
689293
%files -n mingw32-freetype-static
689293
%{mingw32_libdir}/libfreetype.a
689293
689293
%files -n mingw64-freetype
689293
%license docs/LICENSE.TXT
689293
%{mingw64_bindir}/freetype-config
689293
%{mingw64_bindir}/libfreetype-6.dll
689293
%{mingw64_includedir}/freetype2
689293
%{mingw64_libdir}/libfreetype.dll.a
689293
%{mingw64_libdir}/pkgconfig/freetype2.pc
689293
%{mingw64_datadir}/aclocal/freetype2.m4
689293
689293
%files -n mingw64-freetype-static
689293
%{mingw64_libdir}/libfreetype.a
689293
689293
689293
%changelog
689293
* Thu Aug 16 2018 Snir Sheriber <ssheribe@redhat.com> - 2.8-3
689293
- ExclusiveArch: i686, x86_64
689293
  Related: rhbz#1615874
689293
689293
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.8-2
689293
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
689293
689293
* Sun Oct 15 2017 Kalev Lember <klember@redhat.com> - 2.8-1
689293
- Update to 2.8
689293
- Sync patches with the native package
689293
689293
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.1-2
689293
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
689293
689293
* Tue Jun 20 2017 Kalev Lember <klember@redhat.com> - 2.7.1-1
689293
- Update to 2.7.1
689293
689293
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.7-2
689293
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
689293
689293
* Sun Oct 16 2016 Kalev Lember <klember@redhat.com> - 2.7-1
689293
- Update to 2.7
689293
- Sync patches with the native package
689293
689293
* Mon Sep 05 2016 Kalev Lember <klember@redhat.com> - 2.6.5-1
689293
- Update to 2.6.5
689293
- Don't set group tags
689293
689293
* Tue May 03 2016 Kalev Lember <klember@redhat.com> - 2.6.3-1
689293
- Update to 2.6.3
689293
- Sync patches with the native package
689293
689293
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.6-2
689293
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
689293
689293
* Sun Aug 23 2015 Kalev Lember <klember@redhat.com> - 2.6-1
689293
- Update to 2.6
689293
- Sync patches with the native package
689293
- Use license macro for license files
689293
689293
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.4-2
689293
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
689293
689293
* Tue Dec 23 2014 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.5.4-1
689293
- Update to 2.5.4
689293
- Fixes RHBZ #1172635
689293
689293
* Thu Jul 10 2014 Nicola Fontana <ntd@entidi.it> - 2.5.3-3
689293
- Update subpixel rendering patch to 2.5.3 (RHBZ #1118276)
689293
689293
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.3-2
689293
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
689293
689293
* Thu May 29 2014 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.5.3-1
689293
- Update to 2.5.3
689293
689293
* Sat Sep  7 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.5.0.1-1
689293
- Update to 2.5.0.1
689293
- Added BR: mingw32-libpng mingw64-libpng
689293
689293
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.12-2
689293
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
689293
689293
* Sat Jun 15 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.4.12-1
689293
- Update to 2.4.12
689293
689293
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.11-2
689293
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
689293
689293
* Wed Jan 16 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.4.11-1
689293
- Update to 2.4.11
689293
- Removed unused source tags
689293
689293
* Wed Oct 24 2012 Nicola Fontana <ntd@entidi.it> - 2.4.10-2
689293
- Added static subpackage
689293
689293
* Sun Oct 07 2012 Kalev Lember <kalevlember@gmail.com> - 2.4.10-1
689293
- Update to 2.4.10
689293
689293
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.9-2
689293
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
689293
689293
* Sun Jun 03 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.4.9-1
689293
- Update to 2.4.9
689293
- Added BR: mingw32-bzip2 mingw64-bzip2
689293
689293
* Sat Mar 10 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.4.8-5
689293
- Added win64 support
689293
689293
* Fri Mar 09 2012 Kalev Lember <kalevlember@gmail.com> - 2.4.8-4
689293
- Remove .la files
689293
689293
* Tue Mar 06 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.4.8-3
689293
- Renamed the source package to mingw-freetype (RHBZ #800380)
689293
- Use mingw macros without leading underscore
689293
689293
* Mon Feb 27 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.4.8-2
689293
- Rebuild against the mingw-w64 toolchain
689293
689293
* Mon Jan 30 2012 Kalev Lember <kalevlember@gmail.com> - 2.4.8-1
689293
- Update to 2.4.8
689293
689293
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.6-2
689293
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
689293
689293
* Sun Aug 07 2011 Kalev Lember <kalevlember@gmail.com> - 2.4.6-1
689293
- Update to 2.4.6
689293
689293
* Sat Jul 30 2011 Kalev Lember <kalevlember@gmail.com> - 2.4.5-1
689293
- Update to 2.4.5
689293
- Synced patches with Fedora native freetype 2.4.5-2
689293
- Spec cleanup
689293
- Enable automatic mingw dep extraction
689293
- Create -debuginfo subpackage
689293
689293
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.11-2
689293
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
689293
689293
* Tue Jan 12 2010 Richard W.M. Jones <rjones@redhat.com> - 2.3.11-1
689293
- New upstream version 2.3.11.
689293
- Match patches from Fedora native version.
689293
- Recheck package with rpmlint.
689293
689293
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.8-4
689293
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
689293
689293
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.8-3
689293
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
689293
689293
* Fri Feb 20 2009 Richard W.M. Jones <rjones@redhat.com> - 2.3.8-2
689293
- Rebuild for mingw32-gcc 4.4
689293
689293
* Fri Jan 16 2009 Richard W.M. Jones <rjones@redhat.com> - 2.3.8-1
689293
- New upstream version 2.3.8.
689293
- Use the patches from the Fedora native package.
689293
- Disable patented code.
689293
- Don't build the static library.
689293
- Use _smp_mflags.
689293
- BR mingw32-dlfcn (not required, but uses it if installed).
689293
- Add license file to doc section.
689293
689293
* Tue Jan 13 2009 Richard W.M. Jones <rjones@redhat.com> - 2.3.7-6
689293
- Requires pkgconfig.
689293
689293
* Wed Sep 24 2008 Richard W.M. Jones <rjones@redhat.com> - 2.3.7-5
689293
- Rename mingw -> mingw32.
689293
689293
* Mon Sep 22 2008 Daniel P. Berrange <berrange@redhat.com> - 2.3.7-4
689293
- Import patches from rawhide  & add docs
689293
689293
* Sun Sep 21 2008 Richard W.M. Jones <rjones@redhat.com> - 2.3.7-3
689293
- Depends on filesystem >= 25.
689293
689293
* Wed Sep 10 2008 Richard W.M. Jones <rjones@redhat.com> - 2.3.7-2
689293
- Fix source URL.
689293
- Remove static libraries.
689293
689293
* Tue Sep  9 2008 Daniel P. Berrange <berrange@redhat.com> - 2.3.7-1
689293
- Initial RPM release