/[packages]/cauldron/SDL_Pango/current/SPECS/SDL_Pango.spec
ViewVC logotype

Contents of /cauldron/SDL_Pango/current/SPECS/SDL_Pango.spec

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC 1.1.30