]> git.pld-linux.org Git - packages/SDL_ttf.git/blob - SDL_ttf.spec
ba52d26902198214f54968124ab28b82750387f1
[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.5
5 Release:        1
6 License:        LGPL
7 Group:          Libraries
8 Source0:        http://www.libsdl.org/projects/SDL_ttf/release/%{name}-%{version}.tar.gz
9 URL:            http://www.libsdl.org/projects/SDL_ttf/
10 BuildRequires:  SDL-devel >= 1.2.3
11 BuildRequires:  XFree86-devel
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  freetype-devel >= 2.0.0
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 "sdlfont"
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 Pakiet zawiera przyk³adowy program "sdlfont", wy¶wietlaj±cy
27 przyk³adowy ci±g znaków zadanym fontem TrueType.
28
29 %package devel
30 Summary:        Header files and more to develop SDL_ttf applications
31 Summary(pl):    Pliki na³ówkowe do rozwijania aplikacji u¿ywaj±cych SDL_ttf
32 Group:          Development/Libraries
33 Requires:       %{name} = %{version}
34 Requires:       SDL-devel
35
36 %description devel
37 Header files and more to develop SDL_ttf applications.
38
39 %description devel -l pl
40 Pliki nag³ówkowe do rozwijania aplikacji u¿ywaj±cych SDL_ttf.
41
42 %package static
43 Summary:        Static SDL_ttf libraries
44 Summary(pl):    Biblioteki statyczne SDL_ttf
45 Group:          Development/Libraries
46 Requires:       %{name}-devel = %{version}
47
48 %description static
49 Static SDL_ttf libraries.
50
51 %description static -l pl
52 Biblioteki statyczne SDL_ttf.
53
54 %prep
55 %setup -q
56
57 %build
58 rm -f missing
59 aclocal
60 autoconf
61 automake -a -c -f
62 %configure
63 %{__make}
64
65 %install
66 rm -rf $RPM_BUILD_ROOT
67
68 %{__make} install DESTDIR=$RPM_BUILD_ROOT
69
70 mv -f $RPM_BUILD_ROOT%{_bindir}/showfont $RPM_BUILD_ROOT%{_bindir}/sdlfont
71
72 gzip -9nf README CHANGES
73
74 %clean
75 rm -rf $RPM_BUILD_ROOT
76
77 %post   -p /sbin/ldconfig
78 %postun -p /sbin/ldconfig
79
80 %files
81 %defattr(644,root,root,755)
82 %attr(755,root,root) %{_bindir}/*
83 %attr(755,root,root) %{_libdir}/lib*.so.*.*
84
85 %files devel
86 %defattr(644,root,root,755)
87 %doc {README,CHANGES}.gz
88 %{_includedir}/SDL/*
89 %attr(755,root,root) %{_libdir}/lib*.so
90 %attr(755,root,root) %{_libdir}/lib*.la
91
92 %files static
93 %defattr(644,root,root,755)
94 %{_libdir}/lib*.a
This page took 0.057148 seconds and 3 git commands to generate.