source: trunk/third/pango/pango.spec @ 18782

Revision 18782, 2.5 KB checked in by ghudson, 22 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r18781, which included commits to RCS files with non-trunk default branches.
Line 
1%define glib2_base_version 2.0.0
2%define glib2_version %{glib2_base_version}-1
3%define pkgconfig_version 0.12
4%define freetype_version 2.1.2-2
5%define fontconfig_version 0.0.1.020626.1517-2
6%define xft_version 1.9.1.020626.1517-1
7
8Summary: System for layout and rendering of internationalized text.
9Name: pango
10Version: 1.2.1
11Release: 1
12License: LGPL
13Group: System Environment/Libraries
14Source: ftp://ftp.gtk.org/pub/gtk/v2.1/pango-%{version}.tar.bz2
15URL: http://www.pango.org
16BuildRoot: %{_tmppath}/pango-%{PACKAGE_VERSION}-root
17
18# We need to prereq this so we can run pango-querymodules
19Prereq: glib2 >= %{glib2_version}
20BuildRequires: libtool >= 1.4.2-10
21BuildRequires: glib2-devel >= %{glib2_version}
22BuildRequires: pkgconfig >= %{pkgconfig_version}
23BuildRequires: freetype-devel >= %{freetype_version}
24BuildRequires: fontconfig-devel >= %{fontconfig_version}
25BuildRequires: Xft-devel >= %{xft_version}
26BuildRequires: XFree86-devel >= 4.0.2
27Obsoletes: pango-gtkbeta, fribidi-gtkbeta
28
29%description
30Pango is a system for layout and rendering of internationalized text.
31
32
33%package devel
34Summary: System for layout and rendering of internationalized text.
35Group: Development/Libraries
36Requires: pango = %{PACKAGE_VERSION}
37Requires: XFree86-devel
38Requires: glib2-devel >= %{glib2_version}
39Requires: freetype-devel >= %{freetype_version}
40Requires: fontconfig-devel >= %{fontconfig_version}
41Requires: Xft-devel >= %{xft_version}
42Obsoletes: fribidi-gtkbeta-devel, pango-gtkbeta-devel
43
44%description devel
45The pango-devel package includes the static libraries, header files,
46and developer docs for the pango package.
47
48Install pango-devel if you want to develop programs which will use
49pango.
50
51%prep
52%setup -q -n pango-%{version}
53
54%build
55
56%configure --without-qt --disable-gtk-doc
57make
58
59%install
60rm -rf $RPM_BUILD_ROOT
61
62%makeinstall
63rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la
64%clean
65rm -rf $RPM_BUILD_ROOT
66
67%post
68/sbin/ldconfig
69%{_prefix}/bin/pango-querymodules > /etc/pango/pango.modules
70
71%postun -p /sbin/ldconfig
72
73%files
74%defattr(-, root, root)
75%doc README AUTHORS COPYING ChangeLog TODO
76%doc examples/HELLO.utf8
77%{_prefix}/lib/libpango*-*.so.*
78%{_prefix}/bin/pango-querymodules
79%{_prefix}/lib/pango
80%config /etc/pango/pangox.aliases
81%ghost /etc/pango/pango.modules
82
83
84%files devel
85%defattr(-, root, root)
86%{_prefix}/lib/libpango*.so
87%{_prefix}/include/*
88%{_prefix}/lib/pkgconfig/*
89%{_prefix}/share/gtk-doc/*
90
91
92%changelog
93* Mon Nov 04 2002 Christian Schaller <Uraeus@linuxrising.org>
94- Update for use in CVS package
95
96* Fri Feb 11 2000 Owen Taylor <otaylor@redhat.com>
97- Created spec file
Note: See TracBrowser for help on using the repository browser.