|
|
87970fb |
%?mingw_package_header
|
|
|
87970fb |
|
|
|
87970fb |
Name: mingw-SDL2_ttf
|
|
|
3df1871 |
License: Zlib
|
|
|
3bc842a |
|
|
|
7226dcc |
Version: 2.22.0
|
|
|
7226dcc |
Release: 1%{?dist}
|
|
|
87970fb |
|
|
|
87970fb |
%global pkg_summary MinGW Windows port of the TrueType font handling library for SDL2
|
|
|
87970fb |
Summary: %{pkg_summary}
|
|
|
87970fb |
|
|
|
87970fb |
URL: https://www.libSDL.org/projects/SDL_ttf/
|
|
|
87970fb |
Source0: %{URL}release/SDL2_ttf-%{version}.tar.gz
|
|
|
87970fb |
|
|
|
3407fbb |
# By default, some example programs are also built - we want only the library.
|
|
|
3bc842a |
Patch0: 0000-disable-building-example-programs.patch
|
|
|
3bc842a |
|
|
|
87970fb |
BuildArch: noarch
|
|
|
87970fb |
|
|
|
3407fbb |
BuildRequires: autoconf
|
|
|
3bc842a |
BuildRequires: automake
|
|
|
3bc842a |
BuildRequires: make
|
|
|
3bc842a |
|
|
|
87970fb |
BuildRequires: mingw32-filesystem >= 95
|
|
|
87970fb |
BuildRequires: mingw32-freetype
|
|
|
87970fb |
BuildRequires: mingw32-gcc
|
|
|
3407fbb |
BuildRequires: mingw32-harfbuzz
|
|
|
87970fb |
BuildRequires: mingw32-SDL2
|
|
|
87970fb |
|
|
|
87970fb |
BuildRequires: mingw64-filesystem >= 95
|
|
|
87970fb |
BuildRequires: mingw64-freetype
|
|
|
87970fb |
BuildRequires: mingw64-gcc
|
|
|
3407fbb |
BuildRequires: mingw64-harfbuzz
|
|
|
87970fb |
BuildRequires: mingw64-SDL2
|
|
|
87970fb |
|
|
|
87970fb |
|
|
|
87970fb |
%global pkg_description Simple DirectMedia Layer (SDL2) is a cross-platform multimedia library \
|
|
|
87970fb |
designed to provide fast access to the graphics frame buffer and audio device. \
|
|
|
87970fb |
This package contains a library that allows you to use TrueType fonts \
|
|
|
87970fb |
to render text in SDL2 applications.
|
|
|
87970fb |
|
|
|
87970fb |
%description
|
|
|
87970fb |
%{pkg_description}
|
|
|
87970fb |
|
|
|
87970fb |
|
|
|
87970fb |
# Win32
|
|
|
87970fb |
%package -n mingw32-SDL2_ttf
|
|
|
87970fb |
Summary: %{pkg_summary}
|
|
|
87970fb |
|
|
|
87970fb |
%description -n mingw32-SDL2_ttf
|
|
|
87970fb |
%{pkg_description}
|
|
|
87970fb |
|
|
|
87970fb |
|
|
|
87970fb |
# Win64
|
|
|
87970fb |
%package -n mingw64-SDL2_ttf
|
|
|
87970fb |
Summary: %{pkg_summary}
|
|
|
87970fb |
|
|
|
87970fb |
%description -n mingw64-SDL2_ttf
|
|
|
87970fb |
%{pkg_description}
|
|
|
87970fb |
|
|
|
87970fb |
|
|
|
87970fb |
%?mingw_debug_package
|
|
|
87970fb |
|
|
|
87970fb |
|
|
|
87970fb |
%prep
|
|
|
3df1871 |
%autosetup -n SDL2_ttf-%{version} -p1
|
|
|
87970fb |
|
|
|
87970fb |
|
|
|
87970fb |
%build
|
|
|
3407fbb |
./autogen.sh
|
|
|
87970fb |
%mingw_configure \
|
|
|
3bc842a |
--disable-static \
|
|
|
3bc842a |
--disable-dependency-tracking \
|
|
|
3407fbb |
--enable-freetype-builtin=no \
|
|
|
3407fbb |
--enable-harfbuzz-builtin=no \
|
|
|
40560d3 |
--enable-harfbuzz=yes \
|
|
|
87970fb |
|
|
|
3bc842a |
%mingw_make_build
|
|
|
87970fb |
|
|
|
87970fb |
|
|
|
87970fb |
%install
|
|
|
3bc842a |
%mingw_make_install
|
|
|
87970fb |
|
|
|
87970fb |
# Drop all .la files
|
|
|
87970fb |
find %{buildroot} -name "*.la" -delete
|
|
|
87970fb |
|
|
|
87970fb |
# Convert CRLF line endings to LF
|
|
|
40560d3 |
sed -i 's/\r$//' README.txt CHANGES.txt LICENSE.txt
|
|
|
87970fb |
|
|
|
3bc842a |
|
|
|
87970fb |
# Win32
|
|
|
87970fb |
%files -n mingw32-SDL2_ttf
|
|
|
87970fb |
%doc CHANGES.txt README.txt
|
|
|
40560d3 |
%license LICENSE.txt
|
|
|
87970fb |
%{mingw32_bindir}/SDL2_ttf.dll
|
|
|
87970fb |
%{mingw32_libdir}/libSDL2_ttf.dll.a
|
|
|
40560d3 |
%{mingw32_libdir}/cmake/SDL2_ttf/
|
|
|
87970fb |
%{mingw32_libdir}/pkgconfig/SDL2_ttf.pc
|
|
|
87970fb |
%{mingw32_includedir}/SDL2
|
|
|
87970fb |
|
|
|
87970fb |
# Win64
|
|
|
87970fb |
%files -n mingw64-SDL2_ttf
|
|
|
87970fb |
%doc CHANGES.txt README.txt
|
|
|
40560d3 |
%license LICENSE.txt
|
|
|
87970fb |
%{mingw64_bindir}/SDL2_ttf.dll
|
|
|
87970fb |
%{mingw64_libdir}/libSDL2_ttf.dll.a
|
|
|
40560d3 |
%{mingw64_libdir}/cmake/SDL2_ttf/
|
|
|
87970fb |
%{mingw64_libdir}/pkgconfig/SDL2_ttf.pc
|
|
|
87970fb |
%{mingw64_includedir}/SDL2
|
|
|
87970fb |
|
|
|
87970fb |
|
|
|
87970fb |
%changelog
|
|
|
7226dcc |
* Tue Feb 06 2024 Artur Frenszek-Iwicki <fedora@svgames.pl> - 2.22.0-1
|
|
|
7226dcc |
- Update to v2.22.0
|
|
|
7226dcc |
|
|
|
6c4387a |
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.20.2-4
|
|
|
6c4387a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
6c4387a |
|
|
|
ce5e835 |
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.20.2-3
|
|
|
ce5e835 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
ce5e835 |
|
|
|
425338f |
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.20.2-2
|
|
|
425338f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
425338f |
|
|
|
3df1871 |
* Tue Apr 18 2023 Artur Frenszek-Iwicki <fedora@svgames.pl> - 2.20.2-1
|
|
|
3df1871 |
- Update to v2.20.2
|
|
|
3df1871 |
- Convert License tag to SPDX
|
|
|
3df1871 |
|
|
|
281e77b |
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.20.1-2
|
|
|
281e77b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
281e77b |
|
|
|
40560d3 |
* Tue Oct 11 2022 Artur Frenszek-Iwicki <fedora@svgames.pl> - 2.20.1-1
|
|
|
40560d3 |
- Update to v2.20.1
|
|
|
40560d3 |
- Drop Patch1 (fix faulty Harfbuzz check - no longer needed, issue fixed upstream)
|
|
|
40560d3 |
- Drop Patch2 (fix for CVE-2022-27470 - included in this release)
|
|
|
40560d3 |
|
|
|
da41d54 |
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.18-4
|
|
|
da41d54 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
da41d54 |
|
|
|
149c78a |
* Wed May 04 2022 Artur Frenszek-Iwicki <fedora@svgames.pl> - 2.0.18-3
|
|
|
149c78a |
- Add a patch for CVE-2022-27470
|
|
|
149c78a |
|
|
|
82f0dd2 |
* Fri Mar 25 2022 Sandro Mani <manisandro@gmail.com> - 2.0.18-2
|
|
|
82f0dd2 |
- Rebuild with mingw-gcc-12
|
|
|
82f0dd2 |
|
|
|
3bc842a |
* Thu Feb 10 2022 Artur Frenszek-Iwicki <fedora@svgames.pl> - 2.0.18-1
|
|
|
3bc842a |
- Update to v2.0.18
|
|
|
3bc842a |
|
|
|
cc56572 |
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.15-8
|
|
|
cc56572 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
cc56572 |
|
|
|
63a2aa2 |
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.15-7
|
|
|
63a2aa2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
63a2aa2 |
|
|
|
5a012ef |
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.15-6
|
|
|
5a012ef |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
5a012ef |
|
|
|
349ba05 |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.15-5
|
|
|
349ba05 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
349ba05 |
|
|
|
ce35ad3 |
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.15-4
|
|
|
ce35ad3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
ce35ad3 |
|
|
|
9a6661a |
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.15-3
|
|
|
9a6661a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
9a6661a |
|
|
|
87970fb |
* Sun Jul 07 2019 Artur Iwicki <fedora@svgames.pl> - 2.0.15-2
|
|
|
87970fb |
- Fix wrong License: tag (was "LGPLv2+", should be "zlib")
|
|
|
87970fb |
- Fix COPYING.txt being marked as %%doc instead of %%license
|
|
|
87970fb |
- Fix package description containing a leading newline
|
|
|
87970fb |
|
|
|
87970fb |
* Wed Jul 03 2019 Artur Iwicki <fedora@svgames.pl> - 2.0.15-1
|
|
|
87970fb |
- Initial packaging
|