]>
Commit | Line | Data |
---|---|---|
a6b89e6e | 1 | %define prefix /usr |
2 | ||
3 | Summary: System for layout and rendering of internationalized text | |
4 | Name: pango | |
5 | Version: 0.9 | |
6 | Release: 1 | |
7 | Copyright: LGPL | |
8 | Group: System Environment/Libraries | |
9 | Source: http://www.pango.org/download/pango-%{version}.tar.gz | |
10 | BuildRoot: /var/tmp/pango-%{PACKAGE_VERSION}-root | |
11 | ||
12 | %description | |
13 | System for layout and rendering of internationalized text. | |
14 | ||
15 | %package devel | |
16 | Summary: System for layout and rendering of internationalized text | |
17 | Group: Development/Libraries | |
18 | Requires: pango = %{PACKAGE_VERSION} | |
19 | Requires: libunicode-devel | |
20 | Requires: fribidi-devel | |
21 | Requires: XFree86-devel | |
22 | ||
23 | %description devel | |
24 | The pango-devel package includes the static libraries and header files | |
25 | for the pango package. | |
26 | ||
27 | Install pango-devel if you want to develop programs which will use | |
28 | pango. | |
29 | ||
30 | %changelog | |
31 | * Fri Feb 11 2000 Owen Taylor <otaylor@redhat.com> | |
32 | - Created spec file | |
33 | ||
34 | %prep | |
35 | %setup | |
36 | ||
37 | %build | |
38 | CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix} --sysconfdir=/etc --localstatedir=/var | |
39 | ||
40 | %install | |
41 | rm -rf $RPM_BUILD_ROOT | |
42 | mkdir -p $RPM_BUILD_ROOT%{prefix} | |
43 | ||
44 | make install DESTDIR=$RPM_BUILD_ROOT | |
45 | ||
46 | %clean | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | ||
49 | %post | |
50 | /sbin/ldconfig | |
51 | if ! test -d /var/lib/pango ; then | |
52 | mkdir -p /var/lib/pango/ | |
53 | fi | |
54 | /usr/bin/pango-querymodules /usr/lib/pango/modules/*.so > /var/lib/pango/pango.modules | |
55 | ||
56 | %postun -p /sbin/ldconfig | |
57 | ||
58 | %files | |
59 | %doc README AUTHORS COPYING ChangeLog TODO | |
60 | %doc examples/HELLO.utf8 | |
61 | %{prefix}/lib/libpango*-*.so | |
62 | %{prefix}/bin/pango-querymodules | |
63 | %{prefix}/bin/pango-viewer | |
64 | %{prefix}/lib/pango/modules/* | |
65 | %config /etc/pango/pangox_aliases | |
66 | ||
67 | %files devel | |
68 | %defattr(-, root, root) | |
69 | %{prefix}/lib/libpango*.so | |
70 | %{prefix}/bin/pango-config | |
71 | %{prefix}/lib/libpango*.a | |
72 | %{prefix}/include/* |