]> git.pld-linux.org Git - packages/SDL_rtf.git/blob - SDL_rtf.spec
- tabs in preamble
[packages/SDL_rtf.git] / SDL_rtf.spec
1 Summary:        Simple DirectMedia Layer - RTF displaying
2 Summary(pl.UTF-8):      Biblioteka do wyświetlania dokumentów RTF pod SDL
3 Name:           SDL_rtf
4 Version:        0.1.0
5 Release:        1
6 License:        LGPL
7 Group:          Libraries
8 Source0:        http://www.libsdl.org/projects/SDL_rtf/release/%{name}-%{version}.tar.gz
9 # Source0-md5:  fe36733167b5c89f128414f32612121a
10 URL:            http://www.libsdl.org/projects/SDL_rtf/
11 BuildRequires:  SDL-devel >= 1.2.5-2
12 BuildRequires:  SDL_ttf-devel
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  libtool
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 This is a sample library which allows you to display Rich Text Format
20 (RTF) documents in your SDL applications. It comes with an example
21 program "showrtf" which displays an RTF file using an SDL_ttf font
22 engine.
23
24 %description -l pl.UTF-8
25 Przykładowa biblioteka do wyświetlania dokumentów RTF (Rich Text
26 Format) w aplikacjach SDL. Pakiet zawiera przykładowy program
27 "showrtf", wyświetlający plik RTF przy użyciu silnika fontów SDL_ttf.
28
29 %package devel
30 Summary:        Header files and more to develop SDL_rtf applications
31 Summary(pl.UTF-8):      Pliki nagłówkowe do rozwijania aplikacji używających SDL_rtf
32 Summary(pt_BR.UTF-8):   Cabeçalhos para desenvolver programas utilizando a %{name}
33 Group:          Development/Libraries
34 Requires:       %{name} = %{version}-%{release}
35 Requires:       SDL-devel >= 1.2.5-2
36
37 %description devel
38 Header files and more to develop SDL_rtf applications.
39
40 %description devel -l pl.UTF-8
41 Pliki nagłówkowe do rozwijania aplikacji używających SDL_rtf.
42
43 %description devel -l pt_BR.UTF-8
44 Este pacote contém os cabeçalhos que programadores vão precisar para
45 desenvolver aplicações utilizando a %{name}.
46
47 %package static
48 Summary:        Static SDL_rtf libraries
49 Summary(pl.UTF-8):      Biblioteki statyczne SDL_rtf
50 Summary(pt_BR.UTF-8):   Biblioteca estática para desenvolvimento utilizando a %{name}
51 Group:          Development/Libraries
52 Requires:       %{name}-devel = %{version}-%{release}
53
54 %description static
55 Static SDL_rtf libraries.
56
57 %description static -l pl.UTF-8
58 Biblioteki statyczne SDL_rtf.
59
60 %description static -l pt_BR.UTF-8
61 Este pacote contém a biblioteca estática que programadores vão
62 precisar para desenvolver aplicações linkados estaticamente com a
63 %{name}.
64
65 %prep
66 %setup -q
67
68 rm -f acinclude.m4
69
70 %build
71 %{__libtoolize}
72 %{__aclocal}
73 %{__autoconf}
74 %{__automake}
75 %configure
76 %{__make}
77
78 %install
79 rm -rf $RPM_BUILD_ROOT
80 install -d $RPM_BUILD_ROOT%{_bindir}
81
82 %{__make} install \
83         DESTDIR=$RPM_BUILD_ROOT
84
85 install .libs/showrtf $RPM_BUILD_ROOT%{_bindir}/showrtf
86
87 %clean
88 rm -rf $RPM_BUILD_ROOT
89
90 %post   -p /sbin/ldconfig
91 %postun -p /sbin/ldconfig
92
93 %files
94 %defattr(644,root,root,755)
95 %doc CHANGES README
96 %attr(755,root,root) %{_bindir}/*
97 %attr(755,root,root) %{_libdir}/lib*.so.*.*
98
99 %files devel
100 %defattr(644,root,root,755)
101 %attr(755,root,root) %{_libdir}/lib*.so
102 %{_libdir}/lib*.la
103 %{_includedir}/SDL/*
104
105 %files static
106 %defattr(644,root,root,755)
107 %{_libdir}/lib*.a
This page took 0.065273 seconds and 3 git commands to generate.