1 |
%define major 1 |
2 |
%define libname %mklibname %{name} %{major} |
3 |
%define develname %mklibname %{name} -d |
4 |
|
5 |
Summary: Simple DirectMedia Layer for pango |
6 |
Name: SDL_Pango |
7 |
Version: 0.1.2 |
8 |
Release: %mkrel 14 |
9 |
License: LGPLv2+ |
10 |
Group: System/Libraries |
11 |
URL: http://sdlpango.sourceforge.net/ |
12 |
Source0: http://puzzle.dl.sourceforge.net/sourceforge/sdlpango/%{name}-%{version}.tar.bz2 |
13 |
Patch0: SDL_Pango-0.1.2-API-adds.patch |
14 |
BuildRequires: SDL-devel >= 1.2.4 |
15 |
BuildRequires: pkgconfig(pango) >= 1.2.0 |
16 |
BuildRequires: pkgconfig(pangoft2) >= 1.2.0 |
17 |
|
18 |
%description |
19 |
Pango is the text rendering engine of GNOME 2. |
20 |
SDL_Pango connects the engine to SDL. |
21 |
|
22 |
%package -n %{libname} |
23 |
Summary: Main library for %{name} |
24 |
Group: System/Libraries |
25 |
Provides: %{name} |
26 |
Obsoletes: %{name} |
27 |
|
28 |
%description -n %{libname} |
29 |
This package contains the library needed to run programs dynamically |
30 |
linked with %{name}. |
31 |
|
32 |
%package -n %{develname} |
33 |
Summary: Headers for developing programs that will use %{name} |
34 |
Group: Development/C |
35 |
Requires: %{libname} = %{version}-%{release} |
36 |
Provides: lib%{name}-devel = %{version}-%{release} |
37 |
Provides: %{name}-devel = %{version}-%{release} |
38 |
Obsoletes: %{_lib}SDL_Pango1-devel < 0.1.2-4 |
39 |
|
40 |
%description -n %{develname} |
41 |
This package contains the headers that programmers will need to develop |
42 |
applications which will use %{name}. |
43 |
|
44 |
%prep |
45 |
%setup -q |
46 |
%patch0 -p0 |
47 |
|
48 |
%build |
49 |
autoreconf -fi |
50 |
%configure2_5x --disable-static |
51 |
%make |
52 |
|
53 |
%install |
54 |
%makeinstall_std |
55 |
|
56 |
rm -f %buildroot%_libdir/*.la |
57 |
|
58 |
%files -n %{libname} |
59 |
%{_libdir}/lib*.so.%{major}* |
60 |
|
61 |
%files -n %{develname} |
62 |
%doc README |
63 |
%{_libdir}/lib*.so |
64 |
%{_libdir}/pkgconfig/* |
65 |
%{_includedir}/* |