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