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