blob: dd78cf7c210448d8435ce8322451a990e2a8b37f (
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
|
Summary: System for layout and rendering of internationalized text
Name: pango
Version: @VERSION@
Release: 1
License: LGPL
Group: System Environment/Libraries
Source: http://www.pango.org/download/%{name}-%{version}.tar.gz
BuildRoot: /var/tmp/%{name}-%{version}-root
Requires: glib
BuildRequires: glib-devel
%description
System for layout and rendering of internationalized text.
%package devel
Summary: System for layout and rendering of internationalized text
Group: Development/Libraries
Requires: %{name} = %{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.
%prep
%setup
%build
CFLAGS="$RPM_OPT_FLAGS"
./configure --prefix=%{_prefix} \
--bindir=%{_bindir} --mandir=%{_mandir} \
--localstatedir=%{_localstatedir} --libdir=%{_libdir} \
--datadir=%{_datadir} --includedir=%{_includedir} \
--sysconfdir=%{_sysconfdir} --disable-gtk-doc
make
%install
rm -rf $RPM_BUILD_ROOT
make prefix=$RPM_BUILD_ROOT%{_prefix} bindir=$RPM_BUILD_ROOT%{_bindir} \
mandir=$RPM_BUILD_ROOT%{_mandir} libdir=$RPM_BUILD_ROOT%{_libdir} \
localstatedir=$RPM_BUILD_ROOT%{_localstatedir} \
datadir=$RPM_BUILD_ROOT%{_datadir} \
includedir=$RPM_BUILD_ROOT%{_includedir} \
sysconfdir=$RPM_BUILD_ROOT%{_sysconfdir} install
%clean
rm -rf $RPM_BUILD_ROOT
%post
/sbin/ldconfig
%{_bindir}/pango-querymodules > %{_sysconfdir}/pango/pango.modules
%postun -p /sbin/ldconfig
%files
%doc README AUTHORS COPYING ChangeLog TODO
%doc examples/HELLO.utf8
%{_libdir}/libpango*-*.so
%{_bindir}/pango-*
%{_libdir}/pango
%config %{_sysconfdir}/pango/pangox.aliases
%files devel
%defattr(-, root, root)
%{_libdir}/libpango*.so
%{_libdir}/*a
%{_libdir}/pkgconfig/*.pc
%{_includedir}/pango-1.0
%{_datadir}/gtk-doc/html/pango
%changelog
* Wed Aug 16 2001 Jens Finke <jens@gnome.org>
- Updated spec file to match GPP standard:
- Removed %define for prefix
- Use License instead of Copyright
- Added Requires: for glib.
- Use rpm macros in the %files section
- added pkgconfig dir to devel package
- other minor clean ups
* Fri Feb 11 2000 Owen Taylor <otaylor@redhat.com>
- Created spec file
|