]> git.pld-linux.org Git - packages/SDL_ttf.git/blob - SDL_ttf.spec
- updated to 2.0.4 (use freetype2)
[packages/SDL_ttf.git] / SDL_ttf.spec
1 Summary:        Simple DirectMedia Layer - ttf handling
2 Summary(pl):    Biblioteka obs³ugi fontów TTF
3 Name:           SDL_ttf
4 Version:        2.0.4
5 Release:        1
6 License:        LGPL
7 Group:          Libraries
8 Source0:        http://www.libsdl.org/projects/SDL_ttf/src/%{name}-%{version}.tar.gz
9 URL:            http://www.libsdl.org/projects/SDL_ttf/
10 BuildRequires:  XFree86-devel
11 BuildRequires:  SDL-devel >= 1.2.3
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  freetype-devel
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %define         _prefix         /usr/X11R6
18
19 %description
20 This is a sample library which allows you to use TrueType fonts in
21 your SDL applications. It comes with an example program "showfont"
22 which displays an example string for a given TrueType font file.
23
24 %description -l pl
25 Przyk³adowa biblioteka do obs³ugi fontów TrueType w aplikacjach SDL.
26
27 %package devel
28 Summary:        Header files and more to develop SDL_ttf applications
29 Summary(pl):    Pliki na³ówkowe do rozwijania aplikacji u¿ywaj±cych SDL_ttf
30 Group:          Development/Libraries
31 Requires:       %{name} = %{version}
32 Requires:       SDL-devel
33
34 %description devel
35 Header files and more to develop SDL_ttf applications.
36
37 %description -l pl devel
38 Pliki na³ówkowe do rozwijania aplikacji u¿ywaj±cych SDL_ttf.
39
40 %package static
41 Summary:        Static SDL_ttf libraries
42 Summary(pl):    Biblioteki statyczne SDL_ttf
43 Group:          Development/Libraries
44 Requires:       %{name}-devel = %{version}
45
46 %description static
47 Statis SDL_ttf libraries.
48
49 %description -l pl static
50 Biblioteki statyczne SDL_ttf.
51
52 %prep
53 %setup -q
54
55 %build
56 rm -f missing
57 aclocal
58 autoconf
59 automake -a -c
60 %configure
61 %{__make}
62
63 %install
64 rm -rf $RPM_BUILD_ROOT
65
66 %{__make} install DESTDIR=$RPM_BUILD_ROOT
67
68 mv -f $RPM_BUILD_ROOT%{_bindir}/showfont $RPM_BUILD_ROOT%{_bindir}/sdlfont
69
70 gzip -9nf README CHANGES
71
72 %clean
73 rm -rf $RPM_BUILD_ROOT
74
75 %post   -p /sbin/ldconfig
76 %postun -p /sbin/ldconfig
77
78 %files
79 %defattr(644,root,root,755)
80 %attr(755,root,root) %{_bindir}/*
81 %attr(755,root,root) %{_libdir}/lib*.so.*.*
82
83 %files devel
84 %defattr(644,root,root,755)
85 %doc *.gz
86 %{_includedir}/SDL/*
87 %attr(755,root,root) %{_libdir}/lib*.so
88 %attr(755,root,root) %{_libdir}/lib*.la
89
90 %files static
91 %defattr(644,root,root,755)
92 %{_libdir}/lib*.a
This page took 0.062325 seconds and 3 git commands to generate.