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