]>
Commit | Line | Data |
---|---|---|
1 | Summary: Pango engine to SDL | |
2 | Summary(pl.UTF-8): Silnik Pango dla SDL | |
3 | Name: SDL_Pango | |
4 | Version: 0.1.2 | |
5 | Release: 4 | |
6 | License: LGPL | |
7 | Group: Libraries | |
8 | Source0: http://dl.sourceforge.net/sdlpango/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: 85bbf9bb7b1cee0538154dadd045418c | |
10 | Patch0: %{name}-am.patch | |
11 | Patch1: %{name}-0.1.2-API-adds.patch | |
12 | URL: http://sdlpango.sourceforge.net/ | |
13 | BuildRequires: SDL-devel >= 1.2.0 | |
14 | BuildRequires: autoconf >= 2.59-9 | |
15 | BuildRequires: automake | |
16 | BuildRequires: libtool | |
17 | BuildRequires: pango-devel | |
18 | BuildRequires: pkgconfig >= 1:0.9.0 | |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
20 | ||
21 | %description | |
22 | Pango engine to SDL. | |
23 | ||
24 | %description -l pl.UTF-8 | |
25 | Silnik Pango dla SDL. | |
26 | ||
27 | %package devel | |
28 | Summary: Header files and more to develop SDL_Pango applications | |
29 | Summary(pl.UTF-8): Pliki nagłówkowe do rozwijania aplikacji używających SDL_Pango | |
30 | Group: Development/Libraries | |
31 | Requires: %{name} = %{version}-%{release} | |
32 | Requires: SDL-devel | |
33 | ||
34 | %description devel | |
35 | Header files and more to develop SDL_Pango applications. | |
36 | ||
37 | %description devel -l pl.UTF-8 | |
38 | Pliki nagłówkowe do rozwijania aplikacji używających SDL_Pango. | |
39 | ||
40 | %package static | |
41 | Summary: Static SDL_Pango libraries | |
42 | Summary(pl.UTF-8): Statyczne biblioteki SDL_Pango | |
43 | Group: Development/Libraries | |
44 | Requires: %{name}-devel = %{version}-%{release} | |
45 | ||
46 | %description static | |
47 | Static SDL_Pango libraries. | |
48 | ||
49 | %description static -l pl.UTF-8 | |
50 | Statyczne biblioteki SDL_Pango. | |
51 | ||
52 | %prep | |
53 | %setup -q | |
54 | %patch0 -p1 | |
55 | %patch1 -p0 | |
56 | ||
57 | %build | |
58 | rm -f acinclude.m4 | |
59 | %{__libtoolize} | |
60 | %{__aclocal} | |
61 | %{__autoconf} | |
62 | %{__automake} | |
63 | ||
64 | %configure | |
65 | %{__make} | |
66 | ||
67 | %install | |
68 | rm -rf $RPM_BUILD_ROOT | |
69 | ||
70 | %{__make} install \ | |
71 | DESTDIR=$RPM_BUILD_ROOT | |
72 | ||
73 | %clean | |
74 | rm -rf $RPM_BUILD_ROOT | |
75 | ||
76 | %post -p /sbin/ldconfig | |
77 | %postun -p /sbin/ldconfig | |
78 | ||
79 | %files | |
80 | %defattr(644,root,root,755) | |
81 | %doc README AUTHORS ChangeLog | |
82 | %attr(755,root,root) %{_libdir}/lib*.so.*.* | |
83 | %attr(755,root,root) %ghost %{_libdir}/lib*.so.? | |
84 | ||
85 | %files devel | |
86 | %defattr(644,root,root,755) | |
87 | %attr(755,root,root) %{_libdir}/lib*.so | |
88 | %{_libdir}/lib*.la | |
89 | %{_includedir}/SDL/* | |
90 | %{_pkgconfigdir}/SDL_Pango.pc | |
91 | ||
92 | %files static | |
93 | %defattr(644,root,root,755) | |
94 | %{_libdir}/lib*.a |