[11036] | 1 | Name: SDL2_ttf |
---|
[12382] | 2 | Version: 2.0.15 |
---|
| 3 | Release: 1%{?_dist_release} |
---|
[11036] | 4 | Summary: TrueType font rendering library for SDL2 |
---|
[12382] | 5 | Vendor: Project Vine |
---|
| 6 | Distribution: Vine Linux |
---|
| 7 | Packager: iwaim |
---|
| 8 | |
---|
[11036] | 9 | License: zlib |
---|
| 10 | URL: https://www.libsdl.org/projects/SDL_ttf/ |
---|
| 11 | Source0: %{url}release/%{name}-%{version}.tar.gz |
---|
| 12 | BuildRequires: SDL2-devel |
---|
| 13 | BuildRequires: libGL-devel |
---|
[11037] | 14 | BuildRequires: freetype2-devel |
---|
[11036] | 15 | BuildRequires: zlib-devel |
---|
| 16 | |
---|
| 17 | %description |
---|
| 18 | This library allows you to use TrueType fonts to render text in SDL2 |
---|
| 19 | applications. |
---|
| 20 | |
---|
| 21 | %package devel |
---|
| 22 | Summary: Development files for %{name} |
---|
| 23 | Requires: %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} |
---|
| 24 | Requires: SDL2-devel%{?_isa} |
---|
| 25 | |
---|
| 26 | %description devel |
---|
| 27 | The %{name}-devel package contains libraries and header files for |
---|
| 28 | developing applications that use %{name}. |
---|
| 29 | |
---|
| 30 | %prep |
---|
| 31 | %autosetup |
---|
| 32 | rm -rf external |
---|
| 33 | # Fix end-of-line encoding |
---|
| 34 | sed -i 's/\r//' README.txt CHANGES.txt COPYING.txt |
---|
| 35 | |
---|
| 36 | %build |
---|
| 37 | %configure --disable-dependency-tracking --disable-static |
---|
| 38 | sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool |
---|
| 39 | %make_build |
---|
| 40 | |
---|
| 41 | %install |
---|
| 42 | %make_install |
---|
| 43 | find %{buildroot} -type f -name '*.la' -delete -print |
---|
| 44 | |
---|
| 45 | %post -p /sbin/ldconfig |
---|
| 46 | %postun -p /sbin/ldconfig |
---|
| 47 | |
---|
| 48 | %files |
---|
| 49 | %license COPYING.txt |
---|
| 50 | %doc README.txt CHANGES.txt |
---|
| 51 | %{_libdir}/lib*.so.* |
---|
| 52 | |
---|
| 53 | %files devel |
---|
| 54 | %{_libdir}/lib*.so |
---|
| 55 | %{_includedir}/SDL2/* |
---|
| 56 | %{_libdir}/pkgconfig/%{name}.pc |
---|
| 57 | |
---|
| 58 | %changelog |
---|
[12382] | 59 | * Fri Apr 17 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.0.15-1 |
---|
| 60 | - new upstream release. |
---|
| 61 | - renamed specfile. |
---|
| 62 | |
---|
[11037] | 63 | * Sun Apr 16 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 2.0.14-1 |
---|
| 64 | - initial build for Vine Linux |
---|
| 65 | |
---|
[11036] | 66 | * Tue Jul 12 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 2.0.14-2 |
---|
| 67 | - add libGL-devel to BRs |
---|
| 68 | |
---|
| 69 | * Tue Feb 2 2016 Tom Callaway <spot@fedoraproject.org> - 2.0.14-1 |
---|
| 70 | - update to 2.0.14 |
---|
| 71 | |
---|
| 72 | * Sun Jan 10 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 2.0.13-1 |
---|
| 73 | - Update to 2.0.13 (RHBZ #1296754) |
---|
| 74 | |
---|
| 75 | * Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.12-5 |
---|
| 76 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild |
---|
| 77 | |
---|
| 78 | * Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.12-4 |
---|
| 79 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild |
---|
| 80 | |
---|
| 81 | * Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.12-3 |
---|
| 82 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild |
---|
| 83 | |
---|
| 84 | * Thu Jan 2 2014 Tom Callaway <spot@fedoraproject.org> - 2.0.12-2 |
---|
| 85 | - delete external directory to drop bundles |
---|
| 86 | - do not own /usr/include/SDL2 |
---|
| 87 | - fix unused-direct-shlib-dependency |
---|
| 88 | |
---|
| 89 | * Mon Nov 25 2013 Tom Callaway <spot@fedoraproject.org> - 2.0.12-1 |
---|
| 90 | - initial package |
---|