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