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