source: projects/specs/trunk/S/SDL2_ttf/SDL2_ttf.spec @ 11037

Revision 11037, 2.4 KB checked in by iwaim, 7 years ago (diff)

SDL2_ttf 2.0.14-1

Line 
1%define ver 2.0.14
2%define rel 1
3
4Name:           SDL2_ttf
5Version:        %{ver}
6Release:        %{rel}%{?_dist_release}
7Summary:        TrueType font rendering library for SDL2
8License:        zlib
9URL:            https://www.libsdl.org/projects/SDL_ttf/
10Source0:        %{url}release/%{name}-%{version}.tar.gz
11BuildRequires:  SDL2-devel
12BuildRequires:  libGL-devel
13BuildRequires:  freetype2-devel
14BuildRequires:  zlib-devel
15
16Vendor: Project Vine
17Distribution: Vine Linux
18Packager: iwaim
19
20%description
21This library allows you to use TrueType fonts to render text in SDL2
22applications.
23
24%package devel
25Summary:        Development files for %{name}
26Requires:       %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
27Requires:       SDL2-devel%{?_isa}
28
29%description devel
30The %{name}-devel package contains libraries and header files for
31developing applications that use %{name}.
32
33%prep
34%autosetup
35rm -rf external
36# Fix end-of-line encoding
37sed -i 's/\r//' README.txt CHANGES.txt COPYING.txt
38
39%build
40%configure --disable-dependency-tracking --disable-static
41sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
42%make_build
43
44%install
45%make_install
46find %{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
Note: See TracBrowser for help on using the repository browser.