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